Struct SymbolicTensorShape
Represents the shape of an input tensor, or the predicted shape of a tensor before Sentis executes.
Inherited Members
Namespace: Unity.Sentis
Assembly: solution.dll
Syntax
[Serializable]
public struct SymbolicTensorShape
Constructors
Name | Description |
---|---|
SymbolicTensorShape(int) | Initializes and returns an instance of For example (9). |
SymbolicTensorShape(int, int) | Initializes and returns an instance of For example (8, 9). |
SymbolicTensorShape(int, int, int) | Initializes and returns an instance of For example (7, 8, 9). |
SymbolicTensorShape(int, int, int, int) | Initializes and returns an instance of For example (6, 7, 8, 9). |
SymbolicTensorShape(SymbolicTensorDim) | Initializes and returns an instance of For example (9). |
SymbolicTensorShape(SymbolicTensorDim, SymbolicTensorDim) | Initializes and returns an instance of For example (8, 9). |
SymbolicTensorShape(SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim) | Initializes and returns an instance of For example (7, 8, 9). |
SymbolicTensorShape(SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim) | Initializes and returns an instance of For example (6, 7, 8, 9). |
SymbolicTensorShape(SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim) | Initializes and returns an instance of For example (5, 6, 7, 8, 9). |
SymbolicTensorShape(SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim) | Initializes and returns an instance of For example (4, 5, 6, 7, 8, 9). |
SymbolicTensorShape(SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim) | Initializes and returns an instance of For example (3, 4, 5, 6, 7, 8, 9). |
SymbolicTensorShape(SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim, SymbolicTensorDim) | Initializes and returns an instance of For example (2, 3, 4, 5, 6, 7, 8, 9). |
SymbolicTensorShape(SymbolicTensorShape) | Returns a copy of another |
SymbolicTensorShape(TensorShape) | Initializes and returns an instance of |
Properties
Name | Description |
---|---|
this[int] | Gets or sets the tensor shape at a given axis. Ex: shape (3, 4, 5, 6) index 0, 1, 2, 3 -4,-3,-2,-1 shape (7, 3, 2) index 0, 1, 2 -3,-2,-1 |
rank | The rank of a |
Methods
Name | Description |
---|---|
Equals(object) | Determines whether the specified object is equal to the current |
GetHashCode() | Serves as the default hash function. |
IsFullyKnown() | Checks if the |
ToString() | Returns a string that represents the |
ToTensorShape() | Converts the |
UnknownOfRank(int) | Creates and returns a |
Operators
Name | Description |
---|---|
operator ==(SymbolicTensorShape, SymbolicTensorShape) | Compares two |
operator !=(SymbolicTensorShape, SymbolicTensorShape) | Compares two |