31CircleNode *CircleSubGraphBuilder::build_node(
const circle::OperatorT &op,
32 const std::vector<CircleNode *> &inputs,
35 auto *node = graph->nodes()->create<
CircleSub>();
36 node->
x(inputs.at(0));
37 node->y(inputs.at(1));
39 const auto *options = op.builtin_options.AsSubOptions();
40 node->fusedActivationFunction(
luci_actfunc(options->fused_activation_function));
bool validate(const ValidateArgs &args) const final
loco::Node * x(void) const
bool validate(const ValidateArgs &args, size_t input_cnt) const
FusedActFunc luci_actfunc(const circle::ActivationFunctionType type)