Tensor Shape.Can Broadcast From Method
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
Overload List
Can | Gets whether this shape can be broadcast into from another shape. |
Can | Gets whether this shape can be broadcast into another shape. |
CanBroadcastFrom(TensorShape)
Gets whether this shape can be broadcast into
from another shape.
public bool CanBroadcastFrom(
TensorShape source
)
Parameters
- source TensorShape
- The shape to broadcast from.
Return Value
Booleantrue if source can be broadcast into this shape; otherwise false.
CanBroadcastFrom(TensorShape, TensorShape)
Gets whether this shape can be broadcast into
another shape.
public bool CanBroadcastFrom(
TensorShape source1,
TensorShape source2
)
Parameters
- source1 TensorShape
- The first shape to broadcast from.
- source2 TensorShape
- The second shape to broadcast from.
Return Value
Booleantrue if source1 and source2 can be jointly broadcast into this shape; otherwise false.