Home
last modified time | relevance | path

Searched refs:TF_Session (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/c/
Dc_api_experimental.h125 TF_CAPI_EXPORT extern TF_Tensor* TF_DequeueNamedTensor(TF_Session* session,
140 TF_CAPI_EXPORT extern void TF_EnqueueNamedTensor(TF_Session* session,
149 const TFE_ContextOptions* opts, TF_Session* sess, TF_Status* status);
161 TF_Session* session, TF_Status* status);
165 TF_Session* session, int tensor_id, TF_DataType inputType,
171 TF_CAPI_EXPORT extern void TFE_EnqueueNamedTensor(TF_Session* session,
181 TF_CAPI_EXPORT extern void TFE_EnqueueVariantTensor(TF_Session* session,
187 TF_Session* session, int tensor_id, TF_Status* status);
Dc_api_internal.h104 tensorflow::gtl::FlatMap<TF_Session*, tensorflow::string> sessions
128 struct TF_Session { struct
129 TF_Session(tensorflow::Session* s, TF_Graph* g);
232 bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status)
Dc_api.h1407 typedef struct TF_Session TF_Session; typedef
1415 TF_CAPI_EXPORT extern TF_Session* TF_NewSession(TF_Graph* graph,
1433 TF_CAPI_EXPORT extern TF_Session* TF_LoadSessionFromSavedModel(
1442 TF_CAPI_EXPORT extern void TF_CloseSession(TF_Session*, TF_Status* status);
1450 TF_CAPI_EXPORT extern void TF_DeleteSession(TF_Session*, TF_Status* status);
1477 TF_Session* session,
1501 TF_Session*,
1516 TF_Session*, const char* handle,
1585 TF_CAPI_EXPORT extern TF_DeviceList* TF_SessionListDevices(TF_Session* session,
Dc_test_util.h136 explicit CSession(TF_Session* session);
151 TF_Session* mutable_session() { return session_; } in mutable_session()
157 TF_Session* session_;
Dpython_api.h60 void ExtendSession(TF_Session* session, TF_Status* status);
Dc_api.cc758 bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) { in ExtendSessionGraphHelper()
1014 TF_DeviceList* TF_SessionListDevices(TF_Session* session, TF_Status* status) { in TF_SessionListDevices()
2578 TF_Session::TF_Session(tensorflow::Session* s, TF_Graph* g) in TF_Session() function in TF_Session
2581 TF_Session* TF_NewSession(TF_Graph* graph, const TF_SessionOptions* opt, in TF_NewSession()
2586 TF_Session* new_session = new TF_Session(session, graph); in TF_NewSession()
2598 TF_Session* TF_LoadSessionFromSavedModel( in TF_LoadSessionFromSavedModel()
2653 TF_Session* session = new TF_Session(bundle.session.release(), graph); in TF_LoadSessionFromSavedModel()
2661 void TF_CloseSession(TF_Session* s, TF_Status* status) { in TF_CloseSession()
2665 void TF_DeleteSession(TF_Session* s, TF_Status* status) { in TF_DeleteSession()
2680 void TF_SessionRun(TF_Session* session, const TF_Buffer* run_options, in TF_SessionRun()
[all …]
Dpython_api.cc117 void ExtendSession(TF_Session* session, TF_Status* status) { in ExtendSession()
Dc_api_experimental.cc8443 TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id, in TF_DequeueNamedTensor()
8482 void TF_EnqueueNamedTensor(TF_Session* session, int tensor_id, in TF_EnqueueNamedTensor()
8544 TFE_Context* TFE_CreateContextFromSession(TF_Session* session, in TFE_CreateContextFromSession()
8643 TFE_TensorHandle* TFE_DequeueNamedTensor(TF_Session* session, int tensor_id, in TFE_DequeueNamedTensor()
8676 void TFE_EnqueueNamedTensor(TF_Session* session, int tensor_id, in TFE_EnqueueNamedTensor()
8709 void TFE_EnqueueVariantTensor(TF_Session* session, int tensor_id, in TFE_EnqueueVariantTensor()
8726 TFE_TensorHandle* TFE_DequeueVariantTensor(TF_Session* session, int tensor_id, in TFE_DequeueVariantTensor()
Dc_api_test.cc65 string GPUDeviceName(TF_Session* session) { in GPUDeviceName()
100 TF_Session* sess = TF_NewSession(graph.get(), opts, s); in GPUDeviceName()
1086 TF_Session* sess = TF_NewSession(graph, opts, s); in TEST()
1362 TF_Session* session = TF_LoadSessionFromSavedModel( in TEST()
1436 TF_Session* session = TF_LoadSessionFromSavedModel( in TEST()
1874 TF_Session* sess = TF_NewSession(graph_, opts, s_); in TEST_F()
Dc_test_util.cc460 CSession::CSession(TF_Session* session) : session_(session) {} in CSession()
/external/tensorflow/tensorflow/python/client/
Dtf_session_helper.h43 TF_Session* TF_NewSessionRef(TF_Graph* graph, const TF_SessionOptions* opts,
70 void TF_SessionMakeCallable(TF_Session* session,
80 void TF_SessionRunCallable(TF_Session* session, int64_t handle,
87 void TF_SessionReleaseCallable(TF_Session* session, int64_t handle,
149 void TF_SessionRun_wrapper(TF_Session* session, const TF_Buffer* run_options,
166 void TF_SessionPRunSetup_wrapper(TF_Session* session,
182 void TF_SessionPRun_wrapper(TF_Session* session, const char* handle,
Dtf_session_helper.cc46 TF_Session* TF_NewSessionRef(TF_Graph* graph, const TF_SessionOptions* opts, in TF_NewSessionRef()
48 TF_Session* tf_session = TF_NewSession(graph, opts, status); in TF_NewSessionRef()
202 void TF_SessionMakeCallable(TF_Session* session, in TF_SessionMakeCallable()
301 void TF_SessionRunCallable(TF_Session* session, int64_t handle, in TF_SessionRunCallable()
316 void TF_SessionReleaseCallable(TF_Session* session, int64_t handle, in TF_SessionReleaseCallable()
356 void TF_SessionRun_wrapper_helper(TF_Session* session, const char* handle, in TF_SessionRun_wrapper_helper()
443 void TF_SessionRun_wrapper(TF_Session* session, const TF_Buffer* run_options, in TF_SessionRun_wrapper()
519 void TF_SessionPRunSetup_wrapper(TF_Session* session, in TF_SessionPRunSetup_wrapper()
533 void TF_SessionPRun_wrapper(TF_Session* session, const char* handle, in TF_SessionPRun_wrapper()
/external/tensorflow/tensorflow/java/src/main/native/
Dsession_jni.cc25 TF_Session* requireHandle(JNIEnv* env, jlong handle) { in requireHandle()
26 static_assert(sizeof(jlong) >= sizeof(TF_Session*), in requireHandle()
33 return reinterpret_cast<TF_Session*>(handle); in requireHandle()
105 TF_Session* session = TF_NewSession(graph, opts, status); in Java_org_tensorflow_Session_allocate2()
122 TF_Session* session = requireHandle(env, handle); in Java_org_tensorflow_Session_delete()
138 TF_Session* session = requireHandle(env, handle); in Java_org_tensorflow_Session_run()
Dsaved_model_bundle_jni.cc67 TF_Session* session = TF_LoadSessionFromSavedModel( in Java_org_tensorflow_SavedModelBundle_load()
/external/tensorflow/tensorflow/go/
Dsession.go40 c *C.TF_Session
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc354 TF_Session* sess, TF_Status* status) { in TFE_NewContextFromSession()
/external/tensorflow/
DRELEASE.md1616 * The C API type `TF_SessionWithGraph` has been renamed to `TF_Session`,
1618 What was previously `TF_Session` has been renamed to `TF_DeprecatedSession`.
1635 * C API: Type `TF_SessionWithGraph` has been renamed to `TF_Session`, indicating
1637 `TF_Session` has been renamed to `TF_DeprecatedSession`.