- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestFloat32 (0.14 sec)
-
tensorflow/cc/experimental/libtf/impl/iostream_test.cc
namespace tf { namespace libtf { namespace impl { TEST(OStreamTest, TestInt64) { Int64 x(42); std::stringstream stream; stream << x; ASSERT_EQ(stream.str(), "42"); } TEST(OStreamTest, TestFloat32) { Float32 x(0.375); // Exactly representable as a float. std::stringstream stream; stream << x; ASSERT_EQ(stream.str(), "0.375"); } TEST(OStreamTest, TestString) { String s("foo");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 09:47:46 UTC 2024 - 2K bytes - Viewed (0)