Home
last modified time | relevance | path

Searched refs:TF_SetStatus (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/c/
Dtf_status_helper.cc30 TF_SetStatus(tf_status, TF_CANCELLED, message); in Set_TF_Status_from_Status()
33 TF_SetStatus(tf_status, TF_UNKNOWN, message); in Set_TF_Status_from_Status()
36 TF_SetStatus(tf_status, TF_INVALID_ARGUMENT, message); in Set_TF_Status_from_Status()
39 TF_SetStatus(tf_status, TF_DEADLINE_EXCEEDED, message); in Set_TF_Status_from_Status()
42 TF_SetStatus(tf_status, TF_NOT_FOUND, message); in Set_TF_Status_from_Status()
45 TF_SetStatus(tf_status, TF_ALREADY_EXISTS, message); in Set_TF_Status_from_Status()
48 TF_SetStatus(tf_status, TF_PERMISSION_DENIED, message); in Set_TF_Status_from_Status()
51 TF_SetStatus(tf_status, TF_UNAUTHENTICATED, message); in Set_TF_Status_from_Status()
54 TF_SetStatus(tf_status, TF_RESOURCE_EXHAUSTED, message); in Set_TF_Status_from_Status()
57 TF_SetStatus(tf_status, TF_FAILED_PRECONDITION, message); in Set_TF_Status_from_Status()
[all …]
Denv.cc29 TF_SetStatus(status, TF_OK, ""); in TF_CreateDir()
35 TF_SetStatus(status, TF_OK, ""); in TF_DeleteDir()
44 TF_SetStatus(status, TF_OK, ""); in TF_DeleteRecursively()
54 TF_SetStatus(status, TF_OK, ""); in TF_FileStat()
68 TF_SetStatus(status, TF_OK, ""); in TF_NewWritableFile()
80 TF_SetStatus(status, TF_OK, ""); in TF_CloseWritableFile()
87 TF_SetStatus(status, TF_OK, ""); in TF_SyncWritableFile()
93 TF_SetStatus(status, TF_OK, ""); in TF_FlushWritableFile()
100 TF_SetStatus(status, TF_OK, ""); in TF_AppendWritableFile()
106 TF_SetStatus(status, TF_OK, ""); in TF_DeleteFile()
[all …]
Dkernels.cc120 TF_SetStatus(status, TF_OK, ""); in TF_RegisterKernelBuilder()
137 TF_SetStatus(status, TF_OUT_OF_RANGE, "input index out of range"); in TF_GetInput()
151 TF_SetStatus(status, TF_OUT_OF_RANGE, "input index out of range"); in TF_SetOutput()
156 TF_SetStatus(status, TF_OK, ""); in TF_SetOutput()
180 TF_SetStatus(status, TF_OK, ""); \
Dc_api.cc123 void TF_SetStatus(TF_Status* s, TF_Code code, const char* msg) { in TF_SetStatus() function
299 TF_SetStatus(status, TF_OK, ""); in TF_TensorBitcastFrom()
302 TF_SetStatus(status, TF_INVALID_ARGUMENT, in TF_TensorBitcastFrom()
308 TF_SetStatus(status, TF_INVALID_ARGUMENT, in TF_TensorBitcastFrom()
315 TF_SetStatus(status, TF_INVALID_ARGUMENT, in TF_TensorBitcastFrom()
564 TF_SetStatus(status, TF_OK, ""); in TF_TensorFromTensor()
Dc_api.h167 TF_CAPI_EXPORT extern void TF_SetStatus(TF_Status* s, TF_Code code,
Dc_api_test.cc115 TF_SetStatus(s, TF_CANCELLED, "cancel"); in TEST()
/external/tensorflow/tensorflow/python/lib/io/
Dpy_record_writer.cc54 TF_SetStatus(out_status, TF_FAILED_PRECONDITION, in WriteRecord()
66 TF_SetStatus(out_status, TF_FAILED_PRECONDITION, in Flush()
Dfile_io.i117 TF_SetStatus(out_status, TF_ALREADY_EXISTS, "file already exists"); in CopyFile()
131 TF_SetStatus(out_status, TF_ALREADY_EXISTS, "file already exists"); in RenameFile()
152 TF_SetStatus(out_status, TF_PERMISSION_DENIED, in DeleteRecursively()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc441 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_init()
542 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_shape_tuple()
553 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_shape_tuple()
568 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_rank()
584 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_num_elements()
671 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_device()
687 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_backing_device()
869 TF_SetStatus(as_c_eager_tensor->status, TF_OK, ""); in PyEagerTensor_NumElements()
Dpywrap_tfe_src.cc128 TF_SetStatus(status, TF_INVALID_ARGUMENT, \
156 TF_SetStatus( in PARSE_VALUE()
195 TF_SetStatus( in ParseDimensionValue()
229 TF_SetStatus( in ParseStringValue()
255 TF_SetStatus( in ParseTypeValue()
272 TF_SetStatus( in SetOpAttrList()
322 TF_SetStatus( in SetOpAttrList()
390 TF_SetStatus( in SetOpAttrList()
408 TF_SetStatus(status, TF_UNIMPLEMENTED, in SetOpAttrList()
518 TF_SetStatus(status, TF_UNIMPLEMENTED, in SetOpAttrListDefault()
[all …]
/external/tensorflow/tensorflow/c/kernels/
Dbitcast_op.cc71 TF_SetStatus(s, TF_INVALID_ARGUMENT, err.str().c_str()); in BitcastOp_Create()
104 TF_SetStatus(status, TF_INVALID_ARGUMENT, err.str().c_str()); in BitcastOp_Compute()
/external/tensorflow/tensorflow/tools/lib_package/
Dlibtensorflow_test.c22 TF_SetStatus(s, TF_UNKNOWN, "Some error"); in main()
/external/tensorflow/tensorflow/python/grappler/
Dtf_optimizer.i106TF_SetStatus(out_status, TF_INVALID_ARGUMENT, "Failed to import metagraph, check error log for mor… in TF_OptimizeGraph()
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc249 TF_SetStatus(status, TF_OUT_OF_RANGE, in Add()
283 TF_SetStatus( in Next()
291 TF_SetStatus(status, TF_INTERNAL, in Next()
/external/tensorflow/tensorflow/python/framework/
Dcpp_shape_inference.cc180 TF_SetStatus(out_status, TF_INVALID_ARGUMENT, "Invalid python value"); in RunCppShapeInference()
/external/tensorflow/tensorflow/c/eager/
Dc_api_test.cc552 TF_SetStatus(status.get(), TF_OK, ""); in TensorHandleCopyBetweenDevicesError()
784 TF_SetStatus(status.get(), TF_OK, ""); in TEST()
792 TF_SetStatus(status.get(), TF_OK, ""); in TEST()
800 TF_SetStatus(status.get(), TF_OK, ""); in TEST()
808 TF_SetStatus(status.get(), TF_OK, ""); in TEST()
942 TF_SetStatus(status, TF_OK, ""); in Execute_MatMul_CPU_Runtime_Error()
952 TF_SetStatus(status, TF_OK, ""); in Execute_MatMul_CPU_Runtime_Error()
Dc_api.cc680 TF_SetStatus(out_status, TF_INVALID_ARGUMENT, in TFE_OpSetAttrShape()
774 TF_SetStatus(out_status, TF_INVALID_ARGUMENT, in TFE_OpSetAttrShapeList()
968 TF_SetStatus( in SetOpAttrValueScalar()