Home
last modified time | relevance | path

Searched refs:TF_FAILED_PRECONDITION (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/
Dposix_filesystem.cc209 TF_SetStatus(status, TF_FAILED_PRECONDITION, "path is a directory"); in NewRandomAccessFile()
255 TF_SetStatus(status, TF_FAILED_PRECONDITION, "path is a directory"); in NewReadOnlyMemoryRegionFromFile()
309 TF_SetStatus(status, TF_FAILED_PRECONDITION, "target path is a directory"); in RenameFile()
318 TF_SetStatus(status, TF_FAILED_PRECONDITION, "source path is a directory"); in RenameFile()
340 TF_SetStatus(status, TF_FAILED_PRECONDITION, "target path is a directory"); in CopyFile()
349 TF_SetStatus(status, TF_FAILED_PRECONDITION, "source path is a directory"); in CopyFile()
/external/tensorflow/tensorflow/c/
Dtf_status.h53 TF_FAILED_PRECONDITION = 9, enumerator
Dtf_status_helper.cc58 TF_SetStatus(tf_status, TF_FAILED_PRECONDITION, message); in Set_TF_Status_from_Status()
Dc_api_test.cc341 EXPECT_EQ(TF_FAILED_PRECONDITION, in TEST()
/external/tensorflow/tensorflow/java/src/main/native/
Dexception_jni.cc58 case TF_FAILED_PRECONDITION: in exceptionClassName()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_exception_registry.cc52 TF_FAILED_PRECONDITION, in Init()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dgcs_filesystem.cc327 TF_SetStatus(status, TF_FAILED_PRECONDITION, in Append()
879 if (TF_GetCode(status) == TF_FAILED_PRECONDITION) in CreateDir()
911 return TF_SetStatus(status, TF_FAILED_PRECONDITION, in DeleteDir()
966 status, TF_FAILED_PRECONDITION, in IsDirectory()
1003 if (TF_GetCode(status) == TF_FAILED_PRECONDITION) { in RenameFile()
1099 if (TF_GetCode(status) == TF_FAILED_PRECONDITION) { in Stat()
Dram_file_block_cache_test.cc510 TF_SetStatus(status, TF_FAILED_PRECONDITION, in TEST()
Dgcs_filesystem_test.cc471 EXPECT_EQ(TF_GetCode(status_), TF_FAILED_PRECONDITION); in TEST_F()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/
Ds3_filesystem.cc69 TF_SetStatus(status, TF_FAILED_PRECONDITION, in TF_SetStatusFromAWSError()
398 TF_SetStatus(status, TF_FAILED_PRECONDITION, in Append()
425 TF_SetStatus(status, TF_FAILED_PRECONDITION, in Sync()
671 if (TF_GetCode(status) == TF_FAILED_PRECONDITION) return; in Stat()
694 if (TF_GetCode(status) == TF_FAILED_PRECONDITION) return; in Stat()
964 return TF_SetStatus(status, TF_FAILED_PRECONDITION, in CopyFile()
/external/tensorflow/tensorflow/c/eager/
Dc_api_unified_experimental_test.cc943 ASSERT_EQ(TF_FAILED_PRECONDITION, TF_GetCode(status.get())); in TEST_P()
964 ASSERT_EQ(TF_FAILED_PRECONDITION, TF_GetCode(status.get())); in TEST_P()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/hadoop/
Dhadoop_filesystem.cc642 return TF_SetStatus(status, TF_FAILED_PRECONDITION, in DeleteDir()
/external/tensorflow/tensorflow/python/client/
Dtf_session_wrapper.cc1218 .value("TF_FAILED_PRECONDITION", TF_FAILED_PRECONDITION) in PYBIND11_MODULE()