/external/tensorflow/tensorflow/c/ |
D | c_api.h | 156 typedef struct TF_Status TF_Status; typedef 159 TF_CAPI_EXPORT extern TF_Status* TF_NewStatus(); 162 TF_CAPI_EXPORT extern void TF_DeleteStatus(TF_Status*); 166 TF_CAPI_EXPORT extern void TF_SetStatus(TF_Status* s, TF_Code code, 170 TF_CAPI_EXPORT extern TF_Code TF_GetCode(const TF_Status* s); 176 TF_CAPI_EXPORT extern const char* TF_Message(const TF_Status* s); 284 TF_Status* status); 296 TF_Status* status); 324 TF_Status* status); 394 TF_Status* status); [all …]
|
D | c_test_util.h | 47 TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s, 50 TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s, 53 TF_Operation* ScalarConst(int32_t v, TF_Graph* graph, TF_Status* s, 56 TF_Operation* ScalarConst(double v, TF_Graph* graph, TF_Status* s, 60 TF_Status* s, const char* name = "add"); 63 TF_Status* s, const char* name = "add"); 67 TF_Status* s, const char* name = "add"); 69 TF_Operation* Add(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s, 73 TF_Status* s, const char* name = "min"); 77 const string& op_device, TF_Status* s, [all …]
|
D | c_test_util.cc | 84 void PlaceholderHelper(TF_Graph* graph, TF_Status* s, const char* name, in PlaceholderHelper() 93 TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s, const char* name) { in Placeholder() 99 void ConstHelper(TF_Tensor* t, TF_Graph* graph, TF_Status* s, const char* name, in ConstHelper() 110 TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s, in Const() 117 TF_Operation* ScalarConst(int32_t v, TF_Graph* graph, TF_Status* s, in ScalarConst() 123 TF_Operation* ScalarConst(double v, TF_Graph* graph, TF_Status* s, in ScalarConst() 130 TF_Status* s, const char* name, TF_Operation** op, in AddOpHelper() 143 TF_Status* s, const char* name) { in Add() 150 TF_Status* s, const char* name) { in AddNoCheck() 158 TF_Status* s, const char* name) { in AddWithCtrlDependency() [all …]
|
D | c_api.cc | 107 TF_Status* TF_NewStatus() { return new TF_Status; } in TF_NewStatus() 109 void TF_DeleteStatus(TF_Status* s) { delete s; } in TF_DeleteStatus() 111 void TF_SetStatus(TF_Status* s, TF_Code code, const char* msg) { in TF_SetStatus() 119 TF_Code TF_GetCode(const TF_Status* s) { in TF_GetCode() 123 const char* TF_Message(const TF_Status* s) { in TF_Message() 251 size_t dst_len, TF_Status* status) { in TF_StringEncode() 285 size_t* dst_len, TF_Status* status) { in TF_StringDecode() 304 size_t proto_len, TF_Status* status) { in TF_SetConfig() 338 TF_Status* status) { in TF_NewDeprecatedSession() 349 void TF_CloseDeprecatedSession(TF_DeprecatedSession* s, TF_Status* status) { in TF_CloseDeprecatedSession() [all …]
|
D | tf_status_helper.h | 25 void Set_TF_Status_from_Status(TF_Status* tf_status, const Status& status); 28 Status StatusFromTF_Status(const TF_Status* tf_status);
|
D | python_api.h | 31 TF_Buffer* attr_value_proto, TF_Status* status); 36 TF_Status* status);
|
D | checkpoint_reader.h | 42 CheckpointReader(const string& filepattern, TF_Status* out_status); 59 TF_Status* out_status) const;
|
D | c_api_internal.h | 49 struct TF_Status { struct 193 TF_Tensor* TF_TensorFromTensor(const Tensor& src, TF_Status* status); 210 TF_Status* status);
|
/external/tensorflow/tensorflow/python/lib/io/ |
D | file_io.i | 35 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 …]
|
D | py_record_writer.h | 43 TF_Status* out_status); 47 void Flush(TF_Status* out_status); 48 void Close(TF_Status* out_status);
|
D | py_record_writer.cc | 32 TF_Status* out_status) { in New() 58 void PyRecordWriter::Flush(TF_Status* out_status) { in Flush() 66 void PyRecordWriter::Close(TF_Status* out_status) { in Close()
|
D | py_record_reader.h | 41 TF_Status* out_status); 49 void GetNext(TF_Status* status);
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api.h | 59 TF_Status* status); 89 const TFE_ContextOptions* opts, TF_Status* status); 91 TF_Status* status); 93 TF_Status* status); 119 TF_Status* status); 128 TF_Status* status); 138 TF_Status* status); 155 TF_Status* status); 159 TF_Status* status); 162 TF_Status* status); [all …]
|
D | c_api.cc | 75 size_t proto_len, TF_Status* status) { in TFE_ContextOptionsSetConfig() 86 TFE_Context* TFE_NewContext(const TFE_ContextOptions* opts, TF_Status* status) { in TFE_NewContext() 105 void TFE_DeleteContext(TFE_Context* ctx, TF_Status* status) { in TFE_DeleteContext() 118 TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx, TF_Status* status) { in TFE_ContextListDevices() 144 TFE_TensorHandle* TFE_NewTensorHandle(TF_Tensor* t, TF_Status* status) { in TFE_NewTensorHandle() 171 TF_Tensor* TFE_TensorHandleResolve(TFE_TensorHandle* h, TF_Status* status) { in TFE_TensorHandleResolve() 189 TF_Status* status) { in TFE_TensorHandleCopyToDevice() 257 TF_Status* status) { in TFE_NewOp() 274 void TFE_OpSetDevice(TFE_Op* op, const char* device_name, TF_Status* status) { in TFE_OpSetDevice() 284 const char* TFE_OpGetDevice(TFE_Op* op, TF_Status* status) { in TFE_OpGetDevice() [all …]
|
D | c_api_test.cc | 38 TF_Status* status = TF_NewStatus(); in TestMatrixTensorHandle() 47 TF_Status* status = TF_NewStatus(); in MatMulOp() 69 TF_Status* status = TF_NewStatus(); in TestAxisTensorHandle() 79 TF_Status* status = TF_NewStatus(); in MinOp() 98 std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( in GetGPUDeviceName() 122 TF_Status* status = TF_NewStatus(); in BM_InitOp() 144 TF_Status* status = TF_NewStatus(); in BM_Execute() 169 TF_Status* status = TF_NewStatus(); in TEST() 194 std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( in TEST() 209 std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( in TEST() [all …]
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session_helper.h | 59 const NameVector& target_nodes, TF_Status* out_status, 72 const NameVector& target_nodes, TF_Status* out_status, 89 TF_Status* out_status, PyObjectVector* out_values); 93 const NameVector& containers, TF_Status* out_status); 114 TF_Graph* graph, TF_Output output, TF_Status* out_status, 127 TF_Buffer* run_metadata, TF_Status* out_status, 144 TF_Status* out_status); 160 TF_Status* out_status, 182 const char* description, TF_Status* out_status); 197 TF_Status* status); [all …]
|
D | tf_session_helper.cc | 49 TF_Status* out_status, PyObjectVector* out_values, in TF_Run_wrapper_helper() 151 const NameVector& target_nodes, TF_Status* out_status, in TF_Run_wrapper() 163 const NameVector& target_nodes, TF_Status* out_status, in TF_PRunSetup_wrapper() 179 TF_Status* out_status, PyObjectVector* out_values) { in TF_PRun_wrapper() 187 const NameVector& containers, TF_Status* out_status) { in TF_Reset_wrapper() 199 TF_Status* out_status, in TF_SessionRun_wrapper_helper() 284 TF_Buffer* run_metadata, TF_Status* out_status, in TF_SessionRun_wrapper() 330 TF_Graph* graph, TF_Output output, TF_Status* out_status, in TF_GraphGetTensorShapeHelper() 360 TF_Status* out_status) { in TF_SessionPRunSetup_wrapper() 373 TF_Status* out_status, in TF_SessionPRun_wrapper() [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | server_lib.i | 69 TF_Status* out_status) { in PyServer_New() 77 TF_Status* out_status) { in PyServer_Start() 83 TF_Status* out_status) { in PyServer_Stop() 89 TF_Status* out_status) { in PyServer_Join() 97 TF_Status* out_status); 99 TF_Status* out_status); 101 TF_Status* out_status); 103 TF_Status* out_status);
|
/external/tensorflow/tensorflow/python/ |
D | pywrap_tfe.i | 166 %typemap(in, numinputs=0) TF_Status *out_status { 170 %typemap(freearg) (TF_Status* out_status) { 174 %typemap(argout) (TFE_OutputTensorHandles* outputs, TF_Status* out_status) { 200 %typemap(in, numinputs=0) TF_Status *out_status; 205 %typemap(in, numinputs=0) TF_Status *out_status; 206 %typemap(freearg) (TF_Status* out_status); 207 %typemap(argout) (TFE_OutputTensorHandles* outputs, TF_Status* out_status);
|
/external/tensorflow/tensorflow/contrib/tensorrt/segment/ |
D | segment_test.cc | 34 TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s, const char* name); 36 TF_Status* s, const char* name); 42 void PlaceholderHelper(TF_Graph* graph, TF_Status* s, const char* name, 45 TF_Status* s, const char* name, TF_Operation** op, bool check); 52 TF_Status* s = TF_NewStatus(); in GetGraphDef() 70 void SegmentTest::PlaceholderHelper(TF_Graph* graph, TF_Status* s, in PlaceholderHelper() 79 TF_Operation* SegmentTest::Placeholder(TF_Graph* graph, TF_Status* s, in Placeholder() 87 TF_Status* s, const char* name, TF_Operation** op, in AddHelper() 100 TF_Graph* graph, TF_Status* s, in Add() 124 TF_Status* s = TF_NewStatus(); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | safe_ptr.h | 41 void operator()(TF_Status* p) const { TF_DeleteStatus(p); } in operator() 64 using Safe_TF_StatusPtr = std::unique_ptr<TF_Status, detail::TFStatusDeleter>; 65 Safe_TF_StatusPtr make_safe(TF_Status* status);
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe.h | 46 TF_Status* out_status); 65 int MaybeRaiseExceptionFromTFStatus(TF_Status* status, PyObject* exception); 142 PyObject* output_gradients, TF_Status* status);
|
/external/tensorflow/tensorflow/python/grappler/ |
D | cluster.i | 134 bool disable_detailed_stats, TF_Status* out_status) { in TF_NewCluster() 151 TF_Status* out_status) { in TF_NewVirtualCluster() 312 bool generate_timeline, TF_Status* out_status) { in TF_MeasureCosts() 379 TF_Status* out_status) { in TF_DeterminePeakMemoryUsage() 429 bool allow_soft_placement, bool disable_detailed_stats, TF_Status* out_status); 432 TF_Status* out_status); 440 bool generate_timeline, TF_Status* out_status); 443 TF_Status* out_status);
|
/external/tensorflow/tensorflow/java/src/main/native/ |
D | exception_jni.h | 25 struct TF_Status; 37 bool throwExceptionIfNotOK(JNIEnv* env, const TF_Status* status);
|
D | tensor_jni.cc | 224 size_t src_len, TF_Status* status) { in TF_StringDecodeTojbyteArray() 246 void Add(const char* src, size_t len, TF_Status* status) { in Add() 278 jbyteArray Next(JNIEnv* env, TF_Status* status) { in Next() 307 jobjectArray dst, TF_Status* status) { in readNDStringArray() 375 TF_Status* status = TF_NewStatus(); in Java_org_tensorflow_Tensor_allocateScalarBytes() 410 TF_Status* status) { in fillNonScalarTF_STRINGTensorData() 455 TF_Status* status = TF_NewStatus(); in Java_org_tensorflow_Tensor_allocateNonScalarBytes() 578 TF_Status* status = TF_NewStatus(); in Java_org_tensorflow_Tensor_scalarBytes() 607 TF_Status* status = TF_NewStatus(); in Java_org_tensorflow_Tensor_readNDArray()
|