Home
last modified time | relevance | path

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

/third_party/mindspore/tests/ut/cpp/ir/
Dmeta_tensor_test.cc232 ASSERT_TRUE(t1->ValueEqual(*t1)); in TEST_F()
233 ASSERT_TRUE(t1->ValueEqual(*t2)); in TEST_F()
238 ASSERT_TRUE(t3->ValueEqual(*t3)); in TEST_F()
239 ASSERT_FALSE(t3->ValueEqual(*t4)); in TEST_F()
240 ASSERT_FALSE(t3->ValueEqual(*t1)); in TEST_F()
241 ASSERT_FALSE(t1->ValueEqual(*t3)); in TEST_F()
244 ASSERT_TRUE(t1->ValueEqual(*t3)); in TEST_F()
245 ASSERT_FALSE(t3->ValueEqual(*t4)); in TEST_F()
246 ASSERT_FALSE(t4->ValueEqual(*t3)); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dremove_value_node_dup.cc65 …return existed_value->cast<tensor::TensorPtr>()->ValueEqual(*(to_check_value->cast<tensor::TensorP… in TryToDoReplace()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dcse.cc189 if (tensor1->ValueEqual(*tensor2)) { in CheckReplace()
/third_party/mindspore/mindspore/core/ir/
Dtensor.h208 bool ValueEqual(const Tensor &tensor) const;
Dtensor.cc565 bool Tensor::ValueEqual(const Tensor &tensor) const { in ValueEqual() function in mindspore::tensor::Tensor
/third_party/mindspore/mindspore/ccsrc/utils/
Dconvert_utils.cc129 return a1->cast<tensor::TensorPtr>()->ValueEqual(*(a2->cast<tensor::TensorPtr>())); in SameNodeShallow()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_helper.cc208 …const std::pair<tensor::TensorPtr, AnfNodePtrList> &vl) { return vl.first->ValueEqual(*tensor); }); in ConvertNonscalarTensorToParameter()