Tensor Shape.Can Broadcast To Method
Returns whether a shape is entirely contained within another shape.
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
true if all dimensions of this shape are either equal to the corresponding dimension of other, or equal to one; otherwise false.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public bool CanBroadcastTo(
TensorShape other
)
Parameters
- other TensorShape
- The shape to compare against.
Return Value
Booleantrue if all dimensions of this shape are either equal to the corresponding dimension of other, or equal to one; otherwise false.