| 2884 | fbb_.AddOffset(Tensor::VT_QUANTIZATION, quantization); |
| 2885 | } |
| 2886 | void add_is_variable(bool is_variable) { |
| 2887 | fbb_.AddElement<uint8_t>(Tensor::VT_IS_VARIABLE, static_cast<uint8_t>(is_variable), 0); |
| 2888 | } |
| 2889 | explicit TensorBuilder(flatbuffers::FlatBufferBuilder &_fbb) |
| 2890 | : fbb_(_fbb) { |
| 2891 | start_ = fbb_.StartTable(); |