Home
last modified time | relevance | path

Searched refs:TF_Status (Results 1 – 25 of 81) sorted by relevance

1234

/external/tensorflow/tensorflow/c/
Dc_api.h157 typedef struct TF_Status TF_Status; typedef
160 TF_CAPI_EXPORT extern TF_Status* TF_NewStatus(void);
163 TF_CAPI_EXPORT extern void TF_DeleteStatus(TF_Status*);
167 TF_CAPI_EXPORT extern void TF_SetStatus(TF_Status* s, TF_Code code,
171 TF_CAPI_EXPORT extern TF_Code TF_GetCode(const TF_Status* s);
177 TF_CAPI_EXPORT extern const char* TF_Message(const TF_Status* s);
306 TF_Status* status);
318 TF_Status* status);
330 TF_Status* status);
358 TF_Status* status);
[all …]
Dc_api_experimental.h102 TF_Graph* graph, TF_Status* status);
114 unsigned char is_mnist, TF_Status* status);
127 TF_Status* status);
143 TF_Status* status);
145 TF_Buffer* TFE_GetServerDef(const char* text_proto, TF_Status* status);
149 const TFE_ContextOptions* opts, TF_Session* sess, TF_Status* status);
161 TF_Session* session, TF_Status* status);
166 TF_Status* status);
169 TFE_Context* ctx, int tensor_id, TF_DataType inputType, TF_Status* status);
174 TF_Status* status);
[all …]
Dc_test_util.h52 TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s,
57 TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s,
60 TF_Operation* ScalarConst(bool v, TF_Graph* graph, TF_Status* s,
63 TF_Operation* ScalarConst(int32_t v, TF_Graph* graph, TF_Status* s,
66 TF_Operation* ScalarConst(double v, TF_Graph* graph, TF_Status* s,
69 TF_Operation* ScalarConst(float v, TF_Graph* graph, TF_Status* s,
73 TF_Status* s, const char* name = "add");
76 TF_Status* s, const char* name = "add");
80 TF_Status* s, const char* name = "add");
82 TF_Operation* Add(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s,
[all …]
Denv.h63 TF_CAPI_EXPORT extern void TF_CreateDir(const char* dirname, TF_Status* status);
68 TF_CAPI_EXPORT extern void TF_DeleteDir(const char* dirname, TF_Status* status);
95 TF_Status* status);
101 TF_Status* status);
108 TF_Status* status);
113 TF_Status* status);
118 TF_Status* status);
126 TF_Status* status);
133 TF_Status* status);
137 TF_Status* status);
[all …]
Dc_test_util.cc108 void PlaceholderHelper(TF_Graph* graph, TF_Status* s, const char* name, in PlaceholderHelper()
121 TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s, const char* name, in Placeholder()
128 void ConstHelper(TF_Tensor* t, TF_Graph* graph, TF_Status* s, const char* name, in ConstHelper()
139 TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s, in Const()
146 TF_Operation* ScalarConst(bool v, TF_Graph* graph, TF_Status* s, in ScalarConst()
152 TF_Operation* ScalarConst(int32_t v, TF_Graph* graph, TF_Status* s, in ScalarConst()
158 TF_Operation* ScalarConst(double v, TF_Graph* graph, TF_Status* s, in ScalarConst()
164 TF_Operation* ScalarConst(float v, TF_Graph* graph, TF_Status* s, in ScalarConst()
171 TF_Status* s, const char* name, TF_Operation** op, in AddOpHelper()
184 TF_Status* s, const char* name) { in Add()
[all …]
Denv.cc28 void TF_CreateDir(const char* dirname, TF_Status* status) { in TF_CreateDir()
34 void TF_DeleteDir(const char* dirname, TF_Status* status) { in TF_DeleteDir()
41 int64_t* undeleted_dir_count, TF_Status* status) { in TF_DeleteRecursively()
52 TF_Status* status) { in TF_FileStat()
66 TF_Status* status) { in TF_NewWritableFile()
78 void TF_CloseWritableFile(TF_WritableFileHandle* handle, TF_Status* status) { in TF_CloseWritableFile()
85 void TF_SyncWritableFile(TF_WritableFileHandle* handle, TF_Status* status) { in TF_SyncWritableFile()
91 void TF_FlushWritableFile(TF_WritableFileHandle* handle, TF_Status* status) { in TF_FlushWritableFile()
98 size_t length, TF_Status* status) { in TF_AppendWritableFile()
105 void TF_DeleteFile(const char* filename, TF_Status* status) { in TF_DeleteFile()
[all …]
Dpython_api.h33 TF_Buffer* attr_value_proto, TF_Status* status);
38 TF_Status* status);
44 TF_Status* status);
60 void ExtendSession(TF_Session* session, TF_Status* status);
73 size_t proto_len, TF_Status* status);
79 TF_Status* status);
Dkernels.h82 TF_Status* status);
104 TF_Tensor** tensor, TF_Status* status);
112 TF_Status* status);
116 TF_OpKernelConstruction* ctx, TF_Status* status);
121 TF_Status* status);
138 TF_Status* status);
Dc_api.cc119 TF_Status* TF_NewStatus() { return new TF_Status; } in TF_NewStatus()
121 void TF_DeleteStatus(TF_Status* s) { delete s; } in TF_DeleteStatus()
123 void TF_SetStatus(TF_Status* s, TF_Code code, const char* msg) { in TF_SetStatus()
131 TF_Code TF_GetCode(const TF_Status* s) { in TF_GetCode()
135 const char* TF_Message(const TF_Status* s) { in TF_Message()
298 int num_new_dims, TF_Status* status) { in TF_TensorBitcastFrom()
335 size_t dst_len, TF_Status* status) { in TF_StringEncode()
369 size_t* dst_len, TF_Status* status) { in TF_StringDecode()
388 size_t proto_len, TF_Status* status) { in TF_SetConfig()
423 TF_Status* status) { in TF_NewDeprecatedSession()
[all …]
Dkernels.cc113 TF_Status* status) { in TF_RegisterKernelBuilder()
134 TF_Status* status) { in TF_GetInput()
148 TF_Status* status) { in TF_SetOutput()
164 TF_Status* status) { in TF_OpKernelConstruction_Failure()
170 void TF_OpKernelContext_Failure(TF_OpKernelContext* ctx, TF_Status* status) { in TF_OpKernelContext_Failure()
179 c_type* val, TF_Status* status) { \
Dpython_api.cc30 TF_Buffer* attr_value_proto, TF_Status* status) { in SetAttr()
45 TF_Status* status) { in ClearAttr()
60 TF_Status* status) { in UpdateEdge()
117 void ExtendSession(TF_Session* session, TF_Status* status) { in ExtendSession()
148 size_t proto_len, TF_Status* status) { in SetHandleShapeAndType()
173 TF_Status* status) { in AddWhileInputHack()
Dc_test.c32 TF_Status* s = TF_NewStatus(); in create()
42 TF_Status* s = TF_NewStatus(); in compute()
73 TF_Status* status = TF_NewStatus(); in main()
/external/tensorflow/tensorflow/c/eager/
Dc_api.h59 TF_Status* status);
94 const TFE_ContextOptions* opts, TF_Status* status);
97 TF_Status* status);
102 TF_Status* status);
119 TF_Status* status);
131 TF_Status* status);
141 TF_Status* status);
160 TF_Status* status);
166 TF_Status* status);
168 TF_Status* status);
[all …]
Dc_api_test_util.cc28 TF_Status* status = TF_NewStatus(); in TestScalarTensorHandle()
40 TF_Status* status = TF_NewStatus(); in TestScalarTensorHandle()
52 TF_Status* status = TF_NewStatus(); in TestScalarTensorHandle()
66 TF_Status* status = TF_NewStatus(); in DoubleTestMatrixTensorHandle()
80 TF_Status* status = TF_NewStatus(); in TestMatrixTensorHandle()
94 TF_Status* status = TF_NewStatus(); in DoubleTestMatrixTensorHandle3X2()
108 TF_Status* status = TF_NewStatus(); in TestMatrixTensorHandle3X2()
117 TF_Status* status = TF_NewStatus(); in MatMulOp()
132 TF_Status* status = TF_NewStatus(); in ShapeOp()
150 TF_Status* status = TF_NewStatus(); in TestAxisTensorHandle()
[all …]
Dc_api.cc314 size_t proto_len, TF_Status* status) { in TFE_ContextOptionsSetConfig()
330 TF_Status* status) { in TFE_ContextSetAsyncForThread()
336 TFE_Context* TFE_NewContext(const TFE_ContextOptions* opts, TF_Status* status) { in TFE_NewContext()
354 TF_Session* sess, TF_Status* status) { in TFE_NewContextFromSession()
367 TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx, TF_Status* status) { in TFE_ContextListDevices()
376 void TFE_ContextClearCaches(TFE_Context* ctx, TF_Status* status) { in TFE_ContextClearCaches()
385 TF_Status* status) { in TFE_ContextSetServerDef()
411 void TFE_ContextAsyncWait(TFE_Context* ctx, TF_Status* status) { in TFE_ContextAsyncWait()
415 void TFE_ContextGetStatus(TFE_Context* ctx, TF_Status* status) { in TFE_ContextGetStatus()
423 TFE_TensorHandle* TFE_NewTensorHandle(TF_Tensor* t, TF_Status* status) { in TFE_NewTensorHandle()
[all …]
Dc_api_test.cc40 TF_Status* status = TF_NewStatus(); in BM_InitOp()
63 TF_Status* status = TF_NewStatus(); in BM_Execute()
92 TF_Status* status = TF_NewStatus(); in TEST()
147 TF_Status* status = TF_NewStatus(); in TestRemoteExecute()
231 TF_Status* status = TF_NewStatus(); in TestRemoteExecuteSilentCopies()
302 std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( in CheckTFE_TensorHandleHasFloats()
320 TF_Status* status = TF_NewStatus(); in CheckRemoteMatMulExecutesOK()
363 TF_Status* status = TF_NewStatus(); in TestRemoteExecuteChangeServerDef()
445 std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( in TEST()
460 std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( in TensorHandleCopyBetweenDevices()
[all …]
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io.i35 inline void FileExists(const string& filename, TF_Status* out_status) { in FileExists()
43 TF_Status* out_status) { in FileExists()
51 inline void DeleteFile(const string& filename, TF_Status* out_status) { in DeleteFile()
58 string ReadFileToString(const string& filename, TF_Status* out_status) { in ReadFileToString()
69 TF_Status* out_status) { in WriteStringToFile()
77 std::vector<string> GetChildren(const string& dir, TF_Status* out_status) { in GetChildren()
88 TF_Status* out_status) { in GetMatchingFiles()
98 void CreateDir(const string& dirname, TF_Status* out_status) { in CreateDir()
105 void RecursivelyCreateDir(const string& dirname, TF_Status* out_status) { in RecursivelyCreateDir()
114 TF_Status* out_status) { in CopyFile()
[all …]
Dpy_record_writer.h42 TF_Status* out_status);
45 void WriteRecord(tensorflow::StringPiece record, TF_Status* out_status);
46 void Flush(TF_Status* out_status);
47 void Close(TF_Status* out_status);
Dpy_record_writer.cc32 TF_Status* out_status) { in New()
52 TF_Status* out_status) { in WriteRecord()
64 void PyRecordWriter::Flush(TF_Status* out_status) { in Flush()
82 void PyRecordWriter::Close(TF_Status* out_status) { in Close()
/external/tensorflow/tensorflow/python/client/
Dtf_session_helper.h44 TF_Status* status);
62 const NameVector& target_nodes, TF_Status* out_status,
69 TF_Status* out_status);
72 int64_t* out_handle, TF_Status* out_status);
77 TF_Status* out_status,
81 PyObject* feed_values, TF_Status* out_status,
86 int64_t handle, TF_Status* out_status);
88 TF_Status* out_status);
100 const NameVector& target_nodes, TF_Status* out_status,
117 TF_Status* out_status, PyObjectVector* out_values);
[all …]
Dtf_session_helper.cc47 TF_Status* status) { in TF_NewSessionRef()
63 TF_Status* out_status, PyObjectVector* out_values, in TF_Run_wrapper_helper()
165 const NameVector& target_nodes, TF_Status* out_status, in TF_Run_wrapper()
175 TF_Status* out_status) { in MakeCallableHelper()
198 TF_Status* out_status) { in TF_DeprecatedSessionMakeCallable()
204 int64_t* out_handle, TF_Status* out_status) { in TF_SessionMakeCallable()
211 PyObject* feed_values, TF_Status* out_status, in RunCallableHelper()
294 TF_Status* out_status, in TF_DeprecatedSessionRunCallable()
302 PyObject* feed_values, TF_Status* out_status, in TF_SessionRunCallable()
312 TF_Status* out_status) { in TF_DeprecatedSessionReleaseCallable()
[all …]
Ddevice_lib.i47 const tensorflow::ConfigProto& config, TF_Status* out_status) { in ListDevicesWithSessionConfig()
74 std::vector<string> ListDevices(TF_Status* out_status) { in ListDevices()
94 std::vector<string> ListDevices(TF_Status* out_status);
96 const tensorflow::ConfigProto& config, TF_Status* out_status);
/external/tensorflow/tensorflow/python/
Dpywrap_tfe.i263 %typemap(in, numinputs=0) TF_Status *out_status {
267 %typemap(freearg) (TF_Status* out_status) {
271 %typemap(argout) (TFE_OutputTensorHandles* outputs, TF_Status* out_status) {
300 %typemap(in, numinputs=0) TF_Status *out_status;
305 %typemap(in, numinputs=0) TF_Status *out_status;
306 %typemap(freearg) (TF_Status* out_status);
307 %typemap(argout) (TFE_OutputTensorHandles* outputs, TF_Status* out_status);
/external/tensorflow/tensorflow/java/src/main/native/
Dserver_jni.cc39 TF_Status* status = TF_NewStatus(); in Java_org_tensorflow_Server_allocate()
61 TF_Status* status = TF_NewStatus(); in Java_org_tensorflow_Server_start()
75 TF_Status* status = TF_NewStatus(); in Java_org_tensorflow_Server_stop()
89 TF_Status* status = TF_NewStatus(); in Java_org_tensorflow_Server_join()
/external/tensorflow/tensorflow/python/lib/core/
Dsafe_ptr.h42 void operator()(TF_Status* p) const { TF_DeleteStatus(p); } in operator()
65 using Safe_TF_StatusPtr = std::unique_ptr<TF_Status, detail::TFStatusDeleter>;
66 Safe_TF_StatusPtr make_safe(TF_Status* status);

1234