33CircleNode *CircleFullyConnectedGraphBuilder::build_node(
const circle::OperatorT &op,
34 const std::vector<CircleNode *> &inputs,
38 node->
input(inputs.at(0));
39 node->weights(inputs.at(1));
40 node->bias(inputs.at(2));
42 const auto *options = op.builtin_options.AsFullyConnectedOptions();
43 node->fusedActivationFunction(
luci_actfunc(options->fused_activation_function));
45 node->keep_num_dims(options->keep_num_dims);
bool validate(const ValidateArgs &args) const final
FULLY_CONNECTED in Circle.
loco::Node * input(void) const
bool validate(const ValidateArgs &args, size_t input_cnt) const
luci::CircleFullyConnected::WeightsFormat luci_weights_format(const circle::FullyConnectedOptionsWeightsFormat weights_format)
FusedActFunc luci_actfunc(const circle::ActivationFunctionType type)