Home
last modified time | relevance | path

Searched refs:py_eager_context (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dpython_tensor_converter_wrapper.cc66 PythonTensorConverter MakePythonTensorConverter(py::handle py_eager_context) { in MakePythonTensorConverter() argument
67 Safe_PyObjectPtr tld = GetAttr_ThreadLocalData(py_eager_context.ptr()); in MakePythonTensorConverter()
79 GetAttr_ContextHandle(py_eager_context.ptr()); in MakePythonTensorConverter()
93 return PythonTensorConverter(py_eager_context.ptr(), ctx, device_name); in MakePythonTensorConverter()
Dpython_tensor_converter.h45 PythonTensorConverter(PyObject* py_eager_context, TFE_Context* ctx, in PythonTensorConverter() argument
47 : py_eager_context_(py_eager_context), in PythonTensorConverter()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe.h429 void MakeEagerContextThreadLocalData(PyObject* py_eager_context,
439 PyObject* py_eager_context);
453 void DestroyEagerContextThreadLocalData(PyObject* py_eager_context);
Dpywrap_tfe_src.cc3575 PyObject* py_eager_context = local
3580 PyObject_GetAttrString(py_eager_context, "_context_handle");
3595 auto* tld = tensorflow::GetEagerContextThreadLocalData(py_eager_context);
4296 void MakeEagerContextThreadLocalData(PyObject* py_eager_context, argument
4305 if (eager_context_thread_local_data_defaults->count(py_eager_context) > 0) {
4312 (*eager_context_thread_local_data_defaults)[py_eager_context];
4320 PyObject* py_eager_context) { argument
4328 eager_context_thread_local_data_defaults->find(py_eager_context);
4341 (*eager_context_thread_local_data_map)[py_eager_context];
4379 void DestroyEagerContextThreadLocalData(PyObject* py_eager_context) { argument
[all …]
/external/tensorflow/tensorflow/python/
Dtfe_wrapper.cc378 explicit EagerContextThreadLocalDataWrapper(py::handle py_eager_context, in EagerContextThreadLocalDataWrapper() argument
381 : py_eager_context_(py_eager_context.ptr()) { in EagerContextThreadLocalDataWrapper()
383 py_eager_context.ptr(), is_eager.ptr(), device_spec.ptr()); in EagerContextThreadLocalDataWrapper()