Home
last modified time | relevance | path

Searched refs:get_default_context (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/eager/
Dexecution_callbacks.py149 ctx = context.get_default_context()
266 context.get_default_context().add_post_execution_callback(callback)
271 context.get_default_context().clear_post_execution_callbacks()
312 default_context = context.get_default_context()
Dcontext.py479 def get_default_context(): function
/external/selinux/libselinux/include/selinux/
Dget_context_list.h37 extern int get_default_context(const char *user,
/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py390 context.get_default_context().device_name)
405 context.get_default_context().device_name)
430 context.get_default_context().device_name)
/external/selinux/libselinux/src/
Dget_context_list.c100 int get_default_context(const char *user, in get_default_context() function
/external/tensorflow/tensorflow/python/kernel_tests/
Dconstant_op_eager_test.py495 ctx = context.get_default_context()
Dresource_variable_ops_test.py484 self.assertEqual(context.get_default_context().device_name, v.device)
Darray_ops_test.py1115 ctx = context.get_default_context()
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py467 context.get_default_context().scalar_cache().clear()