Backends/SiaNet.Backend.Torch/TypeGeneration.cs
/// <summary>
///   Performs an AddScaled of the tensor with the provided
///   <see paramref="src"/> tensor and returns a new tensor with the result.
/// </summary>
/// <param name="value1"></param>
/// <param name="value2"></param>
/// <returns>
///   This returns a new tensor with the same shape as the tensor this operates on.
/// </returns>
Performs an AddScaled of the tensor with the provided
tensor and returns a new tensor with the result.
Performs an AddScaled of the tensor with the provided tensor and returns a new tensor with the result .
public FloatTensor AddScaled (float value1, float value2)
        {
            var result = new FloatTensor ();
            THFloatTensor_add_scaled (result.handle, this.handle, value1, value2);
            return result;
        }
public FloatTensor AddScaled ( float value1 , float value2 ) { var result = new FloatTensor ( ) ; THFloatTensor_add_scaled ( result . handle , this . handle , value1 , value2 ) ; return result ; }
Performs an AddScaled of the tensor with the provided
tensor and returns a new tensor with the result.
Performs an AddScaled of the tensor with the provided tensor and returns a new tensor with the result .
This returns a new tensor with the same shape as the tensor this operates on.
This returns a new tensor with the same shape as the tensor this operates on .
value1
float
None
value2
float
None