ONE - On-device Neural Engine
Loading...
Searching...
No Matches
CircleExporterUtils.cpp File Reference
#include "CircleExporterUtils.h"
#include "CircleBuiltinTypesMappingRule.h"
#include <oops/InternalExn.h>
#include <cassert>
#include <memory>

Go to the source code of this file.

Namespaces

namespace  luci
 

Functions

circle::ActivationFunctionType luci::to_circle_actfunc (luci::FusedActFunc func)
 
circle::TensorType luci::to_circle_tensortype (loco::DataType type)
 
circle::MirrorPadMode luci::to_circle_mirrorpadmode (luci::MirrorPadMode mode)
 
circle::RoPEMode luci::to_circle_rope (luci::RoPEMode mode)
 
circle::FullyConnectedOptionsWeightsFormat luci::to_circle_weightsformat (luci::CircleFullyConnected::WeightsFormat format)
 
circle::DimensionType luci::to_circle_dimensiontype (luci::DimensionType type)
 
flatbuffers::Offset< void > luci::to_circle_sparse_index_vector (flatbuffers::FlatBufferBuilder &fb, const SparseIndexVector &sparse_idx_vec)
 
circle::SparseIndexVector luci::to_circle_sparse_index_vector_type (luci::SparseIndexVectorType type)
 
circle::BuiltinOperator luci::circle_builtin_operator (const luci::CircleNode *node)
 
circle::BuiltinOptions luci::circle_builtin_options (const luci::CircleNode *node)
 
std::string luci::circle_custom_code (const luci::CircleNode *node)
 
flatbuffers::Offset< flatbuffers::Vector< uint8_t > > luci::circle_custom_options (flatbuffers::FlatBufferBuilder &fb, const luci::CircleNode *node)
 
circle::Padding luci::getOpPadding (const loco::Padding2D *pad, const loco::Stride< 2 > *stride, const ShapeDescription &ifm, const ShapeDescription &ofm)
 
circle::Padding luci::getOpPadding (const luci::Padding pad)
 
void luci::set_tensor_index (loco::Node *node, const CircleTensorIndex &tensor_id)
 
void luci::clear_tensor_index (loco::Node *node)
 
CircleTensorIndex luci::get_tensor_index (loco::Node *node)