- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_Version (0.11 sec)
-
tensorflow/c/c_api.cc
using tensorflow::errors::OutOfRange; using tensorflow::gtl::ArraySlice; using tensorflow::strings::StrCat; extern "C" { // -------------------------------------------------------------------------- const char* TF_Version() { return TF_VERSION_STRING; } // -------------------------------------------------------------------------- // --------------------------------------------------------------------------
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
const string gpu_device_name = GPUDeviceName(sess); TF_DeleteSession(sess, s); CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); return gpu_device_name; } TEST(CAPI, Version) { EXPECT_STRNE("", TF_Version()); } TEST(CAPI, Status) { TF_Status* s = TF_NewStatus(); EXPECT_EQ(TF_OK, TF_GetCode(s)); EXPECT_EQ(string(), TF_Message(s)); TF_SetStatus(s, TF_CANCELLED, "cancel");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0)