Backends/SiaNet.Backend.Torch/TypeGeneration.cs
/// <summary>
///   Performs the BitAnd 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.BitAnd(PytorchSharp.DoubleTensor, Double, PytorchSharp.Double)"/>.
/// </remarks>
Performs the BitAnd operation on each element of the tensor with the
and returns a new tensor with the result.
Performs the BitAnd operation on each element of the tensor with the and returns a new tensor with the result .
public DoubleTensor BitAnd (double value)
        {
            var result = new DoubleTensor ();
            BitAnd (this, value, result);
            return result;
        }
public DoubleTensor BitAnd ( double value ) { var result = new DoubleTensor ( ) ; BitAnd ( this , value , result ) ; return result ; }
Performs the BitAnd operation on each element of the tensor with the
and returns a new tensor with the result.
Performs the BitAnd 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
double
<not_specific>
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 .