Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/c/
Dc_api.h81 #define TF_CAPI_EXPORT macro
85 #define TF_CAPI_EXPORT __declspec(dllexport) macro
87 #define TF_CAPI_EXPORT __declspec(dllimport) macro
90 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
101 TF_CAPI_EXPORT extern const char* TF_Version(void);
104 TF_CAPI_EXPORT extern void TF_TensorFromProto(const TF_Buffer* from,
108 TF_CAPI_EXPORT extern void TF_TensorFromProto(const TF_Buffer* from,
124 TF_CAPI_EXPORT extern TF_SessionOptions* TF_NewSessionOptions(void);
132 TF_CAPI_EXPORT extern void TF_SetTarget(TF_SessionOptions* options,
139 TF_CAPI_EXPORT extern void TF_SetConfig(TF_SessionOptions* options,
[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,
69 TF_CAPI_EXPORT unsigned char TF_SetXlaEnableLazyCompilation(
71 TF_CAPI_EXPORT unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable);
75 TF_CAPI_EXPORT void TF_SetXlaAutoJitMode(const char* mode);
79 TF_CAPI_EXPORT unsigned char TF_GetXlaAutoJitEnabled();
82 TF_CAPI_EXPORT void TF_SetXlaMinClusterSize(int size);
[all …]
Dkernels.h33 #define TF_CAPI_EXPORT macro
37 #define TF_CAPI_EXPORT __declspec(dllexport) macro
39 #define TF_CAPI_EXPORT __declspec(dllimport) macro
42 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
102 TF_CAPI_EXPORT extern TF_KernelBuilder* TF_NewKernelBuilder(
109 TF_CAPI_EXPORT extern void TF_KernelBuilder_TypeConstraint(
115 TF_CAPI_EXPORT extern void TF_KernelBuilder_HostMemory(
119 TF_CAPI_EXPORT extern void TF_KernelBuilder_Priority(
123 TF_CAPI_EXPORT extern void TF_KernelBuilder_Label(
130 TF_CAPI_EXPORT extern void TF_RegisterKernelBuilder(const char* kernel_name,
[all …]
Dops.h80 #define TF_CAPI_EXPORT macro
84 #define TF_CAPI_EXPORT __declspec(dllexport) macro
86 #define TF_CAPI_EXPORT __declspec(dllimport) macro
89 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
109 TF_CAPI_EXPORT extern TF_OpDefinitionBuilder* TF_NewOpDefinitionBuilder(
118 TF_CAPI_EXPORT extern void TF_RegisterOpDefinition(
123 TF_CAPI_EXPORT extern void TF_DeleteOpDefinitionBuilder(
156 TF_CAPI_EXPORT extern void TF_OpDefinitionBuilderAddAttr(
171 TF_CAPI_EXPORT extern void TF_OpDefinitionBuilderAddInput(
186 TF_CAPI_EXPORT extern void TF_OpDefinitionBuilderAddOutput(
[all …]
Denv.h56 TF_CAPI_EXPORT extern void TF_CreateDir(const char* dirname, TF_Status* status);
61 TF_CAPI_EXPORT extern void TF_DeleteDir(const char* dirname, TF_Status* status);
85 TF_CAPI_EXPORT extern void TF_DeleteRecursively(const char* dirname,
92 TF_CAPI_EXPORT extern void TF_FileStat(const char* filename,
99 TF_CAPI_EXPORT extern void TF_NewWritableFile(const char* filename,
105 TF_CAPI_EXPORT extern void TF_CloseWritableFile(TF_WritableFileHandle* handle,
110 TF_CAPI_EXPORT extern void TF_SyncWritableFile(TF_WritableFileHandle* handle,
118 TF_CAPI_EXPORT extern void TF_FlushWritableFile(TF_WritableFileHandle* handle,
123 TF_CAPI_EXPORT extern void TF_AppendWritableFile(TF_WritableFileHandle* handle,
129 TF_CAPI_EXPORT extern void TF_DeleteFile(const char* filename,
[all …]
Dtf_tensor.h32 #define TF_CAPI_EXPORT macro
36 #define TF_CAPI_EXPORT __declspec(dllexport) macro
38 #define TF_CAPI_EXPORT __declspec(dllimport) macro
41 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
88 TF_CAPI_EXPORT extern TF_Tensor* TF_NewTensor(
102 TF_CAPI_EXPORT extern TF_Tensor* TF_AllocateTensor(TF_DataType,
108 TF_CAPI_EXPORT extern TF_Tensor* TF_TensorMaybeMove(TF_Tensor* tensor);
111 TF_CAPI_EXPORT extern void TF_DeleteTensor(TF_Tensor*);
114 TF_CAPI_EXPORT extern TF_DataType TF_TensorType(const TF_Tensor*);
117 TF_CAPI_EXPORT extern void TF_SetShape(TF_Tensor* tensor, const int64_t* dims,
[all …]
Dtf_tstring.h22 #define TF_CAPI_EXPORT macro
26 #define TF_CAPI_EXPORT __declspec(dllexport) macro
28 #define TF_CAPI_EXPORT __declspec(dllimport) macro
31 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
39 TF_CAPI_EXPORT extern void TF_StringInit(TF_TString *t);
41 TF_CAPI_EXPORT extern void TF_StringCopy(TF_TString *dst, const char *src,
44 TF_CAPI_EXPORT extern void TF_StringAssignView(TF_TString *dst, const char *src,
47 TF_CAPI_EXPORT extern const char *TF_StringGetDataPointer(
50 TF_CAPI_EXPORT extern TF_TString_Type TF_StringGetType(const TF_TString *str);
52 TF_CAPI_EXPORT extern size_t TF_StringGetSize(const TF_TString *tstr);
[all …]
Dkernels_experimental.h33 #define TF_CAPI_EXPORT macro
37 #define TF_CAPI_EXPORT __declspec(dllexport) macro
39 #define TF_CAPI_EXPORT __declspec(dllimport) macro
42 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
63 TF_CAPI_EXPORT extern void TF_AssignVariable(
76 TF_CAPI_EXPORT extern void TF_AssignRefVariable(
90 TF_CAPI_EXPORT extern void TF_AssignUpdateVariable(
105 TF_CAPI_EXPORT extern void TF_MaybeLockVariableInputMutexesInOrder(
115 TF_CAPI_EXPORT extern void TF_GetInputTensorFromVariable(
124 TF_CAPI_EXPORT extern void TF_OpKernelContext_ForwardRefInputToRefOutput(
[all …]
Dtf_status.h20 #define TF_CAPI_EXPORT macro
24 #define TF_CAPI_EXPORT __declspec(dllexport) macro
26 #define TF_CAPI_EXPORT __declspec(dllimport) macro
29 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
65 TF_CAPI_EXPORT extern TF_Status* TF_NewStatus(void);
68 TF_CAPI_EXPORT extern void TF_DeleteStatus(TF_Status*);
72 TF_CAPI_EXPORT extern void TF_SetStatus(TF_Status* s, TF_Code code,
78 TF_CAPI_EXPORT void TF_SetPayload(TF_Status* s, const char* key,
84 TF_CAPI_EXPORT extern void TF_SetStatusFromIOError(TF_Status* s, int error_code,
88 TF_CAPI_EXPORT extern TF_Code TF_GetCode(const TF_Status* s);
[all …]
Dtf_buffer.h27 #define TF_CAPI_EXPORT macro
31 #define TF_CAPI_EXPORT __declspec(dllexport) macro
33 #define TF_CAPI_EXPORT __declspec(dllimport) macro
36 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
60 TF_CAPI_EXPORT extern TF_Buffer* TF_NewBufferFromString(const void* proto,
64 TF_CAPI_EXPORT extern TF_Buffer* TF_NewBuffer(void);
66 TF_CAPI_EXPORT extern void TF_DeleteBuffer(TF_Buffer*);
68 TF_CAPI_EXPORT extern TF_Buffer TF_GetBuffer(TF_Buffer* buffer);
Dtf_datatype.h27 #define TF_CAPI_EXPORT macro
31 #define TF_CAPI_EXPORT __declspec(dllexport) macro
33 #define TF_CAPI_EXPORT __declspec(dllimport) macro
36 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
77 TF_CAPI_EXPORT extern size_t TF_DataTypeSize(TF_DataType dt);
Dtf_shape.h33 TF_CAPI_EXPORT extern TF_Shape* TF_NewShape();
36 TF_CAPI_EXPORT extern int TF_ShapeDims(const TF_Shape* shape);
41 TF_CAPI_EXPORT extern int64_t TF_ShapeDimSize(const TF_Shape* shape, int d);
44 TF_CAPI_EXPORT extern void TF_DeleteShape(TF_Shape* shape);
Dc_api_macros.h20 #define TF_CAPI_EXPORT macro
24 #define TF_CAPI_EXPORT __declspec(dllexport) macro
26 #define TF_CAPI_EXPORT __declspec(dllimport) macro
29 #define TF_CAPI_EXPORT __attribute__((visibility("default"))) macro
Dlogging.h34 TF_CAPI_EXPORT extern void TF_Log(TF_LogLevel level, const char* fmt, ...);
35 TF_CAPI_EXPORT extern void TF_VLog(int level, const char* fmt, ...);
36 TF_CAPI_EXPORT extern void TF_DVLog(int level, const char* fmt, ...);
/external/tensorflow/tensorflow/c/eager/
Dc_api_experimental.h32 TF_CAPI_EXPORT extern void TFE_OpReset(TFE_Op* op_to_reset,
39 TF_CAPI_EXPORT extern void TFE_ContextEnableGraphCollection(TFE_Context* ctx);
43 TF_CAPI_EXPORT extern void TFE_ContextDisableGraphCollection(TFE_Context* ctx);
53 TF_CAPI_EXPORT extern void TFE_MonitoringCounterCellIncrementBy(
57 TF_CAPI_EXPORT extern int64_t TFE_MonitoringCounterCellValue(
65 TF_CAPI_EXPORT extern TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(
68 TF_CAPI_EXPORT extern void TFE_MonitoringDeleteCounter0(
72 TF_CAPI_EXPORT extern TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0(
77 TF_CAPI_EXPORT extern TFE_MonitoringCounter1* TFE_MonitoringNewCounter1(
80 TF_CAPI_EXPORT extern void TFE_MonitoringDeleteCounter1(
[all …]
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(
81 TF_CAPI_EXPORT extern void TFE_ContextOptionsSetAsync(TFE_ContextOptions*,
84 TF_CAPI_EXPORT extern void TFE_ContextOptionsSetDevicePlacementPolicy(
88 TF_CAPI_EXPORT extern void TFE_DeleteContextOptions(TFE_ContextOptions*);
99 TF_CAPI_EXPORT extern TFE_Context* TFE_NewContext(
[all …]
Dc_api_debug.cc54 TF_CAPI_EXPORT extern TFE_TensorDebugInfo* TFE_TensorHandleTensorDebugInfo( in TFE_TensorHandleTensorDebugInfo()
71 TF_CAPI_EXPORT extern void TFE_DeleteTensorDebugInfo( in TFE_DeleteTensorDebugInfo()
76 TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims( in TFE_TensorDebugInfoOnDeviceNumDims()
81 TF_CAPI_EXPORT extern int64_t TFE_TensorDebugInfoOnDeviceDim( in TFE_TensorDebugInfoOnDeviceDim()
Ddlpack.h28 TF_CAPI_EXPORT extern void* TFE_HandleToDLPack(TFE_TensorHandle* h,
32 TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_HandleFromDLPack(void* dlm,
37 TF_CAPI_EXPORT extern void TFE_CallDLManagedTensorDeleter(void* dlm_ptr);
/external/tensorflow/tensorflow/c/experimental/grappler/
Dgrappler.h176 TF_CAPI_EXPORT extern void TF_GetNodesToPreserveListSize(
190 TF_CAPI_EXPORT extern void TF_GetNodesToPreserveList(
196 TF_CAPI_EXPORT extern void TF_GetFetchNodesListSize(const TF_GrapplerItem* item,
209 TF_CAPI_EXPORT extern void TF_GetFetchNodesList(const TF_GrapplerItem* item,
224 TF_CAPI_EXPORT extern TF_GraphProperties* TF_NewGraphProperties(
228 TF_CAPI_EXPORT extern void TF_DeleteGraphProperties(
243 TF_CAPI_EXPORT extern void TF_InferStatically(
249 TF_CAPI_EXPORT extern void TF_GetInputPropertiesListSize(
254 TF_CAPI_EXPORT extern void TF_GetOutputPropertiesListSize(
260 TF_CAPI_EXPORT extern void TF_GetInputPropertiesList(
[all …]
/external/tensorflow/tensorflow/c/experimental/saved_model/public/
Dsaved_model_api.h45 TF_CAPI_EXPORT extern TF_SavedModel* TF_LoadSavedModel(const char* dirname,
62 TF_CAPI_EXPORT extern TF_SavedModel* TF_LoadSavedModelWithTags(
67 TF_CAPI_EXPORT extern void TF_DeleteSavedModel(TF_SavedModel* model);
83 TF_CAPI_EXPORT extern TF_ConcreteFunction* TF_GetSavedModelConcreteFunction(
98 TF_CAPI_EXPORT extern TF_SignatureDefFunction*
Dconcrete_function_list.h32 TF_CAPI_EXPORT extern size_t TF_ConcreteFunctionListSize(
36 TF_CAPI_EXPORT extern TF_ConcreteFunction* TF_ConcreteFunctionListGet(
40 TF_CAPI_EXPORT extern void TF_DeleteConcreteFunctionList(
Dsignature_def_param.h32 TF_CAPI_EXPORT extern const char* TF_SignatureDefParamName(
37 TF_CAPI_EXPORT extern const TF_TensorSpec* TF_SignatureDefParamTensorSpec(
Dsignature_def_function_metadata.h32 TF_CAPI_EXPORT extern const TF_SignatureDefParamList*
38 TF_CAPI_EXPORT extern const TF_SignatureDefParamList*
Dtensor_spec.h33 TF_CAPI_EXPORT extern TF_DataType TF_TensorSpecDataType(
39 TF_CAPI_EXPORT extern const TF_Shape* TF_TensorSpecShape(
Dsignature_def_param_list.h33 TF_CAPI_EXPORT extern size_t TF_SignatureDefParamListSize(
37 TF_CAPI_EXPORT extern const TF_SignatureDefParam* TF_SignatureDefParamListGet(

12