Home
last modified time | relevance | path

Searched refs:PrimitiveC (Results 1 – 25 of 726) sorted by relevance

12345678910>>...30

/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_arithmetic_operation_parser.h30 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
38 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
46 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
54 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
62 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
70 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
78 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
86 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
94 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
102 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
[all …]
Donnx_arithmetic_operation_parser.cc51 ops::PrimitiveC *OnnxAddParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &on… in Parse()
57 ops::PrimitiveC *OnnxSubParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &on… in Parse()
63 ops::PrimitiveC *OnnxDivParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &on… in Parse()
69 ops::PrimitiveC *OnnxMulParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &on… in Parse()
75 ops::PrimitiveC *OnnxEqualParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &… in Parse()
81 ops::PrimitiveC *OnnxLessParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &o… in Parse()
87 ops::PrimitiveC *OnnxGreaterParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto… in Parse()
93 ops::PrimitiveC *OnnxFloorParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &… in Parse()
99 ops::PrimitiveC *OnnxAbsParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &on… in Parse()
105 ops::PrimitiveC *OnnxExpParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &on… in Parse()
[all …]
Donnx_activation_parser.h30 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
38 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
46 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
54 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
62 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
70 …ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_node) overr…
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_custom_parser.h34 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
38 static ops::PrimitiveC *DetectPostProcess(const std::vector<uint8_t> &custom_attr,
41 static ops::PrimitiveC *AudioSpectrogram(const std::vector<uint8_t> &custom_attr);
43 static ops::PrimitiveC *Mfcc(const std::vector<uint8_t> &custom_attr);
45 static ops::PrimitiveC *Predict(const std::vector<uint8_t> &custom_attr);
47 static ops::PrimitiveC *Normalize();
49 static ops::PrimitiveC *ExtractFeatures();
51 …ops::PrimitiveC *Rfft(const std::vector<uint8_t> &custom_attr, const std::unique_ptr<tflite::Opera…
55 static ops::PrimitiveC *FftReal();
57 static ops::PrimitiveC *FftImag();
[all …]
Dtflite_arithmetic_parser.h34 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
45 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
56 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
67 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
78 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
89 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
100 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
111 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
122 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
133 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
[all …]
Dtflite_arithmetic_parser.cc52 ops::PrimitiveC *TfliteAddParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
68 ops::PrimitiveC *TfliteMulParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
86 ops::PrimitiveC *TfliteDivParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
104 ops::PrimitiveC *TfliteSubParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
122 ops::PrimitiveC *TfliteFloorDivParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
133 ops::PrimitiveC *TfliteFloorModParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
144 ops::PrimitiveC *TflitePowParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
158 ops::PrimitiveC *TfliteSquaredDifferenceParser::Parse(const std::unique_ptr<tflite::OperatorT> &tfl… in Parse()
169 ops::PrimitiveC *TfliteMaximumParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
180 ops::PrimitiveC *TfliteMinimumParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
[all …]
Dtflite_custom_parser.cc37 ops::PrimitiveC *TfliteCustomParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
74 ops::PrimitiveC *TfliteCustomParser::DetectPostProcess(const std::vector<uint8_t> &custom_attr, in DetectPostProcess()
110 ops::PrimitiveC *TfliteCustomParser::AudioSpectrogram(const std::vector<uint8_t> &custom_attr) { in AudioSpectrogram()
122 ops::PrimitiveC *TfliteCustomParser::Mfcc(const std::vector<uint8_t> &custom_attr) { in Mfcc()
135 ops::PrimitiveC *TfliteCustomParser::Predict(const std::vector<uint8_t> &custom_attr) { in Predict()
144 ops::PrimitiveC *TfliteCustomParser::Normalize() { in Normalize()
150 ops::PrimitiveC *TfliteCustomParser::ExtractFeatures() { in ExtractFeatures()
156 ops::PrimitiveC *TfliteCustomParser::Rfft(const std::vector<uint8_t> &custom_attr, in Rfft()
177 ops::PrimitiveC *TfliteCustomParser::FftReal() { in FftReal()
183 ops::PrimitiveC *TfliteCustomParser::FftImag() { in FftImag()
[all …]
Dtflite_activation_parser.h34 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
45 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
56 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
67 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
78 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
89 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
100 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dtf_arithmetic_parser.h32 ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op,
42 ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op,
52 ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op,
62 ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op,
72 ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op,
82 ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op,
92 ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op,
102 ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op,
112 ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op,
122 ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op,
[all …]
Dtf_arithmetic_parser.cc52 ops::PrimitiveC *TFAddParser::Parse(const tensorflow::NodeDef &tf_op, in Parse()
66 ops::PrimitiveC *TFSubParser::Parse(const tensorflow::NodeDef &tf_op, in Parse()
80 ops::PrimitiveC *TFMulParser::Parse(const tensorflow::NodeDef &tf_op, in Parse()
94 ops::PrimitiveC *TFDivParser::Parse(const tensorflow::NodeDef &tf_op, in Parse()
108 ops::PrimitiveC *TFMaximumParser::Parse(const tensorflow::NodeDef &tf_op, in Parse()
122 ops::PrimitiveC *TFMinimumParser::Parse(const tensorflow::NodeDef &tf_op, in Parse()
136 ops::PrimitiveC *TFGreaterParser::Parse(const tensorflow::NodeDef &tf_op, in Parse()
150 ops::PrimitiveC *TFGreaterEqualParser::Parse(const tensorflow::NodeDef &tf_op, in Parse()
164 ops::PrimitiveC *TFLessParser::Parse(const tensorflow::NodeDef &tf_op, in Parse()
178 ops::PrimitiveC *TFLessEqualParser::Parse(const tensorflow::NodeDef &tf_op, in Parse()
[all …]
/third_party/mindspore/mindspore/core/ops/
Dprimitive_c.h29 class MS_CORE_API PrimitiveC : public Primitive {
34 explicit PrimitiveC(const std::string &name) : Primitive(name) {} in PrimitiveC() function
35 MS_DECLARE_PARENT(PrimitiveC, Primitive);
38 ~PrimitiveC() = default;
50 using OpPrimCDefineFunc = std::function<std::shared_ptr<PrimitiveC>()>;
97 std::shared_ptr<PrimitiveC> GetDefaultPrimC##primc() { \
Dscale.h32 class MS_CORE_API Scale : public PrimitiveC {
35 Scale() : PrimitiveC(kNameScale) {} in Scale()
38 explicit Scale(const std::string k_name) : PrimitiveC(k_name) {} in Scale()
43 MS_DECLARE_PARENT(Scale, PrimitiveC);
Ddiv.h31 class MS_CORE_API Div : public PrimitiveC {
34 Div() : PrimitiveC(kNameDiv) { InitIOName({"x", "y"}, {"output"}); } in Div()
35 …explicit Div(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"x", "y"}, {"output"}); } in Div()
38 MS_DECLARE_PARENT(Div, PrimitiveC);
Dprelu.h31 class MS_CORE_API PReLU : public PrimitiveC {
34 PReLU() : PrimitiveC(kNamePReLU) { InitIOName({"x"}, {"y"}); } in PReLU()
35 explicit PReLU(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"x"}, {"y"}); } in PReLU()
38 MS_DECLARE_PARENT(PReLU, PrimitiveC);
Dsub.h32 class MS_CORE_API Sub : public PrimitiveC {
35 Sub() : PrimitiveC(kNameSub) { InitIOName({"x", "y"}, {"output"}); } in Sub()
36 …explicit Sub(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"x", "y"}, {"output"}); } in Sub()
39 MS_DECLARE_PARENT(Sub, PrimitiveC);
Dtile.h32 class MS_CORE_API Tile : public PrimitiveC {
35 Tile() : PrimitiveC(kNameTile) { InitIOName({"x", "multiples"}, {"output"}); } in Tile()
36 …explicit Tile(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"x", "multiples"}, {"ou… in Tile()
39 MS_DECLARE_PARENT(Tile, PrimitiveC);
Dadd.h31 class MS_CORE_API Add : public PrimitiveC {
34 Add() : PrimitiveC(kNameAdd) { InitIOName({"x", "y"}, {"output"}); } in Add()
35 …explicit Add(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"x", "y"}, {"output"}); } in Add()
38 MS_DECLARE_PARENT(Add, PrimitiveC);
Dmul.h31 class MS_CORE_API Mul : public PrimitiveC {
34 Mul() : PrimitiveC(kNameMul) { InitIOName({"x", "y"}, {"output"}); } in Mul()
35 …explicit Mul(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"x", "y"}, {"output"}); } in Mul()
38 MS_DECLARE_PARENT(Mul, PrimitiveC);
Dexp.h31 class MS_CORE_API Exp : public PrimitiveC {
34 Exp() : PrimitiveC(prim::kPrimExp->name()) { InitIOName({"x"}, {"y"}); } in Exp()
35 explicit Exp(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"x"}, {"y"}); } in Exp()
38 MS_DECLARE_PARENT(Exp, PrimitiveC);
Dreduce.h31 class MS_CORE_API Reduce : public PrimitiveC {
34 Reduce() : PrimitiveC(kNameReduce) { InitIOName({"input_x", "axis"}, {"y"}); } in Reduce()
37 …explicit Reduce(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"input_x", "axis"}, {… in Reduce()
42 MS_DECLARE_PARENT(Reduce, PrimitiveC);
Dreluv2.h32 class MS_CORE_API ReLUV2 : public PrimitiveC {
35 ReLUV2() : PrimitiveC(prim::kPrimReluV2->name()) { InitIOName({"x"}, {"output", "mask"}); } in ReLUV2()
37 …explicit ReLUV2(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"x"}, {"output", "mas… in ReLUV2()
40 MS_DECLARE_PARENT(ReLUV2, PrimitiveC);
/third_party/mindspore/mindspore/lite/tools/converter/parser/caffe/
Dcaffe_activation_parser.h31 …ops::PrimitiveC *Parse(const caffe::LayerParameter &proto, const caffe::LayerParameter &weight) ov…
39 …ops::PrimitiveC *Parse(const caffe::LayerParameter &proto, const caffe::LayerParameter &weight) ov…
47 …ops::PrimitiveC *Parse(const caffe::LayerParameter &proto, const caffe::LayerParameter &weight) ov…
55 …ops::PrimitiveC *Parse(const caffe::LayerParameter &proto, const caffe::LayerParameter &weight) ov…
63 …ops::PrimitiveC *Parse(const caffe::LayerParameter &proto, const caffe::LayerParameter &weight) ov…
/third_party/mindspore/mindspore/lite/include/registry/
Dnode_parser.h48 class PrimitiveC; variable
66 …virtual ops::PrimitiveC *Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &onnx_nod… in Parse()
76 …virtual ops::PrimitiveC *Parse(const caffe::LayerParameter &proto, const caffe::LayerParameter &we… in Parse()
89 virtual ops::PrimitiveC *Parse(const tensorflow::NodeDef &tf_op, in Parse()
101 virtual ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
/third_party/mindspore/mindspore/lite/tools/converter/ops/
Dwhile.h26 using mindspore::ops::PrimitiveC;
31 class While : public PrimitiveC {
33 While() : PrimitiveC(kNameWhile) {} in While()
35 MS_DECLARE_PARENT(While, PrimitiveC);
Dops_def.h21 using mindspore::ops::PrimitiveC;
27 class name : public PrimitiveC { \
29 name() : PrimitiveC(kName##name) {} \
31 MS_DECLARE_PARENT(name, PrimitiveC); \

12345678910>>...30