| 55 | } |
| 56 | |
| 57 | void ReadOptions(const TfLiteOptions& options, |
| 58 | TocoOperator* op) const override { |
| 59 | op->padding.type = Padding::Deserialize(options.padding()); |
| 60 | op->stride_width = options.stride_w(); |
| 61 | op->stride_height = options.stride_h(); |
| 62 | op->kwidth = options.filter_width(); |
| 63 | op->kheight = options.filter_height(); |
| 64 | op->fused_activation_function = |
| 65 | ActivationFunction::Deserialize(options.fused_activation_function()); |
| 66 | } |
| 67 | |
| 68 | int GetVersion(const OperatorSignature& op_signature) const override { |
| 69 | const string& input_name = op_signature.op->inputs[0]; |