Class ByteTensor
Tensor of type Byte.
Inheritance
Namespace: TorchSharp
Assembly: TorchSharp.dll
Syntax
public class ByteTensor : IDisposable
Remarks
Use the default constructor to create an empty tensor, or invoke one of the constructors with one (1D), two (2D), three (3D), or four parameters (4D) to x create a tensor for the desired number of dimensions.
Constructors
ByteTensor()
Creates an empty tensor.
Declaration
public ByteTensor ();
ByteTensor(Int64)
Creates a 1D tensor of the specified size.
Declaration
public ByteTensor (long size0);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | size0 | Size for the first dimension. |
ByteTensor(Int64, Int64)
Creates a 2D tensor of the specified size.
Declaration
public ByteTensor (long size0, long size1);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | size0 | Size for the first dimension. |
| System.Int64 | size1 | Size for the second dimension. |
ByteTensor(Int64, Int64, Int64)
Creates a 3D tensor of the specified size.
Declaration
public ByteTensor (long size0, long size1, long size2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | size0 | Size for the first dimension. |
| System.Int64 | size1 | Size for the second dimension. |
| System.Int64 | size2 | Size for the third dimension. |
ByteTensor(Int64, Int64, Int64, Int64)
Creates a 4D tensor of the specified size.
Declaration
public ByteTensor (long size0, long size1, long size2, long size3);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | size0 | Size for the first dimension. |
| System.Int64 | size1 | Size for the second dimension. |
| System.Int64 | size2 | Size for the third dimension. |
| System.Int64 | size3 | Size for the fourth dimension. |
Properties
Data
Returns a pointer to the unmanaged data managed by this tensor.
Declaration
public byte* Data { get; }
Property Value
| Type | Description |
|---|---|
| System.Byte* | To be added. |
Dimensions
Returns the number of dimensions for this tensor
Declaration
public int Dimensions { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | To be added. |
Item(Int64, Int64, Int64, Int64)
Access to element at the specified position in the tensor
Declaration
public byte this[long x0, long x1, long x2, long x3] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | x0 | Index in the first dimension to access. |
| System.Int64 | x1 | Index in the second dimension to access. |
| System.Int64 | x2 | Index in the third dimension to access. |
| System.Int64 | x3 | Index in the fourth dimension to access. |
Property Value
| Type | Description |
|---|---|
| System.Byte | To be added. |
Item(Int64, Int64, Int64)
Access to element at the specified position in the tensor
Declaration
public byte this[long x0, long x1, long x2] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | x0 | Index in the first dimension to access. |
| System.Int64 | x1 | Index in the second dimension to access. |
| System.Int64 | x2 | Index in the third dimension to access. |
Property Value
| Type | Description |
|---|---|
| System.Byte | To be added. |
Item(Int64)
Access to element at the specified position in the tensor
Declaration
public byte this[long x0] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | x0 | Index to access. |
Property Value
| Type | Description |
|---|---|
| System.Byte | To be added. |
Item(Int64, Int64)
Access to element at the specified position in the tensor
Declaration
public byte this[long x0, long x1] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | x0 | Index in the first dimension to access. |
| System.Int64 | x1 | Index in the second dimension to access. |
Property Value
| Type | Description |
|---|---|
| System.Byte | To be added. |
Shape
Returns the tensor shape, this is an array whose size determines the number of dimensions on the tensor, and each element is the size of the dimension
Declaration
public long[] Shape { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64[] | To be added. |
Remarks
An array of size 0 is used for constants, an array of size 1 is used for single-dimension arrays, where the dimension is the value of the first element. And so on.
Storage
Returns the associated storage for this tensor
Declaration
public TorchSharp.ByteTensor.ByteStorage Storage { get; }
Property Value
| Type | Description |
|---|---|
To be added. |
Methods
Add(Byte)
Performs the Add operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor Add (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.Add(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
Add(ByteTensor, Byte, ByteTensor)
Performs the Add operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void Add (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
AddBMM(Byte, Byte, ByteTensor, ByteTensor)
Performs AddBMM of the tensor with the provided
Declaration
public TorchSharp.ByteTensor AddBMM (byte beta, byte alpha, TorchSharp.ByteTensor batch1, TorchSharp.ByteTensor batch2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | beta | Multiplier for this tensor (β). |
| System.Byte | alpha | Multiplier for batch1xbatch2 (α) |
| ByteTensor | batch1 | the first batch of matrices to be multiplied |
| ByteTensor | batch2 | the second batch of matrices to be multiplied |
Returns
| Type | Description |
|---|---|
| ByteTensor | β mat+α (∑i=0bbatch1i@batch2i) |
Remarks
β mat+α (∑i=0bbatch1i@batch2i)
AddCDiv(Byte, ByteTensor, ByteTensor)
Performs AddCDiv of the tensor with the provided
Declaration
public TorchSharp.ByteTensor AddCDiv (byte value, TorchSharp.ByteTensor src1, TorchSharp.ByteTensor src2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
| ByteTensor | src1 | To be added. |
| ByteTensor | src2 | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
AddCMul(Byte, ByteTensor, ByteTensor)
Performs AddCMul of the tensor with the provided
Declaration
public TorchSharp.ByteTensor AddCMul (byte value, TorchSharp.ByteTensor src1, TorchSharp.ByteTensor src2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
| ByteTensor | src1 | To be added. |
| ByteTensor | src2 | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
AddMM(Byte, Byte, ByteTensor, ByteTensor)
Performs AddMM of the tensor with the provided
Declaration
public TorchSharp.ByteTensor AddMM (byte beta, byte alpha, TorchSharp.ByteTensor mat1, TorchSharp.ByteTensor mat2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | beta | Multiplier for this tensor (β). |
| System.Byte | alpha | Multiplier for mat1xmat2 (α) |
| ByteTensor | mat1 | First matrix to be multiplied |
| ByteTensor | mat2 | Second matrix to be multiplied |
Returns
| Type | Description |
|---|---|
| ByteTensor | β mat+α (mat1i@mat2i) |
Remarks
β mat+α (mat1i@mat2i)
AddMV(Byte, Byte, ByteTensor, ByteTensor)
Performs AddMV of the tensor with the provided
Declaration
public TorchSharp.ByteTensor AddMV (byte beta, byte alpha, TorchSharp.ByteTensor mat, TorchSharp.ByteTensor vec);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | beta | Multiplier for this tensor (β). |
| System.Byte | alpha | Multiplier for matxvec (α) |
| ByteTensor | mat | Matrix to be multiplied |
| ByteTensor | vec | Vector to be multiplied |
Returns
| Type | Description |
|---|---|
| ByteTensor | β tensor+α (mat@vec) |
Remarks
β tensor+α (mat@vec)
AddR(Byte, Byte, ByteTensor, ByteTensor)
Performs AddR of the tensor with the provided
Declaration
public TorchSharp.ByteTensor AddR (byte beta, byte alpha, TorchSharp.ByteTensor vec1, TorchSharp.ByteTensor vec2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | beta | Multiplier for this tensor (β). |
| System.Byte | alpha | Multiplier for vec1xvec2 (α) |
| ByteTensor | vec1 | the first vector of the outer product |
| ByteTensor | vec2 | the second vector of the outer product |
Returns
| Type | Description |
|---|---|
| ByteTensor | β mat+α (vec1⊗vec2) |
Remarks
β mat+α (vec1⊗vec2)
AddScaled(Byte, Byte)
Performs an AddScaled of the tensor with the provided
Declaration
public TorchSharp.ByteTensor AddScaled (byte value1, byte value2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value1 | To be added. |
| System.Byte | value2 | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
ARange(Int64, Int64, Int64)
Create a range spanning from xmin to xmax, with 'step' between each value.
Declaration
public static TorchSharp.ByteTensor ARange (long xmin, long xmax, long step);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | xmin | The lower bound of the range. |
| System.Int64 | xmax | The upper bound of the range. |
| System.Int64 | step | The value step. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
BAddBMM(Byte, Byte, ByteTensor, ByteTensor)
Performs BAddBMM of the tensor with the provided
Declaration
public TorchSharp.ByteTensor BAddBMM (byte beta, byte alpha, TorchSharp.ByteTensor batch1, TorchSharp.ByteTensor batch2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | beta | Multiplier for this tensor (β). |
| System.Byte | alpha | Multiplier for batch1xbatch2 (α) |
| ByteTensor | batch1 | the first batch of matrices to be multiplied |
| ByteTensor | batch2 | the second batch of matrices to be multiplied |
Returns
| Type | Description |
|---|---|
| ByteTensor | β mati+α (batch1i@batch2i) |
Remarks
β mati+α (batch1i@batch2i)
BitAnd(Byte)
Performs the BitAnd operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor BitAnd (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.BitAnd(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
BitAnd(ByteTensor, Byte, ByteTensor)
Performs the BitAnd operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void BitAnd (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
BitOr(Byte)
Performs the BitOr operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor BitOr (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.BitOr(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
BitOr(ByteTensor, Byte, ByteTensor)
Performs the BitOr operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void BitOr (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
BitXor(ByteTensor, Byte, ByteTensor)
Performs the BitXor operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void BitXor (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
BitXor(Byte)
Performs the BitXor operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor BitXor (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.BitXor(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
CAdd(Byte, ByteTensor)
Performs the CAdd operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor CAdd (byte value, TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
| ByteTensor | src | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CappedRandom(RandomGenerator, Int64)
Populates the tensor with random values from 0 to max, using the provided random source generator.
Declaration
public void CappedRandom (TorchSharp.RandomGenerator source, long max);
Parameters
| Type | Name | Description |
|---|---|---|
| RandomGenerator | source | The random generator source |
| System.Int64 | max | The upper limit for the values to be generated |
CBitAnd(ByteTensor)
Performs an CBitAnd of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CBitAnd (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CBitOr(ByteTensor)
Performs an CBitOr of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CBitOr (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CBitXor(ByteTensor)
Performs an CBitXor of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CBitXor (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CDiv(ByteTensor)
Performs an CDiv of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CDiv (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CFMod(ByteTensor)
Performs an CFMod of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CFMod (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Clamp(ByteTensor, Byte, ByteTensor)
Performs the Clamp operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void Clamp (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
Clamp(Byte)
Performs the Clamp operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor Clamp (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.Clamp(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
Clamp(Byte, Byte)
Performs an Clamp of the tensor with the provided
Declaration
public TorchSharp.ByteTensor Clamp (byte value1, byte value2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value1 | To be added. |
| System.Byte | value2 | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
ClampedRandom(RandomGenerator, Int64, Int64)
Populates the tensor with random values from min to max, using the provided random source generator.
Declaration
public void ClampedRandom (TorchSharp.RandomGenerator source, long min, long max);
Parameters
| Type | Name | Description |
|---|---|---|
| RandomGenerator | source | The random generator source |
| System.Int64 | min | The lower limit for the values to be generated |
| System.Int64 | max | The upper limit for the values to be generated |
Clone()
Returns a deep clone of the tensor
Declaration
public TorchSharp.ByteTensor Clone ();
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
CLShift(ByteTensor)
Performs an CLShift of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CLShift (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CMax(ByteTensor)
Performs an CMax of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CMax (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CMaxValue(Byte)
Performs an CMaxValue of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CMaxValue (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CMin(ByteTensor)
Performs an CMin of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CMin (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CMinValue(Byte)
Performs an CMinValue of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CMinValue (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CMul(ByteTensor)
Performs an CMul of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CMul (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Concatenate(ByteTensor, Int32)
Concatenate tensors along the given dimesion.
Declaration
public TorchSharp.ByteTensor Concatenate (TorchSharp.ByteTensor other, int dimension);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | other | The second tensor. |
| System.Int32 | dimension | The dimension along which to concatenate. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
Copy(ByteTensor)
Copies the elements of a tensor into the original tensor. The shape of the tensors must exactly match or an error will be thrown.
Declaration
public void Copy (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | Tensor to copy the data from. |
CopyByte(ByteTensor)
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.
Declaration
public void CopyByte (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | Tensor to copy the data from. |
CopyDouble(DoubleTensor)
Copies the elements of a double tensor into the original tensor. The shape of the tensors must exactly match or an error will be thrown.
Declaration
public void CopyDouble (TorchSharp.DoubleTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| DoubleTensor | src | Tensor to copy the data from. |
CopyFloat(FloatTensor)
Copies the elements of a float tensor into the original tensor. The shape of the tensors must exactly match or an error will be thrown.
Declaration
public void CopyFloat (TorchSharp.FloatTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| FloatTensor | src | Tensor to copy the data from. |
CopyInt(IntTensor)
Copies the elements of a int tensor into the original tensor. The shape of the tensors must exactly match or an error will be thrown.
Declaration
public void CopyInt (TorchSharp.IntTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| IntTensor | src | Tensor to copy the data from. |
CopyLong(LongTensor)
Copies the elements of a long tensor into the original tensor. The shape of the tensors must exactly match or an error will be thrown.
Declaration
public void CopyLong (TorchSharp.LongTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| LongTensor | src | Tensor to copy the data from. |
CopyShort(ShortTensor)
Copies the elements of a short tensor into the original tensor. The shape of the tensors must exactly match or an error will be thrown.
Declaration
public void CopyShort (TorchSharp.ShortTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ShortTensor | src | Tensor to copy the data from. |
CPow(ByteTensor)
Performs an CPow of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CPow (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CRemainder(ByteTensor)
Performs an CRemainder of the tensor with the provided
Declaration
public TorchSharp.ByteTensor CRemainder (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CrossProduct(ByteTensor)
Computes the cross product of two tensors.
Declaration
public TorchSharp.ByteTensor CrossProduct (TorchSharp.ByteTensor other);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | other | The right-hand-side tensor. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
CSub(Byte, ByteTensor)
Performs the CSub operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor CSub (byte value, TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
| ByteTensor | src | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
CumulativeProd(Int32)
Computes the cumulative product of all the elements of the tensor along the given dimension.
Declaration
public TorchSharp.ByteTensor CumulativeProd (int dimension);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to process along. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
CumulativeSum(Int32)
Computes the cumulative sum of all the elements of the tensor along the given dimension.
Declaration
public TorchSharp.ByteTensor CumulativeSum (int dimension);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to process along. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
Diagonal(Int32)
Gets the diagonal of the tensor.
Declaration
public TorchSharp.ByteTensor Diagonal (int k);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | k | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
Dispose()
Releases the tensor and its associated data.
Declaration
public void Dispose ();
Dispose(Boolean)
Implements the .NET Dispose pattern.
Declaration
protected void Dispose (bool disposing);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | To be added. |
Div(Byte)
Performs the Div operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor Div (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.Div(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
Div(ByteTensor, Byte, ByteTensor)
Performs the Div operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void Div (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
Dot(ByteTensor)
Returns the tensor product between this tensor and the provided one
Declaration
public long Dot (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| System.Int64 | The dot product |
EqTensor(ByteTensor)
Performs an EqTensor of the tensor with the provided
Declaration
public TorchSharp.ByteTensor EqTensor (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
EqTensorT(ByteTensor)
Performs an EqTensorT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor EqTensorT (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Equal(ByteTensor)
Compare the tensor with another for complete equality.
Declaration
public bool Equal (TorchSharp.ByteTensor other);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | other | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| System.Boolean | To be added. |
EqValue(Byte)
Performs an EqValue of the tensor with the provided
Declaration
public TorchSharp.ByteTensor EqValue (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
EqValueT(Byte)
Performs an EqValueT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor EqValueT (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Eye(Int64, Int64)
Eye.
Declaration
public static TorchSharp.ByteTensor Eye (long m, long n);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | m | To be added. |
| System.Int64 | n | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
Fill(Byte)
Fills the tensor with the specified value
Declaration
public void Fill (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Finalize()
Finalizer for ~ByteTensor
Declaration
~ByteTensor ();
Fmod(Byte)
Performs the Fmod operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor Fmod (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.Fmod(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
Fmod(ByteTensor, Byte, ByteTensor)
Performs the Fmod operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void Fmod (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
Gather(ByteTensor, Int32, LongTensor)
Gather
Declaration
public void Gather (TorchSharp.ByteTensor src, int dim, TorchSharp.LongTensor index);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | To be added. |
| System.Int32 | dim | To be added. |
| LongTensor | index | Indices of entries to copy. |
Geometric(RandomGenerator, Double)
Populates the tensor with random values from 0 to n, using the provided random source generator.
Declaration
public void Geometric (TorchSharp.RandomGenerator source, double p);
Parameters
| Type | Name | Description |
|---|---|---|
| RandomGenerator | source | The random generator source |
| System.Double | p | To be added. |
GeTensor(ByteTensor)
Performs an GeTensor of the tensor with the provided
Declaration
public TorchSharp.ByteTensor GeTensor (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
GeTensorT(ByteTensor)
Performs an GeTensorT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor GeTensorT (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
GetTensorDimension(Int32)
Retrieves the size of the specified dimension in the tensor.
Declaration
public long GetTensorDimension (int dim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | To be added. |
Returns
| Type | Description |
|---|---|
| System.Int64 | To be added. |
GetTensorStride(Int32)
Retrieves the stride of the specified dimension in the tensor.
Declaration
public long GetTensorStride (int dim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | To be added. |
Returns
| Type | Description |
|---|---|
| System.Int64 | To be added. |
GeValue(Byte)
Performs an GeValue of the tensor with the provided
Declaration
public TorchSharp.ByteTensor GeValue (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
GeValueT(Byte)
Performs an GeValueT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor GeValueT (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
GtTensor(ByteTensor)
Performs an GtTensor of the tensor with the provided
Declaration
public TorchSharp.ByteTensor GtTensor (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
GtTensorT(ByteTensor)
Performs an GtTensorT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor GtTensorT (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
GtValue(Byte)
Performs an GtValue of the tensor with the provided
Declaration
public TorchSharp.ByteTensor GtValue (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
GtValueT(Byte)
Performs an GtValueT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor GtValueT (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
IndexAdd(Int32, LongTensor, ByteTensor)
Adds the elements of tensor into the original tensor by selecting the indices in the order given in index. The shape of tensor must exactly match the elements indexed or an error will be thrown.
Declaration
public void IndexAdd (int dim, TorchSharp.LongTensor index, TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | Dimension to select for the add |
| LongTensor | index | Entries to copy |
| ByteTensor | src | Tensor to copy the data from. |
IndexCopy(Int32, LongTensor, ByteTensor)
Copies the elements of tensor into the original tensor by selecting the indices in the order given in index. The shape of tensor must exactly match the elements indexed or an error will be thrown.
Declaration
public void IndexCopy (int dim, TorchSharp.LongTensor index, TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | Dimension to select for the copy |
| LongTensor | index | Entries to copy |
| ByteTensor | src | Tensor to copy the data from. |
IndexFill(Int32, LongTensor, Byte)
Uses the given value to overwrite the original tensor by selecting the indices in the order given in index. The shape of tensor must exactly match the elements indexed or an error will be thrown.
Declaration
public void IndexFill (int dim, TorchSharp.LongTensor index, byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | Dimension to select for the fill |
| LongTensor | index | Entries to copy |
| System.Byte | value | The value to write. |
IndexSelect(Int32, LongTensor)
Returns a new Tensor which indexes the original Tensor along dimension dim using the entries in index. The returned Tensor has the same number of dimensions as the original Tensor. The returned Tensor does not use the same storage as the original Tensor.
Declaration
public TorchSharp.ByteTensor IndexSelect (int dim, TorchSharp.LongTensor index);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | Dimension to select |
| LongTensor | index | Entries to extract |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
KthValue(Int64, Int32, Boolean)
Computes the kth value of all the elements of the tensor along the given dimension.
Declaration
public Tuple<TorchSharp.ByteTensor,TorchSharp.LongTensor> KthValue (long k, int dimension, bool keepdim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | k | The value for 'k' in 'kth'. |
| System.Int32 | dimension | The dimension to process along. |
| System.Boolean | keepdim | true if the reduction dimension should be kept, false otherwise. |
Returns
| Type | Description |
|---|---|
| System.Tuple<ByteTensor,LongTensor> | A tuple containing the values and indices of the kth element of each dimension. |
LERP(ByteTensor, Byte)
LERP
Declaration
public TorchSharp.ByteTensor LERP (TorchSharp.ByteTensor other, byte weight);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | other | The right-hand-side operand. |
| System.Byte | weight | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
LeTensor(ByteTensor)
Performs an LeTensor of the tensor with the provided
Declaration
public TorchSharp.ByteTensor LeTensor (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
LeTensorT(ByteTensor)
Performs an LeTensorT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor LeTensorT (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
LeValue(Byte)
Performs an LeValue of the tensor with the provided
Declaration
public TorchSharp.ByteTensor LeValue (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
LeValueT(Byte)
Performs an LeValueT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor LeValueT (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
LogicalAnd(Int32, Boolean)
Compares two tensors element-wise and returns the Boolean result tensor encoded as a byte: 0 or 1.
Declaration
public TorchSharp.ByteTensor LogicalAnd (int dimension, bool keepdim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to process along. |
| System.Boolean | keepdim | true if the reduction dimension should be kept, false otherwise. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
LogicalAndAll()
Compares all the elements of the tensor using 'AND' and returns the Boolean result.
Declaration
public bool LogicalAndAll ();
Returns
| Type | Description |
|---|---|
| System.Boolean | To be added. |
LogicalAny(Int32, Boolean)
Compares two tensors element-wise and returns the Boolean result tensor encoded as a byte: 0 or 1.
Declaration
public TorchSharp.ByteTensor LogicalAny (int dimension, bool keepdim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to process along. |
| System.Boolean | keepdim | true if the reduction dimension should be kept, false otherwise. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
LogicalAnyAll()
Compares all the elements of the tensor using 'OR' and returns the Boolean result.
Declaration
public bool LogicalAnyAll ();
Returns
| Type | Description |
|---|---|
| System.Boolean | To be added. |
LShift(Byte)
Performs the LShift operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor LShift (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.LShift(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
LShift(ByteTensor, Byte, ByteTensor)
Performs the LShift operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void LShift (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
LtTensor(ByteTensor)
Performs an LtTensor of the tensor with the provided
Declaration
public TorchSharp.ByteTensor LtTensor (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
LtTensorT(ByteTensor)
Performs an LtTensorT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor LtTensorT (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
LtValue(Byte)
Performs an LtValue of the tensor with the provided
Declaration
public TorchSharp.ByteTensor LtValue (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
LtValueT(Byte)
Performs an LtValueT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor LtValueT (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
MaskedCopy(ByteTensor, ByteTensor)
Copies elements from the source tensor to the locations indicated by the mask.
Declaration
public void MaskedCopy (TorchSharp.ByteTensor mask, TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | mask | A byte tensor with values 0 or 1 indicating the locations where in the destination the value should be filled. |
| ByteTensor | src | The source tensor. |
Remarks
There must be at least as many elements in the source tensor as there are 1s in the mask.
MaskedFill(ByteTensor, Byte)
Fills the tensor with the specified value at the locations indicated by the mask.
Declaration
public void MaskedFill (TorchSharp.ByteTensor mask, byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | mask | A byte tensor with values 0 or 1 indicating the locations where the value should be filled. |
| System.Byte | value | The value to write at the indicated locations. |
MaskedSelect(ByteTensor, ByteTensor)
Copies elements from the source tensor at the locations indicated by the mask.
Declaration
public void MaskedSelect (TorchSharp.ByteTensor mask, TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | mask | A byte tensor with values 0 or 1 indicating the locations where in the source the value should be fetched. |
| ByteTensor | src | The source tensor. |
Remarks
There will be as many elements in the tensor as there are 1s in the mask. There must be at least as many elements in the source tensor as there are 1s in the mask.
Match(ByteTensor, Byte)
Match
Declaration
public TorchSharp.ByteTensor Match (TorchSharp.ByteTensor m2, byte gain);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | m2 | To be added. |
| System.Byte | gain | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Max(Int32, Boolean)
Computes the max of all the elements of the tensor along the given dimension.
Declaration
public Tuple<TorchSharp.ByteTensor,TorchSharp.LongTensor> Max (int dimension, bool keepdim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to process along. |
| System.Boolean | keepdim | true if the reduction dimension should be kept, false otherwise. |
Returns
| Type | Description |
|---|---|
| System.Tuple<ByteTensor,LongTensor> | A tuple containing the values and indices of the resulting elements. |
MaxAll()
Returns the maximum value of the elements in the tensor.
Declaration
public byte MaxAll ();
Returns
| Type | Description |
|---|---|
| System.Byte | The maximum value of the tensor. |
MeanAll()
Returns the mean of the elements in the tensor.
Declaration
public long MeanAll ();
Returns
| Type | Description |
|---|---|
| System.Int64 | The mean of the tensor. |
Median(Int32, Boolean)
Computes the median of all the elements of the tensor along the given dimension.
Declaration
public Tuple<TorchSharp.ByteTensor,TorchSharp.LongTensor> Median (int dimension, bool keepdim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to process along. |
| System.Boolean | keepdim | true if the reduction dimension should be kept, false otherwise. |
Returns
| Type | Description |
|---|---|
| System.Tuple<ByteTensor,LongTensor> | A tuple containing the values and indices of the resulting elements. |
MedianAll()
Returns the median of the elements in the tensor.
Declaration
public byte MedianAll ();
Returns
| Type | Description |
|---|---|
| System.Byte | The median of the tensor. |
Min(Int32, Boolean)
Computes the min of all the elements of the tensor along the given dimension.
Declaration
public Tuple<TorchSharp.ByteTensor,TorchSharp.LongTensor> Min (int dimension, bool keepdim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to process along. |
| System.Boolean | keepdim | true if the reduction dimension should be kept, false otherwise. |
Returns
| Type | Description |
|---|---|
| System.Tuple<ByteTensor,LongTensor> | A tuple containing the values and indices of the resulting elements. |
MinAll()
Returns the minimum value of the elements in the tensor.
Declaration
public byte MinAll ();
Returns
| Type | Description |
|---|---|
| System.Byte | The minimum value of the tensor. |
Mode(Int32, Boolean)
Computes the mode of all the elements of the tensor along the given dimension.
Declaration
public Tuple<TorchSharp.ByteTensor,TorchSharp.LongTensor> Mode (int dimension, bool keepdim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to process along. |
| System.Boolean | keepdim | true if the reduction dimension should be kept, false otherwise. |
Returns
| Type | Description |
|---|---|
| System.Tuple<ByteTensor,LongTensor> | A tuple containing the values and indices of the resulting elements. |
Mul(Byte)
Performs the Mul operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor Mul (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.Mul(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
Mul(ByteTensor, Byte, ByteTensor)
Performs the Mul operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void Mul (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
Narrow(Int32, Int64, Int64)
Returns a new Tensor which is a narrowed version of the current one: the dimension dim is narrowed from firstIndexto firstIndex+size-1.
Declaration
public TorchSharp.ByteTensor Narrow (int dim, long firstIndex, long size);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | The dimension to narrow |
| System.Int64 | firstIndex | Initial index to narrow |
| System.Int64 | size | Number of elements |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
NeTensor(ByteTensor)
Performs an NeTensor of the tensor with the provided
Declaration
public TorchSharp.ByteTensor NeTensor (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
NeTensorT(ByteTensor)
Performs an NeTensorT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor NeTensorT (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
NeValue(Byte)
Performs an NeValue of the tensor with the provided
Declaration
public TorchSharp.ByteTensor NeValue (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
NeValueT(Byte)
Performs an NeValueT of the tensor with the provided
Declaration
public TorchSharp.ByteTensor NeValueT (byte src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | src | The right-hand-side operand. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
NewWithStorage1d(IntPtr, Int64, Int64)
Access to element at the specified position in the tensor
Declaration
public TorchSharp.ByteTensor NewWithStorage1d (IntPtr offset, long size, long stride);
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | offset | Offset within the input storage the storage of the new tensor will start from. |
| System.Int64 | size | Size of the first dimension. |
| System.Int64 | stride | Stride of the first dimension. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
NewWithStorage2d(IntPtr, Int64, Int64, Int64, Int64)
Access to element at the specified position in the tensor
Declaration
public TorchSharp.ByteTensor NewWithStorage2d (IntPtr offset, long size0, long stride0, long size1, long stride1);
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | offset | Offset within the input storage the storage of the new tensor will start from. |
| System.Int64 | size0 | Size of the first dimension. |
| System.Int64 | stride0 | Stride of the first dimension. |
| System.Int64 | size1 | Size of the second dimension. |
| System.Int64 | stride1 | Stride of the second dimension. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
NewWithStorage3d(IntPtr, Int64, Int64, Int64, Int64, Int64, Int64)
Access to element at the specified position in the tensor
Declaration
public TorchSharp.ByteTensor NewWithStorage3d (IntPtr offset, long size0, long stride0, long size1, long stride1, long size2, long stride2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | offset | Offset within the input storage the storage of the new tensor will start from. |
| System.Int64 | size0 | Size of the first dimension. |
| System.Int64 | stride0 | Stride of the first dimension. |
| System.Int64 | size1 | Size of the second dimension. |
| System.Int64 | stride1 | Stride of the second dimension. |
| System.Int64 | size2 | Size of the third dimension. |
| System.Int64 | stride2 | Stride of the third dimension. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
NewWithStorage4d(IntPtr, Int64, Int64, Int64, Int64, Int64, Int64, Int64, Int64)
Access to element at the specified position in the tensor
Declaration
public TorchSharp.ByteTensor NewWithStorage4d (IntPtr offset, long size0, long stride0, long size1, long stride1, long size2, long stride2, long size3, long stride3);
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | offset | Offset within the input storage the storage of the new tensor will start from. |
| System.Int64 | size0 | Size of the first dimension. |
| System.Int64 | stride0 | Stride of the first dimension. |
| System.Int64 | size1 | Size of the second dimension. |
| System.Int64 | stride1 | Stride of the second dimension. |
| System.Int64 | size2 | Size of the third dimension. |
| System.Int64 | stride2 | Stride of the third dimension. |
| System.Int64 | size3 | Size of the fourth dimension. |
| System.Int64 | stride3 | Stride of the fourth dimension. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
NonZero()
Finds the indices of all non-zero elements.
Declaration
public TorchSharp.LongTensor NonZero ();
Returns
| Type | Description |
|---|---|
| LongTensor | To be added. |
NumElements()
Get the number of elements in the tensor.
Declaration
public long NumElements ();
Returns
| Type | Description |
|---|---|
| System.Int64 | To be added. |
Prod(Int32, Boolean)
Computes the product of all the elements of the tensor along the given dimension.
Declaration
public TorchSharp.ByteTensor Prod (int dimension, bool keepdim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to process along. |
| System.Boolean | keepdim | true if the reduction dimension should be kept, false otherwise. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
ProdAll()
Returns the product of the elements in the tensor.
Declaration
public long ProdAll ();
Returns
| Type | Description |
|---|---|
| System.Int64 | The product of the tensor. |
Put(LongTensor, ByteTensor, Boolean)
Put
Declaration
public void Put (TorchSharp.LongTensor index, TorchSharp.ByteTensor src, bool accumulate);
Parameters
| Type | Name | Description |
|---|---|---|
| LongTensor | index | Indices of entries to copy. |
| ByteTensor | src | To be added. |
| System.Boolean | accumulate | To be added. |
Random(Int64)
Populates the tensor with random values from 0 to n, using a newly initialized Random number geneator.
Declaration
public void Random (long n);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | n | The upper limit for the values to be generated |
Random(RandomGenerator)
Populates the tensor with random values using the provided random source generator.
Declaration
public void Random (TorchSharp.RandomGenerator source);
Parameters
| Type | Name | Description |
|---|---|---|
| RandomGenerator | source | The random generator source |
Random(RandomGenerator, Int64)
Populates the tensor with random values from 0 to n, using the provided random source generator.
Declaration
public void Random (TorchSharp.RandomGenerator source, long n);
Parameters
| Type | Name | Description |
|---|---|---|
| RandomGenerator | source | The random generator source |
| System.Int64 | n | The upper limit for the values to be generated |
RandPerm(RandomGenerator, Int64)
Populates the tensor with random values from 0 to n, using the provided random source generator.
Declaration
public void RandPerm (TorchSharp.RandomGenerator source, long max);
Parameters
| Type | Name | Description |
|---|---|---|
| RandomGenerator | source | The random generator source |
| System.Int64 | max | The upper limit for the values to be generated |
Range(Int64, Int64, Int64)
Create a range spanning from xmin to xmax, with 'step' between each value.
Declaration
public static TorchSharp.ByteTensor Range (long xmin, long xmax, long step);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | xmin | The lower bound of the range. |
| System.Int64 | xmax | The upper bound of the range. |
| System.Int64 | step | The value step. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
Remainder(Byte)
Performs the Remainder operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor Remainder (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.Remainder(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
Remainder(ByteTensor, Byte, ByteTensor)
Performs the Remainder operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void Remainder (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
Resize1d(Int64)
Resizes the tensor to be one dimensional with the specified size, the contents of the tensor after this are undetermined.
Declaration
public void Resize1d (long size);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | size | The desired new size for the first dimension of the tensor. |
Resize2d(Int64, Int64)
Resizes the tensor to be two dimensional with the specified size, the contents of the tensor after this are undetermined.
Declaration
public void Resize2d (long size0, long size1);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | size0 | The desired new size for the first dimension of the tensor. |
| System.Int64 | size1 | The desired new size for the second dimension of the tensor. |
Resize3d(Int64, Int64, Int64)
Resizes the tensor to be three dimensional with the specified size, the contents of the tensor after this are undetermined.
Declaration
public void Resize3d (long size0, long size1, long size2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | size0 | The desired new size for the first dimension of the tensor. |
| System.Int64 | size1 | The desired new size for the second dimension of the tensor. |
| System.Int64 | size2 | The desired new size for the third dimension of the tensor. |
Resize4d(Int64, Int64, Int64, Int64)
Resizes the tensor to be four dimensional with the specified size, the contents of the tensor after this are undetermined.
Declaration
public void Resize4d (long size0, long size1, long size2, long size3);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | size0 | The desired new size for the first dimension of the tensor. |
| System.Int64 | size1 | The desired new size for the second dimension of the tensor. |
| System.Int64 | size2 | The desired new size for the third dimension of the tensor. |
| System.Int64 | size3 | The desired new size for the fourth dimension of the tensor. |
Resize5d(Int64, Int64, Int64, Int64, Int64)
Resizes the tensor to be five dimensional with the specified size, the contents of the tensor after this are undetermined.
Declaration
public void Resize5d (long size0, long size1, long size2, long size3, long size4);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | size0 | The desired new size for the first dimension of the tensor. |
| System.Int64 | size1 | The desired new size for the second dimension of the tensor. |
| System.Int64 | size2 | The desired new size for the third dimension of the tensor. |
| System.Int64 | size3 | The desired new size for the fourth dimension of the tensor. |
| System.Int64 | size4 | The desired new size for the fifth dimension of the tensor. |
ResizeAs(ByteTensor)
Resizes the tensor to match the dimensions of the specified src tensor, the contents of the tensor after this are undetermined.
Declaration
public void ResizeAs (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The source tensor whose shape will be mirrored by this tensor. |
RShift(Byte)
Performs the RShift operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor RShift (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.RShift(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
RShift(ByteTensor, Byte, ByteTensor)
Performs the RShift operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void RShift (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
Scatter(Int32, LongTensor, ByteTensor)
Scatter
Declaration
public void Scatter (int dim, TorchSharp.LongTensor index, TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | To be added. |
| LongTensor | index | Indices of entries to copy. |
| ByteTensor | src | To be added. |
ScatterAdd(Int32, LongTensor, ByteTensor)
ScatterAdd
Declaration
public void ScatterAdd (int dim, TorchSharp.LongTensor index, TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | To be added. |
| LongTensor | index | Indices of entries to copy. |
| ByteTensor | src | To be added. |
ScatterFill(Int32, LongTensor, Byte)
ScatterAdd
Declaration
public void ScatterFill (int dim, TorchSharp.LongTensor index, byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | To be added. |
| LongTensor | index | Indices of entries to copy. |
| System.Byte | value | To be added. |
Select(Int32, Int64)
Returns a new Tensor which is a tensor slice at the given index in the dimension dim.
Declaration
public TorchSharp.ByteTensor Select (int dim, long slideIndex);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | Dimension to select |
| System.Int64 | slideIndex | Beginning of the tensor slice |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
Remarks
The returned tensor has one less dimension: the dimension dim is removed. As a result, it is not possible to select() on a 1D tensor.
Set(ByteTensor)
The tensor will use the same storage as the provided source, so any changes to that tensor are visible on this one.
Declaration
public void Set (TorchSharp.ByteTensor src);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The source tensor which contains the data.. |
Sign()
Computes the sign of the tensor.
Declaration
public TorchSharp.ByteTensor Sign ();
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
Sort(Int32, Boolean)
Sorts the elements of the tensor along the given dimension.
Declaration
public Tuple<TorchSharp.ByteTensor,TorchSharp.LongTensor> Sort (int dimension, bool descending);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to sort along. |
| System.Boolean | descending | 0 if ascending, 1 if descending. |
Returns
| Type | Description |
|---|---|
| System.Tuple<ByteTensor,LongTensor> | A tuple containing the values and indices of the sorted elements. |
Squeeze()
Squeeze the tensor, i.e. remove all 1-sized dimensions.
Declaration
public void Squeeze ();
Squeeze1d(ByteTensor, Int32)
Squeeze the tensor, by removing the specified dimension.
Declaration
public void Squeeze1d (TorchSharp.ByteTensor src, int dimension);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The source tensor which contains the data. |
| System.Int32 | dimension | The dimension to remove. |
Sub(Byte)
Performs the Sub operation on each element of the tensor with the
Declaration
public TorchSharp.ByteTensor Sub (byte value);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Remarks
If you want to avoid the allocation of a new tensor, you can use the alternative method PytorchSharp.Sub(PytorchSharp.ByteTensor, Byte, PytorchSharp.Byte).
Sub(ByteTensor, Byte, ByteTensor)
Performs the Sub operation on each element of the source with the provided scalar. The result tensor specified as the last parameters is resized to match the source.
Declaration
public static void Sub (TorchSharp.ByteTensor source, byte value, TorchSharp.ByteTensor result);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | source | Source tensor on which the operation will take place. |
| System.Byte | value | The scalar value that the operation uses. |
| ByteTensor | result | The tensor where the result will be placed |
Remarks
For each element in the
SubScaled(Byte, Byte)
Performs an SubScaled of the tensor with the provided
Declaration
public TorchSharp.ByteTensor SubScaled (byte value1, byte value2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | value1 | To be added. |
| System.Byte | value2 | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | This returns a new tensor with the same shape as the tensor this operates on. |
Sum(Int32, Boolean)
Computes the sum of all the elements of the tensor along the given dimension.
Declaration
public TorchSharp.ByteTensor Sum (int dimension, bool keepdim);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dimension | The dimension to process along. |
| System.Boolean | keepdim | true if the reduction dimension should be kept, false otherwise. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
SumAll()
Returns the sum of the elements in the tensor.
Declaration
public long SumAll ();
Returns
| Type | Description |
|---|---|
| System.Int64 | The sum of the tensor. |
Take(ByteTensor, LongTensor)
Take
Declaration
public void Take (TorchSharp.ByteTensor src, TorchSharp.LongTensor index);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | To be added. |
| LongTensor | index | Indices of entries to copy. |
TopK(Int64, Int32, Int32, Boolean)
Finds the top k of all the elements of the tensor along the given dimension.
Declaration
public Tuple<TorchSharp.ByteTensor,TorchSharp.LongTensor> TopK (long k, int dim, int dir, bool sorted);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | k | The number of elements to fetch. |
| System.Int32 | dim | The dimension along which to sort and find k elements. |
| System.Int32 | dir | 0 if ascending, 1 if descending. |
| System.Boolean | sorted | 1 if the result should be sorted, 0 if they should keep their original order. |
Returns
| Type | Description |
|---|---|
| System.Tuple<ByteTensor,LongTensor> | A tuple containing the values and indices of the top 'k' elements. |
ToString()
Get a string representation of the tensor.
Declaration
public override string ToString ();
Returns
| Type | Description |
|---|---|
| System.String | To be added. |
Trace()
Computes the trace of the tensor.
Declaration
public long Trace ();
Returns
| Type | Description |
|---|---|
| System.Int64 | To be added. |
Transpose(Int32, Int32)
Returns a tensor where dimensions dim1 and dim2 have been swapped.
Declaration
public TorchSharp.ByteTensor Transpose (int dim1, int dim2);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim1 | First dimension |
| System.Int32 | dim2 | Second dimension |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
TriL(Int64)
Lower triangle.
Declaration
public TorchSharp.ByteTensor TriL (long k);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | k | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
TriU(Int64)
Upper triangle.
Declaration
public TorchSharp.ByteTensor TriU (long k);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | k | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
Unfold(Int32, Int64, Int64)
Returns a tensor which contains all slices of size size in the dimension dim. Step between two slices is given by step.
Declaration
public TorchSharp.ByteTensor Unfold (int dim, long size, long step);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dim | To be added. |
| System.Int64 | size | To be added. |
| System.Int64 | step | To be added. |
Returns
| Type | Description |
|---|---|
| ByteTensor | To be added. |
Unsqueeze1d(ByteTensor, Int32)
Unsqueeze the tensor, by inserting the specified dimension of size 1.
Declaration
public void Unsqueeze1d (TorchSharp.ByteTensor src, int dimension);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteTensor | src | The source tensor which contains the data. |
| System.Int32 | dimension | The dimension to insert. |
ZeroFill()
Fills the tensor with zeros
Declaration
public void ZeroFill ();


Research and analysis
School admissions code and the social make-up of secondary schools
How changes to the 'School admissions code' in 2003 and 2007 affected the social-make-up of secondary schools in England.
Documents
Ref:
DFE-RR038
PDF
,
485KB
,
30 pages
Details
Research into the impact that changes to the
‘School admissions code’
had on the social make-up of English secondary schools.


Netizens Stunned as T.I.'s Daughter Unfollows Him on Instagram Amid 'Hymen Checks' Reveal
Deyjah Harris has also apparently unfollowed both her stepmother and stepsister on Instagram, though she still follows the former on Twitter.
Deyjah Harris, daughter of famous American rapper Clifford Joseph Harris Jr. known professionally as "T.I.", is no longer following her father on Instagram, E! News reports.
As the media outlet points out, it wasn’t immediately clear when exactly Deyjah performed this move, speculations abound that it took place after the rapper said during a recent "Ladies Like Us" podcast that he takes his daughter to gynecologist for regular hymen checks.
"But I will say, as of her 18th birthday, her hymen is still intact," T.I. said.
Also, it appears that Deyjah is no longer following T.I.'s wife, Tameka "Tiny" Cottle, and her stepsister Zonnique Pullins on Instagram, though she does follow Tiny on Twitter, Hollywood Unlocked notes.
T.I.'s actions have, perhaps predictably, evoked a wave of outrage online.
Some apparently took a dim view of the way this issue was covered by media.
And yet there were also those who offered a different take on the rapper’s behavior.


World Cases
World Deaths
World Recovered
World Critical
Country
Cases
New Cases
Active Cases
Deaths
Recovered
New Deaths
Critical