Tensor.BroadcastTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BroadcastTo<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>) |
Broadcast the data from |
BroadcastTo<T>(Tensor<T>, TensorSpan<T>) |
Broadcast the data from |
BroadcastTo<T>(TensorSpan<T>, TensorSpan<T>) |
Broadcast the data from |
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
- source
- ReadOnlyTensorSpan<T>
Input TensorSpan<T>.
- 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
- source
- TensorSpan<T>
Input TensorSpan<T>.
- destination
- TensorSpan<T>
Other TensorSpan<T> to make shapes broadcastable.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.