| 2062 | : BaseOperator(name, type), enable_select_tf_ops_(enable_select_tf_ops) {} |
| 2063 | |
| 2064 | Options Serialize(const Operator& op, |
| 2065 | flatbuffers::FlatBufferBuilder* builder) const override { |
| 2066 | auto fbb = |
| 2067 | WriteOptions(static_cast<const TensorFlowUnsupportedOperator&>(op)); |
| 2068 | if (fbb) { |
| 2069 | return Options::Custom(builder->CreateVector(fbb->GetBuffer())); |
| 2070 | } else { |
| 2071 | return Options::Custom(0); |
| 2072 | } |
| 2073 | } |
| 2074 | |
| 2075 | std::unique_ptr<Operator> Deserialize( |
| 2076 | const BuiltinOptions* builtin_options, |
nothing calls this directly
no test coverage detected