Home
last modified time | relevance | path

Searched refs:BoolImmPtr (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/tests/ut/cpp/operator/
Dcc_implementations_test.cc277 ASSERT_EQ(ScalarEq(list)->cast<BoolImmPtr>()->value(), true); in TEST_F()
282 ASSERT_EQ(ScalarEq(list)->cast<BoolImmPtr>()->value(), false); in TEST_F()
287 ASSERT_EQ(ScalarEq(list)->cast<BoolImmPtr>()->value(), true); in TEST_F()
292 ASSERT_EQ(ScalarEq(list)->cast<BoolImmPtr>()->value(), true); in TEST_F()
300 ASSERT_EQ(ScalarLt(list)->cast<BoolImmPtr>()->value(), false); in TEST_F()
305 ASSERT_EQ(ScalarLt(list)->cast<BoolImmPtr>()->value(), false); in TEST_F()
310 ASSERT_EQ(ScalarLt(list)->cast<BoolImmPtr>()->value(), true); in TEST_F()
315 ASSERT_EQ(ScalarLt(list)->cast<BoolImmPtr>()->value(), true); in TEST_F()
323 ASSERT_EQ(ScalarGt(list)->cast<BoolImmPtr>()->value(), false); in TEST_F()
328 ASSERT_EQ(ScalarGt(list)->cast<BoolImmPtr>()->value(), true); in TEST_F()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dmatmul_info.cc80 transpose_a_ = transpose_a_iter->second->cast<BoolImmPtr>()->value(); in GetAttrs()
91 transpose_b_ = transpose_b_iter->second->cast<BoolImmPtr>()->value(); in GetAttrs()
102 forward_reduce_scatter_ = forward_reduce_scatter_iter->second->cast<BoolImmPtr>()->value(); in GetAttrs()
Duniform_candidate_sampler_info.cc59 *value = iter->second->cast<BoolImmPtr>()->value(); in GetUniformSamplerAttrBool()
Dreduce_method_info.cc89 keepdims_ = keep_dims_iter->second->cast<BoolImmPtr>()->value(); in GetAttrs()
99 cross_batch_ = cross_batch_iter->second->cast<BoolImmPtr>()->value(); in GetAttrs()
Dreshape_info.cc317 is_skip_ = reshape_skip_redis_iter->second->cast<BoolImmPtr>()->value(); in Init()
Doperator_info.cc1792 return attr_iter->second->cast<BoolImmPtr>()->value(); in GetBoolAttr()
/third_party/mindspore/mindspore/core/ir/
Dscalar.h81 using BoolImmPtr = std::shared_ptr<BoolImm>; variable
82 IMM_TRAITS(BoolImmPtr, bool) in IMM_TRAITS() argument
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/rec_core/
Drec_parse_graph.cc123 bool transpose_a = attrs[TRANSPOSE_A]->cast<BoolImmPtr>()->value(); in Complete2DInputs()
124 bool transpose_b = attrs[TRANSPOSE_B]->cast<BoolImmPtr>()->value(); in Complete2DInputs()
Drec_generate_strategy.cc69 bool transpose_a = attrs[TRANSPOSE_A]->cast<BoolImmPtr>()->value(); in PrepareMatMul()
70 bool transpose_b = attrs[TRANSPOSE_B]->cast<BoolImmPtr>()->value(); in PrepareMatMul()
814 keepdims = keep_dims_iter->second->cast<BoolImmPtr>()->value(); in GetKeepDims()
/third_party/mindspore/mindspore/ccsrc/utils/
Dconvert_utils.cc35 *value = v->cast<BoolImmPtr>()->value(); in ValueToBool()
Dconvert_utils_py.cc103 bool_v = value->cast<BoolImmPtr>()->value(); in ScalarPtrToPyData()
/third_party/mindspore/mindspore/core/abstract/
Dprim_structures.cc119 …ValuePtr scalar_index = MakeValue(static_cast<int64_t>(scalar_value->cast<BoolImmPtr>()->value())); in InferImplMakeSlice()
/third_party/mindspore/mindspore/lite/tools/anf_exporter/
Dfetch_content.cc174 auto data = value->cast<mindspore::BoolImmPtr>(); in FetchFromBoolImmValue()
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Dproto_exporter.cc180 const BoolImmPtr &value = dyn_cast<BoolImm>(val); in SetScalarToProto()
/third_party/mindspore/mindspore/ccsrc/debug/
Ddump_proto.cc245 const BoolImmPtr &value = dyn_cast<BoolImm>(val); in SetScalarToProto()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel.cc1273 bool data_parallel = data_parallel_iter->second->cast<BoolImmPtr>()->value(); in OperatorInstanceByName()