Home
last modified time | relevance | path

Searched refs:tf_status (Results 1 – 25 of 31) sorted by relevance

12

/external/tensorflow/tensorflow/c/
Dtf_status_helper.cc23 void Set_TF_Status_from_Status(TF_Status* tf_status, const Status& status) { in Set_TF_Status_from_Status() argument
29 assert(TF_GetCode(tf_status) == TF_OK); in Set_TF_Status_from_Status()
32 TF_SetStatus(tf_status, TF_CANCELLED, message); in Set_TF_Status_from_Status()
35 TF_SetStatus(tf_status, TF_UNKNOWN, message); in Set_TF_Status_from_Status()
38 TF_SetStatus(tf_status, TF_INVALID_ARGUMENT, message); in Set_TF_Status_from_Status()
41 TF_SetStatus(tf_status, TF_DEADLINE_EXCEEDED, message); in Set_TF_Status_from_Status()
44 TF_SetStatus(tf_status, TF_NOT_FOUND, message); in Set_TF_Status_from_Status()
47 TF_SetStatus(tf_status, TF_ALREADY_EXISTS, message); in Set_TF_Status_from_Status()
50 TF_SetStatus(tf_status, TF_PERMISSION_DENIED, message); in Set_TF_Status_from_Status()
53 TF_SetStatus(tf_status, TF_UNAUTHENTICATED, message); in Set_TF_Status_from_Status()
[all …]
Dtf_status_test.cc28 TF_Status* tf_status = TF_NewStatus(); in TEST() local
29 TF_SetStatus(tf_status, TF_CANCELLED, "Error Message"); in TEST()
30 TF_SetPayload(tf_status, "a", "1"); in TEST()
31 TF_SetPayload(tf_status, "b", "2"); in TEST()
32 TF_SetPayload(tf_status, "c", "3"); in TEST()
35 errors::GetPayloads(tf_status->status); in TEST()
40 TF_DeleteStatus(tf_status); in TEST()
Dtf_status_helper.h25 void Set_TF_Status_from_Status(TF_Status* tf_status,
29 tensorflow::Status StatusFromTF_Status(const TF_Status* tf_status);
33 void operator()(TF_Status* tf_status) const { TF_DeleteStatus(tf_status); } in operator()
DBUILD43 "tf_status.h",
162 ":tf_status",
176 "tf_status.h",
238 ":tf_status",
279 "tf_status.h",
336 name = "tf_status",
337 srcs = ["tf_status.cc"],
338 hdrs = ["tf_status.h"],
356 ":tf_status",
366 hdrs = ["tf_status.h"],
[all …]
Dkernels_experimental.cc258 TF_Status* tf_status) { in TF_AssignUpdateVariable() argument
284 TF_SetStatus(tf_status, TF_OK, ""); in TF_AssignUpdateVariable()
/external/tensorflow/tensorflow/python/framework/
Derrors_test_helper.cc31 TF_Status *tf_status = TF_NewStatus(); in PYBIND11_MODULE() local
32 TF_SetStatus(tf_status, static_cast<TF_Code>(code), "test_message"); in PYBIND11_MODULE()
33 TF_SetPayload(tf_status, "key1", "value1"); in PYBIND11_MODULE()
34 TF_SetPayload(tf_status, "key2", "value2"); in PYBIND11_MODULE()
35 MaybeRaiseRegisteredFromTFStatus(tf_status); in PYBIND11_MODULE()
36 TF_DeleteStatus(tf_status); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/c/kernels/
DBUILD24 "//tensorflow/c:tf_status",
36 "//tensorflow/c:tf_status",
51 "//tensorflow/c:tf_status",
65 "//tensorflow/c:tf_status",
78 "//tensorflow/c:tf_status",
88 "//tensorflow/c:tf_status",
97 "//tensorflow/c:tf_status",
106 "//tensorflow/c:tf_status",
Dmerge_summary_op.cc38 void operator()(TF_Status* tf_status) const { TF_DeleteStatus(tf_status); } in operator ()()
Dhistogram_summary_op.cc39 void operator()(TF_Status* tf_status) const { TF_DeleteStatus(tf_status); } in operator ()()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_embedding_enqueue_ops.cc139 Status tf_status; in Compute() local
141 sample_indices_or_row_splits_list[i], &tf_status); in Compute()
142 OP_REQUIRES_OK(ctx, tf_status); in Compute()
144 TF_TensorFromTensorShallow(embedding_indices_list[i], &tf_status); in Compute()
145 OP_REQUIRES_OK(ctx, tf_status); in Compute()
147 TF_TensorFromTensorShallow(aggregation_weights_list[i], &tf_status); in Compute()
148 OP_REQUIRES_OK(ctx, tf_status); in Compute()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/ir/
DBUILD18 "tf_status.td",
61 "tf_status.h.inc",
65 "tf_status.cc.inc",
69 td_file = "tf_status.td",
/external/tensorflow/tensorflow/c/experimental/stream_executor/
DBUILD43 "//tensorflow/c:tf_status",
70 "//tensorflow/c:tf_status",
100 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
DBUILD35 "//tensorflow/c:tf_status",
66 "//tensorflow/c:tf_status",
111 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/c/experimental/pluggable_profiler/
DBUILD37 "//tensorflow/c:tf_status",
61 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/tools/ci_build/windows/
Dlibtensorflow_gpu.sh69 tensorflow/c/tf_status.h \
96 include/tensorflow/c/tf_status.h \
Dlibtensorflow_cpu.sh69 tensorflow/c/tf_status.h \
96 include/tensorflow/c/tf_status.h \
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/windows/
DBUILD35 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/c/experimental/grappler/
DBUILD39 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/cc/experimental/base/public/
DBUILD52 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/c/experimental/filesystem/
DBUILD19 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/
DBUILD27 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/compiler/xla/stream_executor/tpu/
DBUILD35 "//tensorflow/c:tf_status",
200 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/c/experimental/saved_model/internal/
DBUILD156 "//tensorflow/c:tf_status",
370 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/compiler/mlir/python/
DBUILD24 "//tensorflow/c:tf_status",
/external/tensorflow/tensorflow/c/eager/
DBUILD181 "//tensorflow/c:tf_status",
249 "//tensorflow/c:tf_status",
562 "//tensorflow/c:tf_status",

12