Home
last modified time | relevance | path

Searched refs:kInt16 (Results 1 – 24 of 24) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dfse_encoder.cc29 constexpr int kInt16 = 16; variable
80 delta_bit_count[sym] = (max_bits_out << kInt16) - min_state_plus; in FSECreateStatesForEncoding()
85 delta_bit_count[sym] = (table_log << kInt16) - (1 << table_log); in FSECreateStatesForEncoding()
162 ret = bs.Create(kInt16 * fse_quant.symbol_table_count); in Compress()
197 uint8_t bits_out = (state + delta_bit_count[sym]) >> kInt16; in FSEEncodeSymbolGetNewState()
/third_party/mindspore/mindspore/core/ops/
Dsigmoid_cross_entropy_with_logits.cc43 …const std::set<TypePtr> valid_types = {kBool, kInt, kInt8, kInt16, kInt32, kInt64, kUIn… in SigmoidCrossEntropyWithLogitsInfer()
Dhsigmoid.cc38 const std::set<TypePtr> valid_types = {kInt8, kInt16, kInt32, kInt64, kFloat16, kFloat32}; in InferType()
Dreverse_v2.cc35 const std::set<TypePtr> valid_types = {kInt8, kInt16, kInt32, kInt64, kUInt8, kUInt16, in InferType()
Dzeros.cc48 const std::set<TypePtr> valid_types = {kBool, kInt8, kInt16, kInt32, kInt64, kUInt8, in ZerosInferType()
Dones.cc46 const std::set<TypePtr> valid_types = {kBool, kInt8, kInt16, kInt32, kInt64, kUInt8, in OnesInferType()
Dop_utils.h281 const std::set<TypePtr> common_valid_types = {kInt8, kInt16, kInt32, kInt64, kUInt8, kUInt1…
285 kBool, kInt, kInt8, kInt16, kInt32, kInt64, kUInt, kUInt8,
Dgather_nd.cc53 const std::set<TypePtr> valid_types = {kInt8, kInt16, kInt32, kInt64}; in InferType()
Dembedding_lookup.cc49 const std::set<TypePtr> int_valid_types = {kInt8, kInt16, kInt32, kInt64}; in EmbeddingLookupInfer()
Dindex_add.cc66 …const std::set<TypePtr> valid_types = {kInt8, kInt16, kInt32, kUInt8, kFloat16, kFloat32, kFloat64… in IndexAddInferType()
Done_hot.cc80 {kInt8, kInt16, kInt32, kInt64}, op_name); in OneHotInferType()
Dsplit_v.cc88 const std::set<TypePtr> valid_types = {kInt8, kInt16, kInt32, kInt64, kUInt8, in InferType()
Dgather.cc42 std::set<TypePtr> int_types = {kInt8, kInt16, kInt32, kInt64}; in GatherInfer()
Dmat_mul.cc95 …const std::set<TypePtr> valid_types = {kInt8, kInt16, kInt32, kInt64, kFloat16, kFloat32, kFloat64… in MatMulInferType()
Dbatch_matmul.cc121 …const std::set<TypePtr> valid_types = {kInt8, kInt16, kInt32, kInt64, kFloat16, kFloat32, kFloat64… in BatchMatmulInferType()
/third_party/mindspore/mindspore/core/ops/grad/
Dsigmoid_cross_entropy_with_logits_grad.cc46 …const std::set<TypePtr> valid_types = {kBool, kInt, kInt8, kInt16, kInt32, kInt64, kUIn… in SigmoidCrossEntropyWithLogitsGradInfer()
Dhsigmoid_grad.cc52 const std::set<TypePtr> valid_types = {kInt8, kInt16, kInt32, kInt64, kFloat16, kFloat32}; in InferType()
Dsmooth_l1_loss_grad.cc53 …const std::set<TypePtr> valid_types = {kBool, kInt, kInt8, kInt16, kInt32, kInt64, kUIn… in SmoothL1LossGradInfer()
/third_party/mindspore/mindspore/core/ir/
Dscalar.h120 Int16Imm() : IntergerImm(kInt16), v_(0) {} in IMM_TRAITS()
121 …explicit Int16Imm(int16_t v) : IntergerImm(kInt16), v_(v) { hash_ = hash_combine({tid(), std::hash… in IMM_TRAITS()
Ddtype_extends.cc67 …{kNumberTypeInt16, kInt16}, {kNumberTypeInt32, kInt32}, {kNumberTypeInt, kInt32}, in TypeIdToType()
/third_party/mindspore/mindspore/core/ir/dtype/
Dnumber.h170 inline const TypePtr kInt16 = std::make_shared<Int>(static_cast<int>(BitsNum::eBits16)); variable
/third_party/mindspore/mindspore/core/abstract/
Dprim_nn.cc405 …(void)CheckTensorDType(tensor, {kInt8, kInt16, kInt32, kInt64, kFloat16, kFloat32}, "Input of HSig… in InferImplHSigmoid()
416 (void)CheckTensorDType(dout, {kInt8, kInt16, kInt32, kInt64, kFloat16, kFloat32}, in InferImplHSigmoidGrad()
418 …(void)CheckTensorDType(x, {kInt8, kInt16, kInt32, kInt64, kFloat16, kFloat32}, "X of HSigmoidGrad … in InferImplHSigmoidGrad()
/third_party/mindspore/tests/ut/cpp/ir/
Dmeta_tensor_test.cc212 TensorPtr tensor_int16 = TensorPy::MakeTensor(py::array(tuple), kInt16); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dcommon_utils.cc783 } else if (type_id == kInt16->type_id()) { in GetInputTensorValue()