Method isBroadcasted
static member isBroadcasted: Tensor<'T> -> bool
Checks if the specified tensor is broadcasted in at least one dimension.
Declaration
static member isBroadcasted: a:Tensor<'T> -> bool
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
bool | true if at least one dimension is broadcasted, otherwise false. |
Remarks
If any stride is zero, it is assumed that the tensor is broadcasted. If this is the case, changing an element of the tensor may change other elements as well.