| 82 | using BuiltinOperator::BuiltinOperator; |
| 83 | |
| 84 | flatbuffers::Offset<TfLiteOptions> WriteOptions( |
| 85 | const TocoOperator& op, |
| 86 | flatbuffers::FlatBufferBuilder* builder) const override { |
| 87 | auto padding = Padding::Serialize(op.padding.type); |
| 88 | auto activation_function = |
| 89 | ActivationFunction::Serialize(op.fused_activation_function); |
| 90 | return ::tflite::CreateConv2DOptions(*builder, padding, op.stride_width, |
| 91 | op.stride_height, activation_function, |
| 92 | op.dilation_width_factor, |
| 93 | op.dilation_height_factor); |
| 94 | } |
| 95 | |
| 96 | void ReadOptions(const TfLiteOptions& options, |
| 97 | TocoOperator* op) const override { |
nothing calls this directly
no test coverage detected