ONE - On-device Neural Engine
|
Data Structures | |
struct | AttrTypeTrait |
struct | AttrTypeTrait< COpAttrType::Float > |
struct | AttrTypeTrait< COpAttrType::Int > |
class | CircleDialect |
class | CircleInstanceNorm |
INSTANCE_NORM in circle. More... | |
struct | CircleNode |
struct | CircleNodeImpl |
class | CircleNodeMixin |
class | CircleNodeMixin< CircleNodeTrait::FusedActFunc > |
struct | CircleNodeMutableVisitor |
struct | CircleNodeMutableVisitorBase |
struct | CircleNodeVisitor |
struct | CircleNodeVisitorBase |
struct | CircleShapeInferenceRule |
struct | CircleTypeInferenceRule |
Type Inference Rule for CircleDialect. More... | |
struct | COpAttrData |
Struct that holds attr type. More... | |
struct | COpAttrFloat |
Struct that holds attr data of float type. More... | |
struct | COpAttrInt |
Struct that holds attr data of int type. More... | |
class | COpCall |
Class to calls custom operation. More... | |
class | COpDialect |
A singleton for locoex custom op Dialect. More... | |
struct | COpNode |
class | COpNodeSummaryBuilder |
struct | COpShapeInferenceRule |
Shape inference rule for COpDialect. More... | |
struct | COpTypeInferenceRule |
Type Inference Rule for COpDialect. More... | |
class | Filter |
class | FixedArityNode |
Nodes with the fixed number of inputs. More... | |
class | Stride |
class | TFLAdd |
ADD in TensorFlow Lite. More... | |
class | TFLAveragePool2D |
AVERAGE_POOL_2D in TensorFlow Lite. More... | |
class | TFLConcatenation |
CONCATENATION in TensorFlow Lite. More... | |
class | TFLConst |
Class to build tensor data. More... | |
class | TFLConv2D |
CONV_2D in TensorFlow Lite. More... | |
class | TFLDepthwiseConv2D |
DEPTHWISE_CONV_2D in TensorFlow Lite. More... | |
class | TFLDialect |
class | TFLDiv |
DIV in TensorFlow Lite. More... | |
class | TFLFullyConnected |
FULLY_CONNECTED in TensorFlow Lite. More... | |
class | TFLMaximum |
MAXIMUM in TensorFlow Lite. More... | |
class | TFLMaxPool2D |
MAX_POOL_2D in TensorFlow Lite. More... | |
class | TFLMean |
class | TFLMul |
MUL in TensorFlow Lite. More... | |
struct | TFLNode |
struct | TFLNodeImpl |
class | TFLNodeMixin |
class | TFLNodeMixin< TFLNodeTrait::Bias > |
Mixin class for nodes that has a bias input. More... | |
class | TFLNodeMixin< TFLNodeTrait::FusedActFunc > |
struct | TFLNodeMutableVisitor |
struct | TFLNodeMutableVisitorBase |
struct | TFLNodeVisitor |
struct | TFLNodeVisitorBase |
class | TFLRelu |
class | TFLRelu6 |
class | TFLReshape |
class | TFLRsqrt |
struct | TFLShapeInferenceRule |
class | TFLSqrt |
class | TFLSquaredDifference |
class | TFLSub |
SUB in TensorFlow Lite. More... | |
class | TFLTranspose |
TRANSPOSE in TensorFlow Lite. More... | |
class | TFLTransposeConv |
TRANSPOSE_CONV in TensorFlow Lite. More... | |
struct | TFLTypeInferenceRule |
Type Inference Rule for TFLDialect. More... | |
class | VariadicArityNode |
Nodes with the variadic inputs. More... | |
Enumerations | |
enum class | CircleNodeTrait { FusedActFunc } |
enumeration of mixin class More... | |
enum class | CircleOpcode { CIRCLE_NODE } |
enum class | FusedActFunc { UNDEFINED , NONE , RELU , RELU6 } |
enum class | Padding { UNDEFINED , SAME , VALID } |
enum class | TFLNodeTrait { FusedActFunc , Bias } |
enumeration of mixin class More... | |
enum class | TFLOpcode { TFL_NODE } |
enum class | COpAttrType { Int , Float } |
Tensorflow attribute type Refer to https://www.tensorflow.org/guide/extend/op#attr_types. More... | |
Functions | |
INSTANTIATE (loco::DataType::S32) | |
INSTANTIATE (loco::DataType::FLOAT32) | |
void | set_new_shape (locoex::TFLReshape *node, int32_t *base, uint32_t size) |
Set both TFLReshape's 2nd input as TFLConst, and newShape attribute with same value. | |
|
strong |
|
strong |
Enumerator | |
---|---|
CIRCLE_NODE |
Definition at line 23 of file CircleOpcode.h.
|
strong |
Tensorflow attribute type Refer to https://www.tensorflow.org/guide/extend/op#attr_types.
Enumerator | |
---|---|
Int | |
Float |
Definition at line 29 of file COpAttrTypes.h.
|
strong |
Enumerator | |
---|---|
UNDEFINED | |
NONE | |
RELU | |
RELU6 |
Definition at line 24 of file FusedActFunc.h.
|
strong |
Enumerator | |
---|---|
UNDEFINED | |
SAME | |
VALID |
Definition at line 37 of file TFLNodes.h.
|
strong |
|
strong |
Enumerator | |
---|---|
TFL_NODE |
Definition at line 23 of file TFLOpcode.h.
locoex::INSTANTIATE | ( | loco::DataType::FLOAT32 | ) |
locoex::INSTANTIATE | ( | loco::DataType::S32 | ) |
void locoex::set_new_shape | ( | locoex::TFLReshape * | node, |
int32_t * | base, | ||
uint32_t | size | ||
) |
Set both TFLReshape's 2nd input as TFLConst, and newShape attribute with same value.
Definition at line 67 of file TFLNodes.cpp.
References loco::NodePool::create(), locoex::TFLReshape::Shape::dim(), EXO_ASSERT, loco::Node::graph(), locoex::TFLReshape::newShape(), loco::Graph::nodes(), locoex::TFLReshape::Shape::rank(), locoex::TFLReshape::shape(), locoex::TFLConst::size(), and size.
Referenced by exo::DepthwiseConv2DConverter::convert().