Partager via


Tensor.BroadcastTo Méthode

Définition

Surcharges

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

Diffusez les données de source vers destination.

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

Diffusez les données de source vers destination.

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

Diffusez les données de source vers destination.

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

Source:
TensorExtensions.cs

Diffusez les données de source vers 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))

Paramètres de type

T

Paramètres

destination
TensorSpan<T>

S’applique à

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

Source:
TensorExtensions.cs

Diffusez les données de source vers 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))

Paramètres de type

T

Paramètres

source
Tensor<T>

Entrée TensorSpan<T>.

destination
TensorSpan<T>

S’applique à

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

Source:
TensorExtensions.cs

Diffusez les données de source vers 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))

Paramètres de type

T

Paramètres

source
TensorSpan<T>

Entrée TensorSpan<T>.

destination
TensorSpan<T>

Autres TensorSpan<T> pour rendre les formes diffusables.

S’applique à