- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_Code (8.38 sec)
-
tensorflow/c/c_api_experimental_test.cc
"tensorflow", "c", "experimental", "stream_executor", "test", "test_pluggable_device.so")); TF_Library* lib = TF_LoadPluggableDeviceLibrary(lib_path.c_str(), status); TF_Code code = TF_GetCode(status); string status_msg(TF_Message(status)); TF_DeleteStatus(status); ASSERT_EQ(TF_OK, code) << status_msg; TF_DeletePluggableDeviceLibraryHandle(lib);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental.cc
for (size_t i = 0; i < tasks.length; ++i) { const auto& result = (*results)[i]; TF_Status s; TF_SetStatus(&s, static_cast<TF_Code>(result.error_code()), std::string(result.error_message()).data()); if (TF_GetCode(&s) != TF_Code::TF_OK) { tensorflow::CoordinationServiceError error; *error.mutable_source_task() = result.error_payload().source_task();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
// We can cast `google::cloud::StatusCode` to `TF_Code` because they have the // same integer values. See // https://github.com/googleapis/google-cloud-cpp/blob/6c09cbfa0160bc046e5509b4dd2ab4b872648b4a/google/cloud/status.h#L32-L52 static inline void TF_SetStatusFromGCSStatus( const google::cloud::Status& gcs_status, TF_Status* status) { TF_SetStatus(status, static_cast<TF_Code>(gcs_status.code()),
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0)