- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_NowMicros (0.22 sec)
-
tensorflow/c/env_test.cc
ASSERT_TRUE(found) << "expected at least one temp dir"; TF_StringStreamDone(tempdirs); } TEST(TestEnv, TestTimeFunctions) { ASSERT_GE(TF_NowSeconds(), 946684800); // Midnight Jan 1, 2000 ASSERT_GE(TF_NowMicros(), 946684800 * 1e6); ASSERT_GE(TF_NowNanos(), 946684800 * 1e9); } namespace { struct SomeThreadData { ::tensorflow::mutex mu; bool did_work = false; };
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/env.cc
} TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void) { return ::tensorflow::Env::Default()->NowNanos(); } // Returns the number of microseconds since the Unix epoch. TF_CAPI_EXPORT extern uint64_t TF_NowMicros(void) { return ::tensorflow::Env::Default()->NowMicros(); } // Returns the number of seconds since the Unix epoch. TF_CAPI_EXPORT extern uint64_t TF_NowSeconds(void) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/env.h
// Returns the number of nanoseconds since the Unix epoch. TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void); // Returns the number of microseconds since the Unix epoch. TF_CAPI_EXPORT extern uint64_t TF_NowMicros(void); // Returns the number of seconds since the Unix epoch. TF_CAPI_EXPORT extern uint64_t TF_NowSeconds(void); // Populates a TF_ThreadOptions struct with system-default values.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0)