Expand description
Auxiliary function for reshaping a tensor.
Functionsยง
- layout_
reshapeable - Check if a tensor can be reshaped to a new shape without explicitly copying underlying data.
- reshape_
substitute_ negatives - Check
-1in shape and substitute it with the correct value.