Caffe2 - C++ API
A deep learning, cross platform ML framework
int8_quantize_op.cc
1 #include "caffe2/operators/quantized/int8_quantize_op.h"
2 
3 namespace caffe2 {
4 
5 REGISTER_CPU_OPERATOR(Int8Quantize, int8::Int8QuantizeOp);
6 
7 OPERATOR_SCHEMA(Int8Quantize)
8  .IdenticalTypeAndShape()
9  .Arg("Y_scale", "Output tensor quantization scale")
10  .Arg("Y_zero_point", "Output tensor quantization offset")
11  .NumInputs(1)
12  .NumOutputs(1)
13  .Input(0, "X", "FP32 Tensor X.")
14  .Output(0, "Y", "Int8 Tensor qX representing X with linear quantization.");
15 
16 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13