ONE - On-device Neural Engine
|
Data Structures | |
class | ShapeHint |
Class to represent axis and size of dims. User should enter axis and size of dim(s) when input tensor(s) contain(s) unknown dim(s). Such axis and size of dim(s) will be stored in ShapeHint. More... | |
class | TensorSignature |
Class to store input and output tensor information. More... | |
Typedefs | |
using | TensorName = std::string |
using | TensorSignatures = std::vector< std::unique_ptr< TensorSignature > > |
Enumerations | |
enum class | DataType { UNKNOWN , FLOAT32 } |
Supported Data Types. More... | |
Functions | |
TensorSignatures | load (const char *info_path) |
Function to create TensorSignatures defined in info file. | |
TensorSignatures | load (std::istream *stream, const char *path_for_error_msg) |
Function to create TensorSignatures from stream. | |
using tfinfo::v2::TensorName = typedef std::string |
Definition at line 75 of file TensorSignature.h.
using tfinfo::v2::TensorSignatures = typedef std::vector<std::unique_ptr<TensorSignature> > |
Definition at line 119 of file TensorSignature.h.
|
strong |
Supported Data Types.
Enumerator | |
---|---|
UNKNOWN | |
FLOAT32 |
Definition at line 34 of file TensorSignature.h.
TensorSignatures tfinfo::v2::load | ( | const char * | info_path | ) |
Function to create TensorSignatures defined in info file.
Definition at line 155 of file TensorInfoLoader.cpp.
TensorSignatures tfinfo::v2::load | ( | std::istream * | stream, |
const char * | path_for_error_msg | ||
) |
Function to create TensorSignatures from stream.
Definition at line 162 of file TensorInfoLoader.cpp.