Tensor<T>.BroadcastTo Method

Broadcasts the current tensor into the specified shape

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
C#
public abstract Tensor<T> BroadcastTo(
	TensorShape shape
)

Parameters

shape  TensorShape
The shape of the broadcast tensor.

Return Value

Tensor<T>
A view of the current tensor that is equivalent to broadcasting the tensor to shape.

See Also