1 #include "caffe2/operators/quantized/int8_concat_op.h" 3 #include "caffe2/operators/concat_split_op.h" 7 REGISTER_CPU_OPERATOR(Int8Concat, int8::Int8ConcatOp);
9 OPERATOR_SCHEMA(Int8Concat)
10 .NumInputs(1, INT_MAX)
12 .Arg(
"Y_scale",
"Output tensor quantization scale")
13 .Arg(
"Y_zero_point",
"Output tensor quantization offset")
14 .Arg(
"axis",
"Which axis to concat on")
17 "Pass 1 to add the axis specified in arg 'axis' to all " 19 .TensorInferenceFunction(
21 .CostInferenceFunction(CostInferenceForConcat)
22 .SetDoc(
"Concatenate a list of tensors into a single tensor")
23 .Output(0,
"concat_result",
"Concatenated tensor")
24 .Output(1,
"split_info",
"The dimensions of the inputs.")
25 .InheritOnnxSchema(
"Concat");
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
static TensorInferenceFunctionType NeedsAllInputShapes(TensorInferenceFunctionType f)
A wrapper that makes an infer tensor function to return unknown shape for all outputs if any one of t...