Tensor.BroadcastTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
BroadcastTo<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>) |
將資料從 |
BroadcastTo<T>(Tensor<T>, TensorSpan<T>) |
將資料從 |
BroadcastTo<T>(TensorSpan<T>, TensorSpan<T>) |
將資料從 |
BroadcastTo<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)
將資料從 source
廣播至 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))
類型參數
- T
參數
- source
- ReadOnlyTensorSpan<T>
輸入 TensorSpan<T>。
- destination
- TensorSpan<T>
適用於
BroadcastTo<T>(Tensor<T>, TensorSpan<T>)
將資料從 source
廣播至 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))
類型參數
- T
參數
- source
- Tensor<T>
輸入 TensorSpan<T>。
- destination
- TensorSpan<T>
適用於
BroadcastTo<T>(TensorSpan<T>, TensorSpan<T>)
將資料從 source
廣播至 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))
類型參數
- T
參數
- source
- TensorSpan<T>
輸入 TensorSpan<T>。
- destination
- TensorSpan<T>
其他 TensorSpan<T> 讓圖形可廣播。