ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Convert.h File Reference
#include <mio/tflite/schema_generated.h>
#include <tflchef.pb.h>

Go to the source code of this file.

Namespaces

namespace  tflchef
 

Functions

tflchef::TensorType tflchef::as_tflchef_type (const tflite::TensorType type)
 
tflchef::Activation tflchef::as_tflchef_activation (const tflite::ActivationFunctionType type)
 
tflchef::Padding tflchef::as_tflchef_padding (const tflite::Padding padding)
 
tflchef::MirrorPadMode tflchef::as_tflchef_mirrorpadmode (const tflite::MirrorPadMode mode)
 
tflchef::DimensionType tflchef::as_tflchef_sparse_dim_type (const tflite::DimensionType type)
 
tflchef::SparseIndexVecType tflchef::as_tflchef_sparse_idx_vec_type (const tflite::SparseIndexVector type)
 
template<typename DT >
std::vector< DT > tflchef::extract_buffer (const tflite::Buffer *buffer)
 extract buffer data to std::vector<DT>
 
template<typename T >
std::vector< T > tflchef::as_index_vector (const flatbuffers::Vector< T > *flat_array)