Backends/SiaNet.Backend.Torch/TypeGeneration.cs
/// <summary>
///   Create a range spanning from xmin to xmax, with 'step' between each value.
/// </summary>
/// <param name="xmin">The lower bound of the range.</param>
/// <param name="xmax">The upper bound of the range.</param>
/// <param name="step">The value step.</param>
Create a range spanning from xmin to xmax, with 'step' between each value.
Create a range spanning from xmin to xmax with ' step ' between each value .
public static FloatTensor ARange (double xmin, double xmax, double step)
        {
            var result = new FloatTensor();
            THFloatTensor_arange(result.handle, xmin, xmax, step);
            return result;
        }
public static FloatTensor ARange ( double xmin , double xmax , double step ) { var result = new FloatTensor ( ) ; THFloatTensor_arange ( result . handle , xmin , xmax , step ) ; return result ; }
Create a range spanning from xmin to xmax, with 'step' between each value.
Create a range spanning from xmin to xmax with ' step ' between each value .
xmin
double
The lower bound of the range.
The lower bound of the range .
xmax
double
The upper bound of the range.
The upper bound of the range .
step
double
The value step.
The value step .