Κοινή χρήση μέσω


Tensor.BroadcastTo Method

Definition

Overloads

BroadcastTo<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Broadcast the data from source to destination.

BroadcastTo<T>(Tensor<T>, TensorSpan<T>)

Broadcast the data from source to destination.

BroadcastTo<T>(TensorSpan<T>, TensorSpan<T>)

Broadcast the data from source to destination.

BroadcastTo<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Source:
TensorExtensions.cs

Broadcast the data from source to destination.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void BroadcastTo(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % source, System::Numerics::Tensors::TensorSpan<T> % destination);
public static void BroadcastTo<T> (this in System.Numerics.Tensors.ReadOnlyTensorSpan<T> source, in System.Numerics.Tensors.TensorSpan<T> destination);
static member BroadcastTo : ReadOnlyTensorSpan * TensorSpan -> unit
<Extension()>
Public Sub BroadcastTo(Of T) (ByRef source As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T))

Type Parameters

T

Parameters

destination
TensorSpan<T>

Applies to

BroadcastTo<T>(Tensor<T>, TensorSpan<T>)

Source:
TensorExtensions.cs

Broadcast the data from source to destination.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void BroadcastTo(System::Numerics::Tensors::Tensor<T> ^ source, System::Numerics::Tensors::TensorSpan<T> % destination);
public static void BroadcastTo<T> (this System.Numerics.Tensors.Tensor<T> source, in System.Numerics.Tensors.TensorSpan<T> destination);
static member BroadcastTo : System.Numerics.Tensors.Tensor<'T> * TensorSpan -> unit
<Extension()>
Public Sub BroadcastTo(Of T) (source As Tensor(Of T), ByRef destination As TensorSpan(Of T))

Type Parameters

T

Parameters

source
Tensor<T>

Input TensorSpan<T>.

destination
TensorSpan<T>

Applies to

BroadcastTo<T>(TensorSpan<T>, TensorSpan<T>)

Source:
TensorExtensions.cs

Broadcast the data from source to destination.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void BroadcastTo(System::Numerics::Tensors::TensorSpan<T> % source, System::Numerics::Tensors::TensorSpan<T> % destination);
public static void BroadcastTo<T> (this in System.Numerics.Tensors.TensorSpan<T> source, in System.Numerics.Tensors.TensorSpan<T> destination);
static member BroadcastTo : TensorSpan * TensorSpan -> unit
<Extension()>
Public Sub BroadcastTo(Of T) (ByRef source As TensorSpan(Of T), ByRef destination As TensorSpan(Of T))

Type Parameters

T

Parameters

destination
TensorSpan<T>

Other TensorSpan<T> to make shapes broadcastable.

Applies to