![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NNETypes.h>
Public Member Functions | |
| FSymbolicTensorShape ()=default | |
| FSymbolicTensorShape (const FSymbolicTensorShape &OtherShape)=default | |
| TConstArrayView< int32 > | GetData () const |
| int32 | Rank () const |
| NNE_API bool | IsConcrete () const |
| NNE_API bool | operator== (const FSymbolicTensorShape &OtherShape) const |
| NNE_API bool | operator!= (const FSymbolicTensorShape &OtherShape) const |
| NNE_API void | operator= (const FSymbolicTensorShape &OtherShape) |
Static Public Member Functions | |
| static NNE_API FSymbolicTensorShape | Make (TConstArrayView< int32 > Data) |
Static Public Attributes | |
| static constexpr int32 | MaxRank = 8 |
A symbolic tensor shape represents the shape of a tensor with potentially variable dimension.
The variable dimensions are represented by -1 values.
|
default |
Default construct a symbolic tensor shape.
|
default |
Construct this symbolic tensor shape from another one.
| OtherShape | the other symbolic tensor shape to copy from. |
|
inline |
Get the dimensions of the symbolic tensor shape.
| bool UE::NNE::FSymbolicTensorShape::IsConcrete | ( | ) | const |
Check if the symbolic tensor shape has no variable dimensions, aka is concrete.
|
static |
Construct a symbolic tensor shape with the given dimensions.
| Data | an array of dimensions. |
| bool UE::NNE::FSymbolicTensorShape::operator!= | ( | const FSymbolicTensorShape & | OtherShape | ) | const |
Check if the symbolic tensor shape is different from another one.
| OtherShape | the other symbolic tensor shape. |
| void UE::NNE::FSymbolicTensorShape::operator= | ( | const FSymbolicTensorShape & | OtherShape | ) |
Assign this symbolic tensor shape from another one.
| OtherShape | the other symbolic tensor shape to copy from. |
| bool UE::NNE::FSymbolicTensorShape::operator== | ( | const FSymbolicTensorShape & | OtherShape | ) | const |
Check if the symbolic tensor shape is equal to another one.
| OtherShape | the other symbolic tensor shape. |
|
inline |
Get the number of dimensions of the symbolic tensor shape, aka the rank.
The maximum number of dimensions supported by the symbolic tensor shape, aka the rank.