Backends/SiaNet.Backend.Torch/TypeGeneration.cs
/// <summary>
///   Copies the elements of a byte tensor into the original tensor.
///   The shape of the tensors must exactly match or an error will be thrown.
/// </summary>
/// <param name="src">Tensor to copy the data from.</param>
Copies the elements of a byte tensor into the original tensor.
The shape of the tensors must exactly match or an error will be thrown.
Copies the elements of a byte tensor into the original tensor . The shape of the tensors must exactly match or an error will be thrown .
public void CopyByte (ByteTensor src)
        {
            if (src == null)
                throw new ArgumentNullException (nameof (src));
            THDoubleTensor_copyByte (this.handle, src.handle);
        }
public void CopyByte ( ByteTensor src ) { if ( src == null ) throw new ArgumentNullException ( nameof ( src ) ) ; THDoubleTensor_copyByte ( this . handle , src . handle ) ; }
Copies the elements of a byte tensor into the original tensor.
Copies the elements of a byte tensor into the original tensor .
src
ByteTensor
Tensor to copy the data from.
Tensor to copy the data from .