Method canReshape
val canReshape: int64 list -> TensorLayout -> bool
Returns true if a can be reshaped into shp without copying. The number of elements must not change.
Declaration
val canReshape: shp:int64 list -> a:TensorLayout -> bool
Parameters
Type | Name | Description |
---|---|---|
int64 list | shp | |
TensorLayout | a |
Returns
Type | Description |
---|---|
bool |