TensorShape.CanBroadcastTo 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.0
C#
public bool CanBroadcastTo(
	TensorShape other
)

Parameters

other  TensorShape
The shape to compare against.

Return Value

Boolean
true if all dimensions of this shape are either equal to the corresponding dimension of other, or equal to one; otherwise false.

See Also