Home
last modified time | relevance | path

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

12

/third_party/mindspore/mindspore/core/ops/
Dmasked_fill.cc63 …return CheckAndConvertUtils::CheckTensorTypeSame(types, {kFloat16, kFloat32, kInt8, kInt32}, op_na… in InferType()
67 {kFloat16, kFloat32, kInt8, kInt32}, op_name); in InferType()
Dreluv2.cc38 if (x_dtype == kUInt8 || x_dtype == kInt8) { in GetOutputMaskShape()
49 if (x_dtype == kUInt8 || x_dtype == kInt8) { in GetOutputMaskShape()
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()
Dhashtable_lookup.cc43 auto hits = std::make_shared<abstract::AbstractTensor>(kInt8, hits_shape); in HashtableLookupInfer()
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()
Dbroadcast.cc57 const std::set<TypePtr> valid_types = {kInt8, kInt32, kFloat16, kFloat32}; in BroadcastInfer()
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()
Dconv2d.cc242 const std::set<TypePtr> valid_types = {kInt8, kInt32, kInt64, kFloat16, kFloat32}; in Conv2dInferType()
363 const std::set<TypePtr> valid_types = {kInt8, kInt32, kInt64, kFloat16, kFloat32}; in Conv2dInfer()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/ascend310/src/
Dcustom_kernel.cc157 const auto kInt8 = DataType::kNumberTypeInt8; variable
161 REGISTER_CUSTOM_KERNEL(ASCEND310, ACL, kInt8, ACL, kernel::acl::CustomCreateKernel)
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/rec_core/
Drec_tensor.h24 enum TensorType { kInt8, kFloat16, kFloat32, kDouble64 }; enumerator
/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.h94 Int8Imm() : IntergerImm(kInt8), v_(0) {} in Int8Imm()
95 …explicit Int8Imm(int8_t v) : IntergerImm(kInt8), v_(v) { hash_ = hash_combine({tid(), std::hash<in… in Int8Imm()

12