What is the most efficient way to flatten a 2D tensor which is actually a horizontal or vertical vector into a 1D tensor? What is the most efficient way to flatten a 2D
What is the most efficient way to flatten a 2D tensor which is actually a horizontal or vertical vector into a 1D tensor? What is the most efficient way to flatten a 2D