TensorShape.CanBroadcastFrom Method

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3

Overload List

CanBroadcastFrom(TensorShape) Gets whether this shape can be broadcast into from another shape.
CanBroadcastFrom(TensorShape, TensorShape) Gets whether this shape can be broadcast into another shape.

CanBroadcastFrom(TensorShape)

Gets whether this shape can be broadcast into from another shape.
C#
public bool CanBroadcastFrom(
	TensorShape source
)

Parameters

source  TensorShape
The shape to broadcast from.

Return Value

Boolean
true if source can be broadcast into this shape; otherwise false.

CanBroadcastFrom(TensorShape, TensorShape)

Gets whether this shape can be broadcast into another shape.
C#
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

Boolean
true if source1 and source2 can be jointly broadcast into this shape; otherwise false.

See Also