Tensor.Divide 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
Divide<T>(Tensor<T>, Tensor<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::Tensor<T> ^ Divide(System::Numerics::Tensors::Tensor<T> ^ left, System::Numerics::Tensors::Tensor<T> ^ right);
public static System.Numerics.Tensors.Tensor<T> Divide<T> (System.Numerics.Tensors.Tensor<T> left, System.Numerics.Tensors.Tensor<T> right) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> * System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)
Public Function Divide(Of T As IDivisionOperators(Of T, T, T)) (left As Tensor(Of T), right As Tensor(Of T)) As Tensor(Of T)
Type Parameters
- T
Parameters
- left
- Tensor<T>
- right
- Tensor<T>
Returns
Applies to
Divide<T>(Tensor<T>, T)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::Tensor<T> ^ Divide(System::Numerics::Tensors::Tensor<T> ^ input, T val);
public static System.Numerics.Tensors.Tensor<T> Divide<T> (System.Numerics.Tensors.Tensor<T> input, T val) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> * 'T -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)
Public Function Divide(Of T As IDivisionOperators(Of T, T, T)) (input As Tensor(Of T), val As T) As Tensor(Of T)
Type Parameters
- T
Parameters
- input
- Tensor<T>
- val
- T
Returns
Applies to
Divide<T>(T, Tensor<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::Tensor<T> ^ Divide(T val, System::Numerics::Tensors::Tensor<T> ^ input);
public static System.Numerics.Tensors.Tensor<T> Divide<T> (T val, System.Numerics.Tensors.Tensor<T> input) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : 'T * System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)
Public Function Divide(Of T As IDivisionOperators(Of T, T, T)) (val As T, input As Tensor(Of T)) As Tensor(Of T)
Type Parameters
- T
Parameters
- val
- T
- input
- Tensor<T>
Returns
Applies to
Divide<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::TensorSpan<T> ^ Divide(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % left, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % right, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Divide<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> left, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> right, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : ReadOnlyTensorSpan * ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)
Public Function Divide(Of T As IDivisionOperators(Of T, T, T)) (ByRef left As ReadOnlyTensorSpan(Of T), ByRef right As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Type Parameters
- T
Parameters
- right
- ReadOnlyTensorSpan<T>
- destination
- TensorSpan<T>
Returns
Applies to
Divide<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::TensorSpan<T> ^ Divide(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % input, T val, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Divide<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input, T val, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : ReadOnlyTensorSpan * 'T * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)
Public Function Divide(Of T As IDivisionOperators(Of T, T, T)) (ByRef input As ReadOnlyTensorSpan(Of T), val As T, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Type Parameters
- T
Parameters
- input
- ReadOnlyTensorSpan<T>
- val
- T
- destination
- TensorSpan<T>
Returns
Applies to
Divide<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::TensorSpan<T> ^ Divide(T val, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % input, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Divide<T> (T val, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : 'T * ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)
Public Function Divide(Of T As IDivisionOperators(Of T, T, T)) (val As T, ByRef input As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Type Parameters
- T
Parameters
- val
- T
- input
- ReadOnlyTensorSpan<T>
- destination
- TensorSpan<T>
Returns
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ