ONE - On-device Neural Engine
|
Functions | |
::tflite::BuiltinOperator | builtin_code_neutral (const ::tflite::OperatorCode *opcode) |
bool | is_valid (const ::tflite::OperatorCode *opcode) |
bool | is_custom (const ::tflite::OperatorCode *opcode) |
std::string | opcode_name (const ::tflite::OperatorCode *opcode) |
const char * | tensor_type (const ::tflite::Tensor *tensor) |
const char * | tensor_name (const ::tflite::Tensor *tensor) |
tflite::BuiltinOperator mio::tflite::builtin_code_neutral | ( | const ::tflite::OperatorCode * | opcode | ) |
This will provide v3/v3a format neutral BuiltinOperator
This function referenced https://github.com/tensorflow/tensorflow/blob/7d12007d7800d3714a02e05059f3ea602d1aec78/tensorflow/lite/schema/schema_utils.cc
Definition at line 33 of file Helper.cpp.
Referenced by tflinspect::Reader::builtin_code(), tflchef::TFliteImport::builtin_code(), tflread::Reader::builtin_code(), is_custom(), opcode_name(), and tflchef::TFliteImport::opcode_name().
bool mio::tflite::is_custom | ( | const ::tflite::OperatorCode * | opcode | ) |
Definition at line 55 of file Helper.cpp.
References builtin_code_neutral().
Referenced by opcode_name(), and tflchef::TFliteImport::opcode_name().
bool mio::tflite::is_valid | ( | const ::tflite::OperatorCode * | opcode | ) |
Definition at line 40 of file Helper.cpp.
Referenced by opcode_name(), tflinspect::Reader::opcode_name(), tflchef::TFliteImport::opcode_name(), and tflread::Reader::opcode_name().
std::string mio::tflite::opcode_name | ( | const ::tflite::OperatorCode * | opcode | ) |
Definition at line 61 of file Helper.cpp.
References builtin_code_neutral(), is_custom(), and is_valid().
Referenced by tfldump::dump_model(), tflinspect::Reader::opcode_name(), and tflread::Reader::opcode_name().
const char * mio::tflite::tensor_name | ( | const ::tflite::Tensor * | tensor | ) |
Definition at line 92 of file Helper.cpp.
Referenced by tfldump::dump_sub_graph(), tflchef::generate_recipe(), tflchef::set_inputs(), and tflchef::set_outputs().
const char * mio::tflite::tensor_type | ( | const ::tflite::Tensor * | tensor | ) |
Definition at line 87 of file Helper.cpp.
Referenced by tfldump::dump_sub_graph().