Tensor.AdditionAssignment Operator
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
| Name | Description |
|---|---|
| AdditionAssignment(TScalar) |
Performs in-place element-wise addition between a tensor and scalar. |
| AdditionAssignment(ReadOnlyTensorSpan<TScalar>) |
Performs in-place element-wise addition between two tensors. |
AdditionAssignment(TScalar)
- Source:
- Tensor.cs
Performs in-place element-wise addition between a tensor and scalar.
public:
void op_AdditionAssignment(TScalar other);
public void op_AdditionAssignment(TScalar other);
member this.( += ) : 'TScalar -> unit
Public op_AdditionAssignment (other As TScalar)
Parameters
- other
- TScalar
The scalar to add to the tensor being operated on.
Applies to
AdditionAssignment(ReadOnlyTensorSpan<TScalar>)
- Source:
- Tensor.cs
Performs in-place element-wise addition between two tensors.
public:
void op_AdditionAssignment(System::Numerics::Tensors::ReadOnlyTensorSpan<TScalar> % other);
public void op_AdditionAssignment(in System.Numerics.Tensors.ReadOnlyTensorSpan<TScalar> other);
member this.( += ) : ReadOnlyTensorSpan -> unit
Public op_AdditionAssignment (ByRef other As ReadOnlyTensorSpan(Of TScalar))
Parameters
- other
- ReadOnlyTensorSpan<TScalar>
The tensor to add to the tensor being operated on.