34CircleNode *CircleRoPEGraphBuilder::build_node(
const circle::OperatorT &op,
35 const std::vector<CircleNode *> &inputs,
38 auto *node = graph->nodes()->create<
CircleRoPE>();
39 node->
input(inputs.at(0));
40 node->sin_table(inputs.at(1));
41 node->cos_table(inputs.at(2));
43 const auto *options = op.builtin_options.AsRoPEOptions();
bool validate(const ValidateArgs &args) const final
loco::Node * input(void) const
bool validate(const ValidateArgs &args, size_t input_cnt) const
RoPEMode luci_rope_mode(const circle::RoPEMode mode)