Navigation
API > API/Runtime > API/Runtime/NNE
References
| Module | NNE |
| Header | /Engine/Source/Runtime/NNE/Public/NNETypes.h |
| Include | #include "NNETypes.h" |
Syntax
class FSymbolicTensorShape
Remarks
A symbolic tensor shape represents the shape of a tensor with potentially variable dimension.
The variable dimensions are represented by -1 values.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default construct a symbolic tensor shape. | |||
FSymbolicTensorShape
(
const FSymbolicTensorShape& OtherShape |
Construct this symbolic tensor shape from another one. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TConstArrayView< int32 > | GetData () |
Get the dimensions of the symbolic tensor shape. | |
| bool | IsConcrete () |
Check if the symbolic tensor shape has no variable dimensions, aka is concrete. | |
| FSymbolicTensorShape | Make
(
TConstArrayView< int32 > Data |
Construct a symbolic tensor shape with the given dimensions. | |
| int32 | Rank () |
Get the number of dimensions of the symbolic tensor shape, aka the rank. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FSymbolicTensorShape& OtherShape |
Check if the symbolic tensor shape is different from another one. | |
| void | operator=
(
const FSymbolicTensorShape& OtherShape |
Assign this symbolic tensor shape from another one. | |
| bool | operator==
(
const FSymbolicTensorShape& OtherShape |
Check if the symbolic tensor shape is equal to another one. |
Constants
| Name | Description |
|---|---|
| MaxRank | The maximum number of dimensions supported by the symbolic tensor shape, aka the rank. |