Method padToSame
val padToSame: ITensor list -> ITensor list
Pads all specified tensors from the left with dimensions of size one until they have the same dimensionality.
Declaration
val padToSame: xs:ITensor list -> ITensor list
Parameters
Type | Name | Description |
---|---|---|
ITensor list | xs | A list of tensors to operate on. |
Returns
Type | Description |
---|---|
ITensor list | A list of the resulting tensors, all having the same dimensionality. |