| 717 | public: |
| 718 | using BuiltinOperator::BuiltinOperator; |
| 719 | flatbuffers::Offset<TfLiteOptions> WriteOptions( |
| 720 | const TocoOperator& op, |
| 721 | flatbuffers::FlatBufferBuilder* builder) const override { |
| 722 | auto padding = Padding::Serialize(op.padding.type); |
| 723 | auto activation_function = |
| 724 | ActivationFunction::Serialize(op.fused_activation_function); |
| 725 | return ::tflite::CreatePool2DOptions(*builder, padding, op.stride_width, |
| 726 | op.stride_height, op.kwidth, |
| 727 | op.kheight, activation_function); |
| 728 | } |
| 729 | |
| 730 | void ReadOptions(const TfLiteOptions& options, |
| 731 | TocoOperator* op) const override { |
nothing calls this directly
no test coverage detected