|
NVIDIA NvNeural SDK
2021.1
GPU inference framework for NVIDIA Nsight Deep Learning Designer
|
TensorFormat describes a specific tensor shape (element type and layout). More...
#include <nvneural/CoreTypes.h>
Public Member Functions | |
| bool | operator!= (const TensorFormat &other) const noexcept |
| Inequality operator for convenience. | |
| bool | operator< (const TensorFormat &other) const noexcept |
| Less-than operator for convenience. More... | |
| bool | operator== (const TensorFormat &other) const noexcept |
| Equality operator for convenience. | |
| TensorFormat () | |
| Convenience default constructor. Sets everything to "invalid.". | |
| TensorFormat (TensorDataType elementType_, TensorDataLayout layout_) | |
| Convenience constructor. | |
Public Attributes | |
| TensorDataType | elementType |
| Element type (e.g., Float) | |
| TensorDataLayout | layout |
| Element layout (e.g., NCHW) | |
TensorFormat describes a specific tensor shape (element type and layout).
|
inlinenoexcept |
Less-than operator for convenience.
The partial ordering it defines is suitable for std::map.