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

Method WriteOptions

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

Source from the content-addressed store, hash-verified

294 using BuiltinOperator::BuiltinOperator;
295
296 flatbuffers::Offset<TfLiteOptions> WriteOptions(
297 const TocoOperator& op,
298 flatbuffers::FlatBufferBuilder* builder) const override {
299 auto activation_function =
300 ActivationFunction::Serialize(op.fused_activation_function);
301 return ::tflite::CreateDivOptions(*builder, activation_function);
302 }
303
304 void ReadOptions(const TfLiteOptions& options,
305 TocoOperator* op) const override {

Callers

nothing calls this directly

Calls 2

SerializeFunction · 0.85
CreateDivOptionsFunction · 0.85

Tested by

no test coverage detected