Tensor<T>.Broadcast To 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.3
C#
A view of the current tensor that is equivalent to broadcasting the tensor to shape.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
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.