MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / WriteOptions

Method WriteOptions

tensorflow/lite/toco/tflite/operator.cc:346–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344 public:
345 using BuiltinOperator::BuiltinOperator;
346 flatbuffers::Offset<TfLiteOptions> WriteOptions(
347 const TocoOperator& op,
348 flatbuffers::FlatBufferBuilder* builder) const override {
349 return ::tflite::CreateCastOptions(*builder,
350 DataType::Serialize(op.src_data_type),
351 DataType::Serialize(op.dst_data_type));
352 }
353
354 void ReadOptions(const TfLiteOptions& options,
355 TocoOperator* op) const override {

Callers

nothing calls this directly

Calls 2

CreateCastOptionsFunction · 0.85
SerializeFunction · 0.85

Tested by

no test coverage detected