Method broadcastTo
val broadcastTo: int64 list -> ITensor -> ITensor
Broadcasts the specified tensor to the specified shape.
Declaration
val broadcastTo: 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 | Tensor of shape |