1 #include "caffe2/operators/quantized/int8_quantize_op.h" 5 REGISTER_CPU_OPERATOR(Int8Quantize, int8::Int8QuantizeOp);
7 OPERATOR_SCHEMA(Int8Quantize)
8 .IdenticalTypeAndShape()
9 .Arg(
"Y_scale",
"Output tensor quantization scale")
10 .Arg(
"Y_zero_point",
"Output tensor quantization offset")
13 .Input(0,
"X",
"FP32 Tensor X.")
14 .Output(0,
"Y",
"Int8 Tensor qX representing X with linear quantization.");
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...