Struct SymbolicTensorDim
Represents a single dimension of a SymbolicTensorShape
.
Inherited Members
Namespace: Unity.Sentis
Assembly: solution.dll
Syntax
[Serializable]
public struct SymbolicTensorDim
Constructors
Name | Description |
---|---|
Symbolic |
Initializes and returns an instance of |
Symbolic |
Initializes and returns an instance of |
Properties
Name | Description |
---|---|
is |
Whether the dimension is dynamic. If the value is |
is |
Whether the dimension is fixed. If the value is |
param | The value of the dimension. You can only call this method if |
value | The value of the dimension. You can only call this method if |
Methods
Name | Description |
---|---|
Equals(object) | Determines whether the specified object is equal to the current |
Equals |
Whether the current 'SymbolicTensorDim' is 'DimType.Param' and is equal to the specified dim. |
Equals |
Whether the current 'SymbolicTensorDim' is 'DimType.Value' and is equal to the specified dim. |
GCD(Symbolic |
Calculates the greatest common divisor of two |
Get |
Serves as the default hash function. |
To |
Returns a string that represents the |
Operators
Name | Description |
---|---|
operator +(int, Symbolic |
Adds a |
operator +(Symbolic |
Adds an |
operator +(Symbolic |
Adds two |
operator /(int, Symbolic |
Divides an |
operator /(Symbolic |
Divides a |
operator /(Symbolic |
Divides two |
operator ==(int, Symbolic |
Determines whether a 'SymbolicTensorDim' is equal to a value. |
operator ==(Symbolic |
Determines whether a 'SymbolicTensorDim' is equal to a value. |
operator ==(Symbolic |
Determines whether two 'SymbolicTensorDim' objects are equal. |
operator >(Symbolic |
Whether a |
operator >=(Symbolic |
Whether a |
operator !=(int, Symbolic |
Determines whether a 'SymbolicTensorDim' is not equal to a value. |
operator !=(Symbolic |
Determines whether a 'SymbolicTensorDim' is not equal to a value. |
operator !=(Symbolic |
Determines whether two 'SymbolicTensorDim' objects are not equal. |
operator <(Symbolic |
Whether a |
operator <=(Symbolic |
Whether a |
operator *(int, Symbolic |
Multiplies an |
operator *(Symbolic |
Multiplies a |
operator *(Symbolic |
Multiplies two |
operator -(int, Symbolic |
Subtracts a |
operator -(Symbolic |
Subtracts an |
operator -(Symbolic |
Subtracts a |