Home
last modified time | relevance | path

Searched refs:Int8Imm (Results 1 – 7 of 7) sorted by relevance

/third_party/mindspore/mindspore/core/ir/
Dvalue.cc53 bool Int8Imm::operator==(const Value &other) const { in operator ==()
54 if (other.isa<Int8Imm>()) { in operator ==()
55 auto other_ = static_cast<const Int8Imm &>(other); in operator ==()
61 bool Int8Imm::operator==(const Int8Imm &other) const { return v_ == other.v_; } in operator ==()
Dscalar.h92 class MS_CORE_API Int8Imm : public IntergerImm {
94 Int8Imm() : IntergerImm(kInt8), v_(0) {} in Int8Imm() function
95 …explicit Int8Imm(int8_t v) : IntergerImm(kInt8), v_(v) { hash_ = hash_combine({tid(), std::hash<in… in Int8Imm() function
96 ~Int8Imm() override = default;
97 MS_DECLARE_PARENT(Int8Imm, IntergerImm) in MS_DECLARE_PARENT() argument
103 bool operator==(const Int8Imm &other) const;
115 using Int8ImmPtr = std::shared_ptr<Int8Imm>;
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Dproto_exporter.cc183 } else if (val->isa<Int8Imm>()) { in SetScalarToProto()
184 const Int8ImmPtr &value = dyn_cast<Int8Imm>(val); in SetScalarToProto()
/third_party/mindspore/mindspore/ccsrc/debug/
Ddump_proto.cc248 } else if (val->isa<Int8Imm>()) { in SetScalarToProto()
249 const Int8ImmPtr &value = dyn_cast<Int8Imm>(val); in SetScalarToProto()
/third_party/mindspore/mindspore/ccsrc/transform/express_ir/
Dmindir_exporter.cc684 } else if (value->isa<Int8Imm>()) { in SetScalarToAttributeProto_ir()
743 } else if (value->isa<Int8Imm>()) { in SetScalarToAttributeProto_irs()
Donnx_exporter.cc1937 if (elem->isa<Int8Imm>()) { in ConvertTupleToTensor()
1938 tensor_proto->add_int64_data(dyn_cast<Int8Imm>(elem)->value()); in ConvertTupleToTensor()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Ddata_converter.cc376 data = std::make_shared<Int8Imm>(obj); in ConvertNumberWithType()