Home
last modified time | relevance | path

Searched refs:eager_context (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/runtime/
Deager_profiler.cc21 TraceCollector::TraceCollector(EagerContext* const eager_context) in TraceCollector() argument
22 : context_(eager_context) {} in TraceCollector()
34 EagerContext* const eager_context) { in Create() argument
35 return absl::WrapUnique(new EagerProfiler(eager_context)); in Create()
56 EagerProfiler::EagerProfiler(EagerContext* const eager_context) in EagerProfiler() argument
57 : context_(eager_context), collector_(eager_context) {} in EagerProfiler()
Deager_profiler.h27 TraceCollector(EagerContext* const eager_context);
41 EagerContext* const eager_context);
50 EagerProfiler(EagerContext* const eager_context);
/external/tensorflow/tensorflow/c/eager/
Dc_api_experimental.cc59 TFE_Context* eager_context) { in TFE_ProfilerContextSetEagerContext() argument
60 profiler_context->profiler_context.eager_context = &eager_context->context; in TFE_ProfilerContextSetEagerContext()
Dc_api_experimental.h53 TFE_ProfilerContext* profiler_context, TFE_Context* eager_context);
/external/tensorflow/tensorflow/core/profiler/rpc/
Dprofiler_server.cc28 Env* env = profiler_context->eager_context != nullptr in StartProfilerServer()
29 ? profiler_context->eager_context->TFEnv() in StartProfilerServer()
Dprofiler_service_impl.cc47 Env* env = profiler_context_.eager_context != nullptr in Profile()
48 ? profiler_context_.eager_context->TFEnv() in Profile()
/external/tensorflow/tensorflow/lite/delegates/flex/
Dkernel.cc235 tensorflow::Status BuildEagerOp(tensorflow::EagerContext* eager_context) { in BuildEagerOp() argument
250 op_.reset(new tensorflow::EagerOperation(eager_context, name_.c_str(), in BuildEagerOp()
362 tensorflow::EagerContext* eager_context; member
377 op_data->eager_context = in Init()
413 status = node_data.BuildEagerOp(op_data->eager_context); in Init()
454 context, op_data->eager_context != nullptr, in Prepare()
/external/tensorflow/tensorflow/python/eager/
Dcontext.py563 eager_context = self._thread_local_data
564 old_device_name = eager_context.device_name
565 old_device_spec = eager_context.device_spec
593 eager_context.device_name = new_device_name
594 eager_context.device_spec = new_device_spec
597 eager_context.device_name = old_device_name
598 eager_context.device_spec = old_device_spec
/external/tensorflow/tensorflow/core/profiler/lib/
Dprofiler_session.cc166 if (context->eager_context != nullptr) { in ProfilerSession()
168 context->eager_context)); in ProfilerSession()
Dprofiler_session.h26 EagerContext* eager_context = nullptr; member
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_lib.py31 from tensorflow.python.eager import context as eager_context unknown
1394 ctx = eager_context.context()
1405 ctx = eager_context.context()
1658 if eager_context.executing_eagerly():
1667 if eager_context.executing_eagerly():