Home
last modified time | relevance | path

Searched refs:kUInt8 (Results 1 – 19 of 19) sorted by relevance

/third_party/mindspore/mindspore/core/ops/
Dreluv2.cc38 if (x_dtype == kUInt8 || x_dtype == kInt8) { in GetOutputMaskShape()
49 if (x_dtype == kUInt8 || x_dtype == kInt8) { in GetOutputMaskShape()
98 auto mask_dtype = kUInt8; in InferType()
Dsigmoid_cross_entropy_with_logits.cc43 …et<TypePtr> valid_types = {kBool, kInt, kInt8, kInt16, kInt32, kInt64, kUInt, kUInt8, in SigmoidCrossEntropyWithLogitsInfer()
Droll.cc45 const std::set<TypePtr> valid_types = {kFloat32, kFloat16, kInt32, kUInt32, kInt8, kUInt8}; 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,
Dindex_add.cc66 …const std::set<TypePtr> valid_types = {kInt8, kInt16, kInt32, kUInt8, kFloat16, kFloat32, kFloat64… in IndexAddInferType()
Ddropout_do_mask.cc110 …(void)CheckAndConvertUtils::CheckTensorTypeValid("inputs", input_args[1]->BuildType(), {kUInt8}, o… in InferType()
Dsplit_v.cc88 const std::set<TypePtr> valid_types = {kInt8, kInt16, kInt32, kInt64, kUInt8, in InferType()
Ddropout_gen_mask.cc149 return kUInt8; in InferType()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/ascend310/src/
Dcustom_kernel.cc158 const auto kUInt8 = DataType::kNumberTypeUInt8; variable
162 REGISTER_CUSTOM_KERNEL(ASCEND310, ACL, kUInt8, ACL, kernel::acl::CustomCreateKernel)
/third_party/mindspore/mindspore/core/ops/grad/
Dsigmoid_cross_entropy_with_logits_grad.cc46 …et<TypePtr> valid_types = {kBool, kInt, kInt8, kInt16, kInt32, kInt64, kUInt, kUInt8, in SigmoidCrossEntropyWithLogitsGradInfer()
Dsmooth_l1_loss_grad.cc53 …et<TypePtr> valid_types = {kBool, kInt, kInt8, kInt16, kInt32, kInt64, kUInt, kUInt8, in SmoothL1LossGradInfer()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/
Ddropout_unify_mindir.cc170 gen_mask_abstract = std::make_shared<abstract::AbstractTensor>(kUInt8, gen_mask_shape); in CreateDropoutGenMaskCNode()
173 gen_mask_abstract = std::make_shared<abstract::AbstractTensor>(kUInt8, gen_mask_shape); in CreateDropoutGenMaskCNode()
386 mask_abstract = std::make_shared<abstract::AbstractTensor>(kUInt8, mask_shape); in Process()
/third_party/mindspore/mindspore/core/ir/
Dscalar.h198 UInt8Imm() : IntergerImm(kUInt8), v_(0) {} in IMM_TRAITS()
199 explicit UInt8Imm(uint8_t v) : IntergerImm(kUInt8), v_(v) { in IMM_TRAITS()
Ddtype_extends.cc68 …{kNumberTypeInt64, kInt64}, {kNumberTypeUInt8, kUInt8}, {kNumberTypeUInt16, kUIn… in TypeIdToType()
/third_party/mindspore/mindspore/core/ir/dtype/
Dnumber.h173 inline const TypePtr kUInt8 = std::make_shared<UInt>(static_cast<int>(BitsNum::eBits8)); variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dcommon_utils.cc777 } else if (type_id == kUInt8->type_id()) { in GetInputTensorValue()