Backends/SiaNet.Backend.Torch/TypeGeneration.cs
/// <summary>
///   Computes the cross product of two tensors.
/// </summary>
/// <param name="other">The right-hand-side tensor.</param>
/// <param name="dimension">The dimension to take the cross-product in.</param>
Computes the cross product of two tensors.
Computes the cross product of two tensors .
public FloatTensor CrossProduct (FloatTensor other, int dimension = -1)
        {
            var result = new FloatTensor();
            THFloatTensor_cross(result.handle, this.handle, other.handle, dimension);
            return result;
        }
public FloatTensor CrossProduct ( FloatTensor other , int dimension = - 1 ) { var result = new FloatTensor ( ) ; THFloatTensor_cross ( result . handle , this . handle , other . handle , dimension ) ; return result ; }
Computes the cross product of two tensors.
Computes the cross product of two tensors .
other
FloatTensor
The right-hand-side tensor.
The right - hand - side tensor .
dimension
int
The dimension to take the cross-product in.
The dimension to take the cross - product in .