Method reshapeView
val reshapeView: int64 list -> ITensor -> ITensor
Creates a reshaped view of the tensor (without copying).
Declaration
val reshapeView: shp:int64 list -> a:ITensor -> ITensor
Parameters
Type | Name | Description |
---|---|---|
int64 list | shp | The target shape. |
ITensor | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
ITensor | A reshaped view of the original tensor. |