Home
last modified time | relevance | path

Searched refs:TF_CAPI_EXPORT (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/c/
Dc_api.h74 #define TF_CAPI_EXPORT macro
78 #define TF_CAPI_EXPORT __declspec(dllexport) macro
80 #define TF_CAPI_EXPORT __declspec(dllimport) macro
83 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
94 TF_CAPI_EXPORT extern const char* TF_Version(void);
129 TF_CAPI_EXPORT extern size_t TF_DataTypeSize(TF_DataType dt);
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);
[all …]
Dc_api_experimental.h37 #define TF_CAPI_EXPORT macro
41 #define TF_CAPI_EXPORT __declspec(dllexport) macro
43 #define TF_CAPI_EXPORT __declspec(dllimport) macro
46 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
62 TF_CAPI_EXPORT extern void TF_EnableXLACompilation(TF_SessionOptions* options,
71 TF_CAPI_EXPORT extern TF_Buffer* TF_CreateConfig(
78 TF_CAPI_EXPORT extern TF_Buffer* TF_CreateRunOptions(
84 TF_CAPI_EXPORT extern const char* TF_GraphDebugString(TF_Graph* graph,
93 TF_CAPI_EXPORT extern char* TF_FunctionDebugString(TF_Function* func,
101 TF_CAPI_EXPORT extern TF_Operation* TF_MakeFakeIteratorGetNextWithDatasets(
[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);
92 TF_CAPI_EXPORT extern void TF_DeleteRecursively(const char* dirname,
99 TF_CAPI_EXPORT extern void TF_FileStat(const char* filename,
106 TF_CAPI_EXPORT extern void TF_NewWritableFile(const char* filename,
112 TF_CAPI_EXPORT extern void TF_CloseWritableFile(TF_WritableFileHandle* handle,
117 TF_CAPI_EXPORT extern void TF_SyncWritableFile(TF_WritableFileHandle* handle,
125 TF_CAPI_EXPORT extern void TF_FlushWritableFile(TF_WritableFileHandle* handle,
130 TF_CAPI_EXPORT extern void TF_AppendWritableFile(TF_WritableFileHandle* handle,
136 TF_CAPI_EXPORT extern void TF_DeleteFile(const char* filename,
[all …]
Dkernels.h70 TF_CAPI_EXPORT extern TF_KernelBuilder* TF_NewKernelBuilder(
80 TF_CAPI_EXPORT extern void TF_RegisterKernelBuilder(const char* kernel_name,
86 TF_CAPI_EXPORT extern void TF_DeleteKernelBuilder(TF_KernelBuilder* builder);
92 TF_CAPI_EXPORT extern int TF_NumInputs(TF_OpKernelContext* ctx);
96 TF_CAPI_EXPORT extern int TF_NumOutputs(TF_OpKernelContext* ctx);
103 TF_CAPI_EXPORT extern void TF_GetInput(TF_OpKernelContext* ctx, int i,
110 TF_CAPI_EXPORT extern void TF_SetOutput(TF_OpKernelContext* ctx, int i,
115 TF_CAPI_EXPORT extern void TF_OpKernelConstruction_Failure(
120 TF_CAPI_EXPORT extern void TF_OpKernelContext_Failure(TF_OpKernelContext* ctx,
125 TF_CAPI_EXPORT extern TF_DataType TF_ExpectedOutputDataType(
[all …]
Denv.cc149 TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void) { in TF_NowNanos()
154 TF_CAPI_EXPORT extern uint64_t TF_NowMicros(void) { in TF_NowMicros()
159 TF_CAPI_EXPORT extern uint64_t TF_NowSeconds(void) { in TF_NowSeconds()
Dc_api_experimental.cc8952 TF_CAPI_EXPORT extern void TFE_EnableCollectiveOps(TFE_Context* ctx, in TFE_EnableCollectiveOps()
/external/tensorflow/tensorflow/c/eager/
Dc_api.h31 #define TF_CAPI_EXPORT macro
35 #define TF_CAPI_EXPORT __declspec(dllexport) macro
37 #define TF_CAPI_EXPORT __declspec(dllimport) macro
40 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
51 TF_CAPI_EXPORT extern TFE_ContextOptions* TFE_NewContextOptions(void);
57 TF_CAPI_EXPORT extern void TFE_ContextOptionsSetConfig(
78 TF_CAPI_EXPORT extern void TFE_ContextOptionsSetAsync(TFE_ContextOptions*,
81 TF_CAPI_EXPORT extern void TFE_ContextOptionsSetDevicePlacementPolicy(
85 TF_CAPI_EXPORT extern void TFE_DeleteContextOptions(TFE_ContextOptions*);
93 TF_CAPI_EXPORT extern TFE_Context* TFE_NewContext(
[all …]
Dc_api_experimental.h25 TF_CAPI_EXPORT extern void TFE_OpConsumeInput(TFE_Op* op, TFE_TensorHandle* h,
37 TF_CAPI_EXPORT extern TFE_Profiler* TFE_NewProfiler(TFE_ProfilerContext* ctx);
38 TF_CAPI_EXPORT extern bool TFE_ProfilerIsOk(TFE_Profiler* profiler);
39 TF_CAPI_EXPORT extern void TFE_DeleteProfiler(TFE_Profiler* profiler);
43 TF_CAPI_EXPORT extern void TFE_ProfilerSerializeToString(TFE_Context* ctx,
49 TF_CAPI_EXPORT extern TFE_ProfilerContext* TFE_NewProfilerContext(void);
52 TF_CAPI_EXPORT extern void TFE_ProfilerContextSetEagerContext(
56 TF_CAPI_EXPORT extern void TFE_DeleteProfilerContext(
67 TF_CAPI_EXPORT extern void TFE_StartProfilerServer(TFE_ProfilerContext* context,
72 TF_CAPI_EXPORT extern void TFE_ContextEnableGraphCollection(TFE_Context* ctx);
[all …]
Dc_api_debug.cc52 TF_CAPI_EXPORT extern TFE_TensorDebugInfo* TFE_TensorHandleTensorDebugInfo( in TFE_TensorHandleTensorDebugInfo()
148 TF_CAPI_EXPORT extern void TFE_DeleteTensorDebugInfo( in TFE_DeleteTensorDebugInfo()
153 TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims( in TFE_TensorDebugInfoOnDeviceNumDims()
158 TF_CAPI_EXPORT extern int64_t TFE_TensorDebugInfoOnDeviceDim( in TFE_TensorDebugInfoOnDeviceDim()
Dc_api.cc328 TF_CAPI_EXPORT extern void TFE_ContextSetAsyncForThread(TFE_Context* ctx, in TFE_ContextSetAsyncForThread()
381 TF_CAPI_EXPORT extern void TFE_ContextSetServerDef(TFE_Context* ctx, in TFE_ContextSetServerDef()
501 TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_TensorHandleCopySharingTensor( in TFE_TensorHandleCopySharingTensor()