Home
last modified time | relevance | path

Searched refs:EagerContext (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc46 EagerContext::EagerContext(const SessionOptions& opts, in EagerContext() function in tensorflow::EagerContext
51 : EagerContext(opts, default_policy, async, device_mgr.release(), in EagerContext()
54 EagerContext::EagerContext(const SessionOptions& opts, in EagerContext() function in tensorflow::EagerContext
93 void EagerContext::InitDeviceMapAndAsync() { in InitDeviceMapAndAsync()
118 bool EagerContext::Async() const { in Async()
124 Status EagerContext::SetAsyncForThread(bool async) { in SetAsyncForThread()
141 Status EagerContext::ClearCaches() { in ClearCaches()
152 void EagerContext::SetThreadLocalDevicePlacementPolicy( in SetThreadLocalDevicePlacementPolicy()
158 ContextDevicePlacementPolicy EagerContext::GetDevicePlacementPolicy() { in GetDevicePlacementPolicy()
168 void EagerContext::CloseRemoteContexts() { in CloseRemoteContexts()
[all …]
Dtensor_handle.h61 EagerContext* ctx);
63 Device* resource_device, DataType dtype, EagerContext* ctx);
68 Device* op_device, Device* resource_device, EagerContext* ctx);
105 Status CopyToDevice(EagerContext* ctx, tensorflow::Device* dstd,
109 EagerContext* Context() { in Context()
186 EagerContext* ctx_ GUARDED_BY(ctx_mutex_);
197 Device* GetResourceDevice(const Tensor& t, EagerContext* ctx);
Dexecute.cc57 void MaybeInitializeStepStats(StepStats* step_stats, EagerContext* ctx) { in MaybeInitializeStepStats()
67 int StepStatsDeviceIndex(StepStats* step_stats, EagerContext* ctx, in StepStatsDeviceIndex()
96 EagerContext* ctx = op->EagerContext(); in MaybeCopyInputToExpectedDevice()
180 Status ValidateInputTypeAndPlacement(EagerContext* ctx, in ValidateInputTypeAndPlacement()
205 Status SelectDevice(const NodeDef& ndef, EagerContext* ctx, Device** device) { in SelectDevice()
230 op->EagerContext()->FuncLibDef()->Find(op->Name()); in GetOutputDTypes()
245 bool IsLocal(EagerContext* ctx, tensorflow::Device* d) { in IsLocal()
251 bool OnSameTask(EagerContext* ctx, Device* first, Device* second) { in OnSameTask()
260 Status CPUDeviceOnTask(EagerContext* ctx, tensorflow::Device* device, in CPUDeviceOnTask()
275 Status FindDeviceFromName(const EagerContext* ctx, const char* device_name, in FindDeviceFromName()
[all …]
Deager_operation.h25 EagerOperation(tensorflow::EagerContext* ctx, const char* op, in EagerOperation()
42 tensorflow::EagerContext* EagerContext() { return ctx_; } in EagerContext() function
70 tensorflow::EagerContext* ctx_; // Must outlive the EagerOperation.
Dexecute.h46 Status EagerKernelExecute(EagerContext* ctx,
54 Status EagerCopyToDevice(TensorHandle* h, EagerContext* ctx,
Dtensor_handle.cc49 EagerContext* ctx) in TensorHandle()
64 EagerContext* ctx) in TensorHandle()
85 EagerContext* ctx) in TensorHandle()
251 Status TensorHandle::CopyToDevice(EagerContext* ctx, tensorflow::Device* dstd, in CopyToDevice()
318 Device* GetResourceDevice(const Tensor& t, EagerContext* ctx) { in GetResourceDevice()
Dcopy_to_device_node.h28 CopyToDeviceNode(TensorHandle* src, Device* dstd, EagerContext* ctx) in CopyToDeviceNode()
61 EagerContext* ctx_;
Dcontext.h76 class EagerContext {
79 EagerContext(const SessionOptions& opts,
84 EagerContext(const SessionOptions& opts,
89 ~EagerContext();
Dexecute_node.h34 ExecuteNode(uint64 id, EagerContext* ctx, in ExecuteNode()
80 tensorflow::EagerContext* ctx_;
/external/tensorflow/tensorflow/core/profiler/internal/runtime/
Deager_profiler.h27 TraceCollector(EagerContext* const eager_context);
35 EagerContext* const context_;
41 EagerContext* const eager_context);
50 EagerProfiler(EagerContext* const eager_context);
56 EagerContext* const context_;
Deager_profiler.cc21 TraceCollector::TraceCollector(EagerContext* const eager_context) in TraceCollector()
34 EagerContext* const eager_context) { in Create()
56 EagerProfiler::EagerProfiler(EagerContext* const eager_context) in EagerProfiler()
/external/tensorflow/tensorflow/lite/delegates/flex/
Ddelegate_data.h42 tensorflow::EagerContext* GetEagerContext() { return eager_context_.get(); } in GetEagerContext()
51 std::unique_ptr<tensorflow::EagerContext> eager_context_;
Ddelegate_data.cc43 eager_context_.reset(new tensorflow::EagerContext( in Prepare()
Dkernel.cc235 tensorflow::Status BuildEagerOp(tensorflow::EagerContext* eager_context) { in BuildEagerOp()
362 tensorflow::EagerContext* eager_context;
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl.h107 explicit ServerContext(std::unique_ptr<tensorflow::EagerContext> ctx, in ServerContext()
120 tensorflow::EagerContext* Context() const { return ctx_.get(); } in Context()
182 std::unique_ptr<tensorflow::EagerContext> ctx_;
Deager_service_impl.cc46 Status GetNumRetvals(tensorflow::EagerContext* context, const string& op_name, in GetNumRetvals()
120 std::unique_ptr<tensorflow::EagerContext> ctx(new tensorflow::EagerContext( in CreateContext()
/external/tensorflow/tensorflow/core/profiler/lib/
Dprofiler_session.h26 EagerContext* eager_context = nullptr;
/external/tensorflow/tensorflow/c/eager/
Dc_api_internal.h75 tensorflow::EagerContext context;
Dc_api.cc601 ? op->operation.EagerContext()->HostCPU() in TFE_OpGetDevice()
/external/tensorflow/tensorflow/c/
Dc_api_experimental.cc8784 n->thread.reset(op->operation.EagerContext()->TFEnv()->StartThread( in TFE_ExecuteOpInNewThread()