Tensor.TryBroadcastTo 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
TryBroadcastTo<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>) | |
TryBroadcastTo<T>(Tensor<T>, TensorSpan<T>) | |
TryBroadcastTo<T>(TensorSpan<T>, TensorSpan<T>) |
TryBroadcastTo<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static bool TryBroadcastTo(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % input, System::Numerics::Tensors::TensorSpan<T> % destination);
public static bool TryBroadcastTo<T> (this in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input, in System.Numerics.Tensors.TensorSpan<T> destination);
static member TryBroadcastTo : ReadOnlyTensorSpan * TensorSpan -> bool
<Extension()>
Public Function TryBroadcastTo(Of T) (ByRef input As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As Boolean
Type Parameters
- T
Parameters
- input
- ReadOnlyTensorSpan<T>
- destination
- TensorSpan<T>
Returns
Applies to
TryBroadcastTo<T>(Tensor<T>, TensorSpan<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static bool TryBroadcastTo(System::Numerics::Tensors::Tensor<T> ^ input, System::Numerics::Tensors::TensorSpan<T> % destination);
public static bool TryBroadcastTo<T> (this System.Numerics.Tensors.Tensor<T> input, in System.Numerics.Tensors.TensorSpan<T> destination);
static member TryBroadcastTo : System.Numerics.Tensors.Tensor<'T> * TensorSpan -> bool
<Extension()>
Public Function TryBroadcastTo(Of T) (input As Tensor(Of T), ByRef destination As TensorSpan(Of T)) As Boolean
Type Parameters
- T
Parameters
- input
- Tensor<T>
- destination
- TensorSpan<T>
Returns
Applies to
TryBroadcastTo<T>(TensorSpan<T>, TensorSpan<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static bool TryBroadcastTo(System::Numerics::Tensors::TensorSpan<T> % input, System::Numerics::Tensors::TensorSpan<T> % destination);
public static bool TryBroadcastTo<T> (this in System.Numerics.Tensors.TensorSpan<T> input, in System.Numerics.Tensors.TensorSpan<T> destination);
static member TryBroadcastTo : TensorSpan * TensorSpan -> bool
<Extension()>
Public Function TryBroadcastTo(Of T) (ByRef input As TensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As Boolean
Type Parameters
- T
Parameters
- input
- TensorSpan<T>
- destination
- TensorSpan<T>
Returns
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor