| 9134 | } |
| 9135 | |
| 9136 | inline flatbuffers::Offset<SubGraph> CreateSubGraphDirect( |
| 9137 | flatbuffers::FlatBufferBuilder &_fbb, |
| 9138 | const std::vector<flatbuffers::Offset<Tensor>> *tensors = nullptr, |
| 9139 | const std::vector<int32_t> *inputs = nullptr, |
| 9140 | const std::vector<int32_t> *outputs = nullptr, |
| 9141 | const std::vector<flatbuffers::Offset<Operator>> *operators = nullptr, |
| 9142 | const char *name = nullptr) { |
| 9143 | auto tensors__ = tensors ? _fbb.CreateVector<flatbuffers::Offset<Tensor>>(*tensors) : 0; |
| 9144 | auto inputs__ = inputs ? _fbb.CreateVector<int32_t>(*inputs) : 0; |
| 9145 | auto outputs__ = outputs ? _fbb.CreateVector<int32_t>(*outputs) : 0; |
| 9146 | auto operators__ = operators ? _fbb.CreateVector<flatbuffers::Offset<Operator>>(*operators) : 0; |
| 9147 | auto name__ = name ? _fbb.CreateString(name) : 0; |
| 9148 | return tflite::CreateSubGraph( |
| 9149 | _fbb, |
| 9150 | tensors__, |
| 9151 | inputs__, |
| 9152 | outputs__, |
| 9153 | operators__, |
| 9154 | name__); |
| 9155 | } |
| 9156 | |
| 9157 | flatbuffers::Offset<SubGraph> CreateSubGraph(flatbuffers::FlatBufferBuilder &_fbb, const SubGraphT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr); |
| 9158 |
nothing calls this directly
no test coverage detected