ONE - On-device Neural Engine
Loading...
Searching...
No Matches
CircleExporterUtils.h File Reference
#include "SerializedData.h"
#include <luci/IR/CircleNodes.h>
#include <luci/Service/ShapeDescription.h>
#include <loco.h>
#include <mio/circle/schema_generated.h>

Go to the source code of this file.

Namespaces

namespace  luci
 

Typedefs

using luci::CircleTensorIndex = int32_t
 

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)
 
bool luci::check_size_limit (const flatbuffers::FlatBufferBuilder &fb, const uint64_t data_size)
 

Variables

constexpr uint64_t FLATBUFFERS_SIZE_MAX = 2147483648UL
 

Variable Documentation

◆ FLATBUFFERS_SIZE_MAX

constexpr uint64_t FLATBUFFERS_SIZE_MAX = 2147483648UL
inlineconstexpr