ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci::CircleSplitVGraphBuilder Class Reference

#include <CircleSplitV.h>

Collaboration diagram for luci::CircleSplitVGraphBuilder:

Public Member Functions

bool validate (const ValidateArgs &args) const final
 
- Public Member Functions inherited from luci::GraphBuilderMultiOutput
virtual ~GraphBuilderMultiOutput ()=default
 
CircleNodebuild (const circle::OperatorT &op, GraphBuilderContext *context) const final
 
- Public Member Functions inherited from luci::GraphBuilderBase
virtual ~GraphBuilderBase ()=default
 

Detailed Description

Definition at line 25 of file CircleSplitV.h.

Member Function Documentation

◆ validate()

bool luci::CircleSplitVGraphBuilder::validate ( const ValidateArgs args) const
finalvirtual

Implements luci::GraphBuilderBase.

Definition at line 28 of file CircleSplitV.cpp.

29{
30 const auto &inputs = args.op.inputs;
31 const auto &outputs = args.op.outputs;
32 const auto *options = args.op.builtin_options.AsSplitVOptions();
33
34 if (inputs.size() != 3)
35 return false;
36
37 if (static_cast<int32_t>(outputs.size()) != options->num_splits)
38 return false;
39
40 // TODO check types
41
42 return true;
43}
args
Definition infer.py:21

The documentation for this class was generated from the following files: