ONE - On-device Neural Engine
|
This header declares various as_tflite_TYPE functions. More...
#include <tflchef.pb.h>
#include <mio/tflite/schema_generated.h>
Go to the source code of this file.
Data Structures | |
class | sparsity::FormatConverter< T > |
Namespaces | |
namespace | sparsity |
Enumerations | |
enum | sparsity::TfLiteDimensionType { sparsity::kTfLiteDimDense = 0 , sparsity::kTfLiteDimSparseCSR , sparsity::kTfLiteDimDense = 0 , sparsity::kTfLiteDimSparseCSR } |
Functions | |
tflite::Padding | as_tflite_padding (const tflchef::Padding &value) |
tflite::ActivationFunctionType | as_tflite_activation (const tflchef::Activation &value) |
tflite::TensorType | as_tflite_tensortype (const tflchef::TensorType &value) |
tflite::MirrorPadMode | as_tflite_mirrorpadmode (const tflchef::MirrorPadMode &value) |
tflite::DimensionType | as_tflite_dimensiontype (const tflchef::DimensionType &value) |
tflite::SparseIndexVector | as_tflite_sparse_idx_vec_type (const tflchef::SparseIndexVecType &value) |
flatbuffers::Offset< void > | as_tflite_sparse_index_vec (flatbuffers::FlatBufferBuilder &fb, const ::tflchef::TensorSparsity_IndexVec &value) |
This header declares various as_tflite_TYPE functions.
Definition in file Convert.h.
tflite::ActivationFunctionType as_tflite_activation | ( | const tflchef::Activation & | value | ) |
Definition at line 37 of file Convert.cpp.
Referenced by AddChef::value(), AveragePool2DChef::value(), BidirectionalSequenceLSTMChef::value(), ConcatenationChef::value(), Conv2DChef::value(), DepthwiseConv2DChef::value(), DivChef::value(), L2Normalize::value(), L2Pool2DChef::value(), MaxPool2DChef::value(), MulChef::value(), SubChef::value(), SVDFChef::value(), TransposeConvChef::value(), and UnidirectionalSequenceLSTMChef::value().
tflite::DimensionType as_tflite_dimensiontype | ( | const tflchef::DimensionType & | value | ) |
Definition at line 106 of file Convert.cpp.
tflite::MirrorPadMode as_tflite_mirrorpadmode | ( | const tflchef::MirrorPadMode & | value | ) |
Definition at line 91 of file Convert.cpp.
Referenced by MirrorPadChef::value().
tflite::Padding as_tflite_padding | ( | const tflchef::Padding & | value | ) |
Definition at line 22 of file Convert.cpp.
Referenced by AveragePool2DChef::value(), Conv2DChef::value(), DepthwiseConv2DChef::value(), L2Pool2DChef::value(), MaxPool2DChef::value(), and TransposeConvChef::value().
tflite::SparseIndexVector as_tflite_sparse_idx_vec_type | ( | const tflchef::SparseIndexVecType & | value | ) |
Definition at line 121 of file Convert.cpp.
flatbuffers::Offset< void > as_tflite_sparse_index_vec | ( | flatbuffers::FlatBufferBuilder & | fb, |
const ::tflchef::TensorSparsity_IndexVec & | value | ||
) |
Definition at line 141 of file Convert.cpp.
References flatbuffers::FlatBufferBuilder::CreateVector().
tflite::TensorType as_tflite_tensortype | ( | const tflchef::TensorType & | value | ) |
Definition at line 60 of file Convert.cpp.
Referenced by ArgMaxChef::value(), ArgMinChef::value(), CastChef::value(), ShapeChef::value(), and UniqueChef::value().