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 |
|---|---|
| SymbolicTensorDim(char) | Initializes and returns an instance of |
| SymbolicTensorDim(int) | Initializes and returns an instance of |
Properties
| Name | Description |
|---|---|
| isParam | Whether the dimension is dynamic. If the value is |
| isValue | 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 |
| EqualsParam(SymbolicTensorDim) | Whether the current 'SymbolicTensorDim' is 'DimType.Param' and is equal to the specified dim. |
| EqualsValue(SymbolicTensorDim) | Whether the current 'SymbolicTensorDim' is 'DimType.Value' and is equal to the specified dim. |
| GCD(SymbolicTensorDim, SymbolicTensorDim) | Calculates the greatest common divisor of two |
| GetHashCode() | Serves as the default hash function. |
| ToString() | Returns a string that represents the |
Operators
| Name | Description |
|---|---|
| operator +(int, SymbolicTensorDim) | Adds a |
| operator +(SymbolicTensorDim, int) | Adds an |
| operator +(SymbolicTensorDim, SymbolicTensorDim) | Adds two |
| operator /(int, SymbolicTensorDim) | Divides an |
| operator /(SymbolicTensorDim, int) | Divides a |
| operator /(SymbolicTensorDim, SymbolicTensorDim) | Divides two |
| operator ==(int, SymbolicTensorDim) | Determines whether a 'SymbolicTensorDim' is equal to a value. |
| operator ==(SymbolicTensorDim, int) | Determines whether a 'SymbolicTensorDim' is equal to a value. |
| operator ==(SymbolicTensorDim, SymbolicTensorDim) | Determines whether two 'SymbolicTensorDim' objects are equal. |
| operator >(SymbolicTensorDim, int) | Whether a |
| operator >=(SymbolicTensorDim, int) | Whether a |
| operator !=(int, SymbolicTensorDim) | Determines whether a 'SymbolicTensorDim' is not equal to a value. |
| operator !=(SymbolicTensorDim, int) | Determines whether a 'SymbolicTensorDim' is not equal to a value. |
| operator !=(SymbolicTensorDim, SymbolicTensorDim) | Determines whether two 'SymbolicTensorDim' objects are not equal. |
| operator <(SymbolicTensorDim, int) | Whether a |
| operator <=(SymbolicTensorDim, int) | Whether a |
| operator *(int, SymbolicTensorDim) | Multiplies an |
| operator *(SymbolicTensorDim, int) | Multiplies a |
| operator *(SymbolicTensorDim, SymbolicTensorDim) | Multiplies two |
| operator -(int, SymbolicTensorDim) | Subtracts a |
| operator -(SymbolicTensorDim, int) | Subtracts an |
| operator -(SymbolicTensorDim, SymbolicTensorDim) | Subtracts a |