Searched refs:actual_ (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_comparison.cc | 307 actual_(actual), in NearComparator() 319 TF_RETURN_IF_ERROR(EqualShapes(expected_.shape(), actual_.shape())); in Run() 325 mismatches_ = Literal(ShapeUtil::ChangeElementType(actual_.shape(), PRED)); in Run() 333 miscompare_callback_(expected_, actual_, mismatches_); in Run() 509 if (LayoutUtil::Equal(actual_.shape().layout(), in CompareLiterals() 512 absl::Span<const NativeT> actual_data = actual_.data<NativeT>(); in CompareLiterals() 519 std::vector<int64> multi_index(actual_.shape().rank(), 0); in CompareLiterals() 529 actual_.Get<NativeT>(*multi_index), in CompareLiteralsSlow() 531 actual_.shape(), *multi_index)); in CompareLiteralsSlow() 544 int64 element_count = ShapeUtil::ElementsIn(actual_.shape()); in ErrorMessage() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | special_math_test.py | 459 actual_, grad_ = self.evaluate([actual, grad]) 462 self.assertAllTrue(np.isfinite(actual_)) 464 self.assertFalse(np.any(actual_ == 0)) 479 actual_, grad_ = self.evaluate([actual, grad]) 482 self.assertAllTrue(np.isfinite(actual_)) 484 self.assertFalse(np.any(actual_ == 0))
|
D | util_test.py | 722 [actual_, grad_actual_] = sess.run([actual, grad_actual], 729 self.assertAllClose(expected, actual_, rtol=1e-8, atol=1e-9) 831 [actual_, actual_sgn_, grad_actual_, 835 self.assertAllEqual(expected_, actual_) 852 [actual_, actual_sgn_] = self.evaluate([actual, actual_sgn]) 853 self.assertAllEqual(expected, actual_) 870 [actual_, actual_sgn_] = self.evaluate([actual, actual_sgn]) 871 self.assertAllEqual(expected, actual_)
|