43. Flatten a Tensor

Easy

Flatten the tensor X into a 1-D tensor containing all of its elements in row-major order.

Sign in to write and run your own code.

Implement solve(...)