1 #include "caffe2/operators/quantized/int8_sigmoid_op.h" 4 REGISTER_CPU_OPERATOR(Int8Sigmoid, int8::Int8SigmoidOp);
6 OPERATOR_SCHEMA(Int8Sigmoid)
9 .Arg(
"Y_scale",
"Output tensor quantization scale")
10 .Arg(
"Y_zero_point",
"Output tensor quantization offset")
11 .IdenticalTypeAndShape()
13 Apply the Sigmoid function element-wise to the input tensor. This is often used 14 as a non-linear activation function in a neural network. The sigmoid function is 17 $$Sigmoid(x) = \frac{1}{1+\exp(-x)}$$ 21 - https://github.com/pytorch/pytorch/blob/master/caffe2/operators/sigmoid_op.cc 26 "The input tensor that's coerced into a 2D matrix of size (NxD) " 27 "as described above.")
31 "The sigmoid normalized output values with the same " 32 "shape as input tensor.");
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...