17#ifndef __LUCI_IR_CIRCLECUSTOM_H__
18#define __LUCI_IR_CIRCLECUSTOM_H__
36 assert(
arity != 0 || out != 0);
41 uint32_t
numOutputs(
void)
const {
return _output_count; }
48 const std::vector<uint8_t> &
custom_options(
void)
const {
return _custom_options; }
54 const std::string &
custom_code(
void)
const {
return _custom_code; }
58 std::vector<uint8_t> _custom_options;
59 std::string _custom_code;
60 uint32_t _output_count{0};
const std::vector< uint8_t > & custom_options(void) const
uint32_t numInputs(void) const
void custom_options(const std::vector< uint8_t > &custom_options)
uint32_t numOutputs(void) const
void custom_code(const std::string &custom_code)
void inputs(uint32_t index, Node *node)
Node * inputs(uint32_t index) const
CircleCustom(uint32_t arity, uint32_t out)
const std::string & custom_code(void) const
Nodes with the variadic inputs.
loco::Use * at(uint32_t n) const
uint32_t arity(void) const final
Return the number of arguments.