28 const auto &inputs = args.op.inputs;
29 if (!(inputs.size() == 4 || inputs.size() == 5))
35CircleNode *CircleSVDFBuilder::build_node(
const circle::OperatorT &op,
36 const std::vector<CircleNode *> &inputs,
39 auto *node = graph->nodes()->create<
CircleSVDF>();
40 node->
input(inputs.at(0));
41 node->weight_feature(inputs.at(1));
42 node->weight_time(inputs.at(2));
43 if (inputs.size() == 4)
48 node->input_activation_state(inputs.at(3));
52 node->bias(inputs.at(3));
53 node->input_activation_state(inputs.at(4));
56 const auto *
options = op.builtin_options.AsSVDFOptions();
59 node->asymmetric_quantize_inputs(
options->asymmetric_quantize_inputs);
CircleOutputExclude is used to specifying not exported nodes.
bool validate(const ValidateArgs &args) const final
loco::Node * input(void) const
FusedActFunc luci_actfunc(const circle::ActivationFunctionType type)