Home
last modified time | relevance | path

Searched refs:actual_ (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.cc323 actual_(actual), in NearComparator()
336 TF_RETURN_IF_ERROR(EqualShapes(expected_.shape(), actual_.shape())); in Run()
342 mismatches_ = Literal(ShapeUtil::ChangeElementType(actual_.shape(), PRED)); in Run()
350 miscompare_callback_(expected_, actual_, mismatches_, shape_index_); in Run()
508 if (LayoutUtil::Equal(actual_.shape().layout(), in CompareLiterals()
511 absl::Span<const NativeT> actual_data = actual_.data<NativeT>(); in CompareLiterals()
518 std::vector<int64> multi_index(actual_.shape().rank(), 0); in CompareLiterals()
528 actual_.Get<NativeT>(*multi_index), in CompareLiteralsSlow()
530 actual_.shape(), *multi_index)); in CompareLiteralsSlow()
543 int64 element_count = ShapeUtil::ElementsIn(actual_.shape()); in ErrorMessage()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dspecial_math_test.py460 actual_, grad_ = self.evaluate([actual, grad])
463 self.assertAllTrue(np.isfinite(actual_))
465 self.assertFalse(np.any(actual_ == 0))
480 actual_, grad_ = self.evaluate([actual, grad])
483 self.assertAllTrue(np.isfinite(actual_))
485 self.assertFalse(np.any(actual_ == 0))
Dutil_test.py723 [actual_, grad_actual_] = sess.run([actual, grad_actual],
730 self.assertAllClose(expected, actual_, rtol=1e-8, atol=1e-9)
832 [actual_, actual_sgn_, grad_actual_,
836 self.assertAllEqual(expected_, actual_)
853 [actual_, actual_sgn_] = self.evaluate([actual, actual_sgn])
854 self.assertAllEqual(expected, actual_)
871 [actual_, actual_sgn_] = self.evaluate([actual, actual_sgn])
872 self.assertAllEqual(expected, actual_)