Home
last modified time | relevance | path

Searched refs:kInt8 (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/dports/audio/libaudiofile/audiofile-0.3.6/libaudiofile/modules/
H A DSimpleModule.h182 case kInt8:
208 case kInt8:
353 case kInt8:
368 case kInt8:
432 HANDLE(kInt8, kInt16)
433 HANDLE(kInt8, kInt24)
434 HANDLE(kInt8, kInt32)
435 HANDLE(kInt16, kInt8)
567 case kInt8:
638 case kInt8:
[all …]
/dports/science/py-chainer/chainer-7.8.0/chainerx_cc/chainerx/
H A Ddtype_test.cc36 CheckEqual(Dtype::kInt8, Dtype::kInt8); in TEST()
37 EXPECT_THROW(CheckEqual(Dtype::kInt8, Dtype::kUInt8), DtypeError); in TEST()
42 EXPECT_TRUE(IsValidDtype(Dtype::kInt8)); in TEST()
H A Ddtype.cc68 {"int8", Dtype::kInt8}, in GetDtype()
78 {"b", Dtype::kInt8}, in GetDtype()
101 Dtype::kInt8, in GetAllDtypes()
H A Ddtype.h21 kInt8, enumerator
103 CHAINERX_DEFINE_PRIMITIVE_TYPE("int8", 'b', Dtype::kInt8, DtypeKind::kInt, int8_t, int8_t);
141 case Dtype::kInt8:
167 case Dtype::kInt8:
195 case Dtype::kInt8:
216 case Dtype::kInt8:
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/quantization/
H A Dquantize_v2-inl.h46 .add_enum("int8", QuantizeOutType::kInt8) in DMLC_DECLARE_PARAMETER()
48 .set_default(QuantizeOutType::kInt8) in DMLC_DECLARE_PARAMETER()
130 in_attrs->at(0) == mshadow::kInt8); in QuantizeV2Type()
134 } else if (out_type == mshadow::kInt8) { in QuantizeV2Type()
135 TYPE_ASSIGN_CHECK(*out_attrs, 0, mshadow::kInt8); in QuantizeV2Type()
164 if (inputs[0].type_flag_ == mshadow::kUint8 || inputs[0].type_flag_ == mshadow::kInt8) { in Forward()
185 } else if (out_type == mshadow::kInt8) { // zero-centered quantization in Forward()
216 } else if (out_type == mshadow::kInt8) { // zero-centered quantization in Forward()
H A Dquantization_utils.h189 enum QuantizeOutType { kAuto = 0, kInt8, kUint8 }; enumerator
193 auto out_type = mshadow::kInt8; in GetQuantizeOutputType()
199 out_type = mshadow::kInt8; in GetQuantizeOutputType()
202 } else if (param.out_type == QuantizeOutType::kInt8) { in GetQuantizeOutputType()
203 out_type = mshadow::kInt8; in GetQuantizeOutputType()
214 const auto quantized_data_range = (dtype == mshadow::kInt8) ? kInt8Range : kUint8Range; in GetQuantizeScale()
H A Dquantized_elemwise_mul.cc74 if (in_type->at(i) == mshadow::kInt8) { in QuantizedElemwiseMulOpType()
75 TYPE_ASSIGN_CHECK(*in_type, i, mshadow::kInt8); in QuantizedElemwiseMulOpType()
87 dtype = mshadow::kInt8; in QuantizedElemwiseMulOpType()
143 if (outputs[quantized_elemwise_mul::kOut].type_flag_ == mshadow::kInt8) { in QuantizedElemwiseMulOpForward()
157 if (inputs[quantized_elemwise_mul::kLhs].type_flag_ == mshadow::kInt8 && in QuantizedElemwiseMulOpForward()
158 inputs[quantized_elemwise_mul::kRhs].type_flag_ == mshadow::kInt8) { in QuantizedElemwiseMulOpForward()
H A Dquantize-inl.h42 .add_enum("int8", mshadow::kInt8) in DMLC_DECLARE_PARAMETER()
105 } else if (param.out_type == mshadow::kInt8) { // zero-centered quantization in QuantizeCompute()
149 } else if (param.out_type == mshadow::kInt8) { in QuantizeType()
150 TYPE_ASSIGN_CHECK(*out_attrs, 0, mshadow::kInt8); in QuantizeType()
H A Dquantized_elemwise_add.cc62 if (in_type->at(i) == mshadow::kInt8) { in ElemwiseAddType()
63 TYPE_ASSIGN_CHECK(*in_type, i, mshadow::kInt8); in ElemwiseAddType()
72 dtype = (in_type->at(0) == in_type->at(1)) ? in_type->at(0) : mshadow::kInt8; in ElemwiseAddType()
H A Drequantize-inl.h46 .add_enum("int8", QuantizeOutType::kInt8) in DMLC_DECLARE_PARAMETER()
48 .set_default(QuantizeOutType::kInt8) in DMLC_DECLARE_PARAMETER()
76 } else if (out_type == mshadow::kInt8) { in RequantizeType()
77 TYPE_ASSIGN_CHECK(*out_attrs, 0, mshadow::kInt8); in RequantizeType()
H A Dquantized_batch_norm.cc70 CHECK(in_type->at(0) == mshadow::kInt8 || in_type->at(0) == mshadow::kUint8) in QuantizedBatchNormType()
74 TYPE_ASSIGN_CHECK(*in_type, 0, mshadow::kInt8); in QuantizedBatchNormType()
80 TYPE_ASSIGN_CHECK(*out_type, 0, mshadow::kInt8); in QuantizedBatchNormType()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/quantization/
H A Dquantize_v2-inl.h46 .add_enum("int8", QuantizeOutType::kInt8) in DMLC_DECLARE_PARAMETER()
48 .set_default(QuantizeOutType::kInt8) in DMLC_DECLARE_PARAMETER()
130 in_attrs->at(0) == mshadow::kInt8); in QuantizeV2Type()
134 } else if (out_type == mshadow::kInt8) { in QuantizeV2Type()
135 TYPE_ASSIGN_CHECK(*out_attrs, 0, mshadow::kInt8); in QuantizeV2Type()
164 if (inputs[0].type_flag_ == mshadow::kUint8 || inputs[0].type_flag_ == mshadow::kInt8) { in Forward()
185 } else if (out_type == mshadow::kInt8) { // zero-centered quantization in Forward()
216 } else if (out_type == mshadow::kInt8) { // zero-centered quantization in Forward()
H A Dquantization_utils.h189 enum QuantizeOutType { kAuto = 0, kInt8, kUint8 }; enumerator
193 auto out_type = mshadow::kInt8; in GetQuantizeOutputType()
199 out_type = mshadow::kInt8; in GetQuantizeOutputType()
202 } else if (param.out_type == QuantizeOutType::kInt8) { in GetQuantizeOutputType()
203 out_type = mshadow::kInt8; in GetQuantizeOutputType()
214 const auto quantized_data_range = (dtype == mshadow::kInt8) ? kInt8Range : kUint8Range; in GetQuantizeScale()
H A Dquantized_elemwise_mul.cc74 if (in_type->at(i) == mshadow::kInt8) { in QuantizedElemwiseMulOpType()
75 TYPE_ASSIGN_CHECK(*in_type, i, mshadow::kInt8); in QuantizedElemwiseMulOpType()
87 dtype = mshadow::kInt8; in QuantizedElemwiseMulOpType()
143 if (outputs[quantized_elemwise_mul::kOut].type_flag_ == mshadow::kInt8) { in QuantizedElemwiseMulOpForward()
157 if (inputs[quantized_elemwise_mul::kLhs].type_flag_ == mshadow::kInt8 && in QuantizedElemwiseMulOpForward()
158 inputs[quantized_elemwise_mul::kRhs].type_flag_ == mshadow::kInt8) { in QuantizedElemwiseMulOpForward()
H A Dquantize-inl.h42 .add_enum("int8", mshadow::kInt8) in DMLC_DECLARE_PARAMETER()
105 } else if (param.out_type == mshadow::kInt8) { // zero-centered quantization in QuantizeCompute()
149 } else if (param.out_type == mshadow::kInt8) { in QuantizeType()
150 TYPE_ASSIGN_CHECK(*out_attrs, 0, mshadow::kInt8); in QuantizeType()
H A Dquantized_elemwise_add.cc62 if (in_type->at(i) == mshadow::kInt8) { in ElemwiseAddType()
63 TYPE_ASSIGN_CHECK(*in_type, i, mshadow::kInt8); in ElemwiseAddType()
72 dtype = (in_type->at(0) == in_type->at(1)) ? in_type->at(0) : mshadow::kInt8; in ElemwiseAddType()
H A Drequantize-inl.h46 .add_enum("int8", QuantizeOutType::kInt8) in DMLC_DECLARE_PARAMETER()
48 .set_default(QuantizeOutType::kInt8) in DMLC_DECLARE_PARAMETER()
76 } else if (out_type == mshadow::kInt8) { in RequantizeType()
77 TYPE_ASSIGN_CHECK(*out_attrs, 0, mshadow::kInt8); in RequantizeType()
H A Dquantized_batch_norm.cc70 CHECK(in_type->at(0) == mshadow::kInt8 || in_type->at(0) == mshadow::kUint8) in QuantizedBatchNormType()
74 TYPE_ASSIGN_CHECK(*in_type, 0, mshadow::kInt8); in QuantizedBatchNormType()
80 TYPE_ASSIGN_CHECK(*out_type, 0, mshadow::kInt8); in QuantizedBatchNormType()
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/contrib/intgemm/
H A Dprepare_weight_op.cc66 TYPE_ASSIGN_CHECK(*out_attrs, 0, mshadow::kInt8); in PrepareWeightOpType()
70 TYPE_ASSIGN_CHECK(*in_attrs, 0, mshadow::kInt8); in PrepareWeightOpType()
108 CHECK_EQ(out.type_flag_, mshadow::kInt8); in PrepareWeightOpForwardCPU()
122 CHECK(in.type_flag_ == mshadow::kFloat32 || in.type_flag_ == mshadow::kInt8) << in PrepareWeightOpForwardCPU()
124 if (in.type_flag_ == mshadow::kInt8) { in PrepareWeightOpForwardCPU()
H A Dtake_weight_op.cc69 TYPE_ASSIGN_CHECK(*out_attrs, 0, mshadow::kInt8); in TakeWeightOpType()
70 TYPE_ASSIGN_CHECK(*in_attrs, 0, mshadow::kInt8); in TakeWeightOpType()
97 CHECK_EQ(weight.type_flag_, mshadow::kInt8); in TakeWeightOpForwardCPU()
99 CHECK_EQ(out.type_flag_, mshadow::kInt8); in TakeWeightOpForwardCPU()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/contrib/intgemm/
H A Dprepare_weight_op.cc66 TYPE_ASSIGN_CHECK(*out_attrs, 0, mshadow::kInt8); in PrepareWeightOpType()
70 TYPE_ASSIGN_CHECK(*in_attrs, 0, mshadow::kInt8); in PrepareWeightOpType()
108 CHECK_EQ(out.type_flag_, mshadow::kInt8); in PrepareWeightOpForwardCPU()
122 CHECK(in.type_flag_ == mshadow::kFloat32 || in.type_flag_ == mshadow::kInt8) << in PrepareWeightOpForwardCPU()
124 if (in.type_flag_ == mshadow::kInt8) { in PrepareWeightOpForwardCPU()
H A Dtake_weight_op.cc69 TYPE_ASSIGN_CHECK(*out_attrs, 0, mshadow::kInt8); in TakeWeightOpType()
70 TYPE_ASSIGN_CHECK(*in_attrs, 0, mshadow::kInt8); in TakeWeightOpType()
97 CHECK_EQ(weight.type_flag_, mshadow::kInt8); in TakeWeightOpForwardCPU()
99 CHECK_EQ(out.type_flag_, mshadow::kInt8); in TakeWeightOpForwardCPU()
/dports/misc/mxnet/incubator-mxnet-1.9.0/cpp-package/example/
H A Dtest_ndarray_copy.cpp32 kInt8 = 5, enumerator
54 NDArray src2(shape2, context, false, kInt8); in main()
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/cpp-package/example/
H A Dtest_ndarray_copy.cpp32 kInt8 = 5, enumerator
54 NDArray src2(shape2, context, false, kInt8); in main()
/dports/science/py-chainer/chainer-7.8.0/chainerx_cc/chainerx/python/
H A Ddtype.cc52 return Dtype::kInt8; in GetDtypeFromNumpyDtype()
122 return Dtype::kInt8; in GetDtype()
153 case Dtype::kInt8: in GetNumpyDtypeFromModule()

12345678910>>...12