| 659 | public: |
| 660 | using BuiltinOperator::BuiltinOperator; |
| 661 | flatbuffers::Offset<TfLiteOptions> WriteOptions( |
| 662 | const TocoOperator& op, |
| 663 | flatbuffers::FlatBufferBuilder* builder) const override { |
| 664 | auto padding = Padding::Serialize(op.padding.type); |
| 665 | auto activation_function = |
| 666 | ActivationFunction::Serialize(op.fused_activation_function); |
| 667 | return ::tflite::CreatePool2DOptions(*builder, padding, op.stride_width, |
| 668 | op.stride_height, op.kwidth, |
| 669 | op.kheight, activation_function); |
| 670 | } |
| 671 | |
| 672 | void ReadOptions(const TfLiteOptions& options, |
| 673 | TocoOperator* op) const override { |
nothing calls this directly
no test coverage detected