Backends/SiaNet.Backend.Torch/TypeGeneration.cs
/// <summary>
///   Performs the Fmod operation on each element of the tensor with the
///   <see paramref="value"/> and returns a new tensor with the result.
/// </summary>
/// <returns>
///   This returns a new tensor with the same shape as the tensor this operates on.
/// </returns>
/// <remarks>
///   If you want to avoid the allocation of a new tensor, you can use the
///   alternative method <see cref="M:PytorchSharp.Fmod(PytorchSharp.IntTensor, Int, PytorchSharp.Int)"/>.
/// </remarks>
Performs the Fmod operation on each element of the tensor with the
and returns a new tensor with the result.
Performs the Fmod operation on each element of the tensor with the and returns a new tensor with the result .
public IntTensor Fmod (int value)
        {
            var result = new IntTensor ();
            Fmod (this, value, result);
            return result;
        }
public IntTensor Fmod ( int value ) { var result = new IntTensor ( ) ; Fmod ( this , value , result ) ; return result ; }
Performs the Fmod operation on each element of the tensor with the
and returns a new tensor with the result.
Performs the Fmod operation on each element of the tensor with the 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 .
value
int
remarks
If you want to avoid the allocation of a new tensor, you can use the
alternative method .
If you want to avoid the allocation of a new tensor you can use the alternative method .