Searched refs:ValueEqual (Results 1 – 7 of 7) sorted by relevance
232 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()
65 …return existed_value->cast<tensor::TensorPtr>()->ValueEqual(*(to_check_value->cast<tensor::TensorP… in TryToDoReplace()
189 if (tensor1->ValueEqual(*tensor2)) { in CheckReplace()
208 bool ValueEqual(const Tensor &tensor) const;
565 bool Tensor::ValueEqual(const Tensor &tensor) const { in ValueEqual() function in mindspore::tensor::Tensor
129 return a1->cast<tensor::TensorPtr>()->ValueEqual(*(a2->cast<tensor::TensorPtr>())); in SameNodeShallow()
208 …const std::pair<tensor::TensorPtr, AnfNodePtrList> &vl) { return vl.first->ValueEqual(*tensor); }); in ConvertNonscalarTensorToParameter()