17#ifndef __OP_QUANTIZE_H__
18#define __OP_QUANTIZE_H__
25 explicit QuantizeChef(
const circlechef::Operation *operation) : _operation{operation}
31 circle::BuiltinOperator
code(
void)
const override {
return circle::BuiltinOperator_QUANTIZE; }
33 circle::BuiltinOptions
type(
void)
const override
35 return circle::BuiltinOptions_QuantizeOptions;
41 const circlechef::Operation *_operation;
46 std::unique_ptr<OpChef>
create(
const circlechef::Operation *operation)
const override;
circle::BuiltinOptions type(void) const override
QuantizeChef(const circlechef::Operation *operation)
circle::BuiltinOperator code(void) const override
flatbuffers::Offset< void > value(flatbuffers::FlatBufferBuilder &fbb) const override
Helper class to hold data needed in creation of a FlatBuffer. To serialize data, you typically call o...
std::unique_ptr< OpChef > create(const circlechef::Operation *operation) const override