43 std::vector<mir::Operation::Output *>
45 const ::caffe2::OperatorDef &op);
47 std::vector<mir::Operation::Output *>
48 convertAdd(
const std::vector<mir::Operation::Output *> &inputs, const ::caffe2::OperatorDef &op);
50 std::vector<mir::Operation::Output *>
52 const ::caffe2::OperatorDef &op);
54 std::vector<mir::Operation::Output *>
55 convertConv(
const std::vector<mir::Operation::Output *> &inputs, const ::caffe2::OperatorDef &op);
57 std::vector<mir::Operation::Output *>
58 convertConcat(
const std::vector<mir::Operation::Output *> &inputs,
59 const ::caffe2::OperatorDef &op);
61 std::vector<mir::Operation::Output *>
62 convertDropout(
const std::vector<mir::Operation::Output *> &inputs,
63 const ::caffe2::OperatorDef &op);
65 std::vector<mir::Operation::Output *>
66 convertFC(
const std::vector<mir::Operation::Output *> &inputs, const ::caffe2::OperatorDef &op);
68 std::vector<mir::Operation::Output *>
69 convertMaxPool(
const std::vector<mir::Operation::Output *> &inputs,
70 const ::caffe2::OperatorDef &op);
72 std::vector<mir::Operation::Output *>
73 convertMul(
const std::vector<mir::Operation::Output *> &inputs, const ::caffe2::OperatorDef &op);
75 std::vector<mir::Operation::Output *>
76 convertRelu(
const std::vector<mir::Operation::Output *> &inputs);
78 std::vector<mir::Operation::Output *>
80 const ::caffe2::OperatorDef &op);
82 std::vector<mir::Operation::Output *>
83 convertSigmoid(
const std::vector<mir::Operation::Output *> &inputs);
85 std::vector<mir::Operation::Output *>
86 convertSoftmax(
const std::vector<mir::Operation::Output *> &inputs,
87 const ::caffe2::OperatorDef &op);
89 std::vector<mir::Operation::Output *>
91 const ::caffe2::OperatorDef &op);
93 std::vector<mir::Operation::Output *>
94 convertSum(
const std::vector<mir::Operation::Output *> &inputs);
96 std::vector<mir::Operation::Output *>
97 convertClip(
const std::vector<mir::Operation::Output *> &inputs, const ::caffe2::OperatorDef &op);
99 std::vector<mir::Operation::Output *>
100 convertReshape(
const std::vector<mir::Operation::Output *> &inputs,
101 const ::caffe2::OperatorDef &op);
106 template <
typename OpType,
typename... Types>
mir::Operation *createOp(Types &&...args);