Home
last modified time | relevance | path

Searched refs:wrapped_ (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/distributed_runtime/
Dworker_cache_wrapper.h28 WorkerCacheWrapper(WorkerCacheInterface* wrapped) : wrapped_(wrapped) {} in WorkerCacheWrapper()
33 return wrapped_->ListWorkers(workers); in ListWorkers()
37 return wrapped_->ListWorkersInJob(job_name, workers); in ListWorkersInJob()
45 return wrapped_->GetOrCreateWorker(target); in GetOrCreateWorker()
54 return wrapped_->ReleaseWorker(target, worker); in ReleaseWorker()
59 return wrapped_->GetEagerClientCache(eager_client_cache); in GetEagerClientCache()
68 return wrapped_->GetDeviceLocalityNonBlocking(device, locality); in GetDeviceLocalityNonBlocking()
76 return wrapped_->GetDeviceLocalityAsync(device, locality, std::move(done)); in GetDeviceLocalityAsync()
80 void SetLogging(bool active) override { wrapped_->SetLogging(active); } in SetLogging()
83 void ClearLogs() override { wrapped_->ClearLogs(); } in ClearLogs()
[all …]
Dworker_session.cc33 : wrapped_(std::move(w)) {} in WorkerFreeListCache()
37 wrapped_->ReleaseWorker(p.first, p.second.worker); in ~WorkerFreeListCache()
42 wrapped_->ListWorkers(workers); in ListWorkers()
47 wrapped_->ListWorkersInJob(job_name, workers); in ListWorkersInJob()
57 state.worker = wrapped_->GetOrCreateWorker(target); in GetOrCreateWorker()
66 return wrapped_->GetEagerClientCache(eager_client_cache); in GetEagerClientCache()
75 return wrapped_->GetDeviceLocalityNonBlocking(device, locality); in GetDeviceLocalityNonBlocking()
80 wrapped_->GetDeviceLocalityAsync(device, locality, done); in GetDeviceLocalityAsync()
83 void SetLogging(bool active) override { wrapped_->SetLogging(active); } in SetLogging()
85 void ClearLogs() override { wrapped_->ClearLogs(); } in ClearLogs()
[all …]
/external/libchrome/components/policy/core/common/
Dschema_registry.cc218 : wrapped_(wrapped) { in ForwardingSchemaRegistry()
219 schema_map_ = wrapped_->schema_map(); in ForwardingSchemaRegistry()
220 wrapped_->AddObserver(this); in ForwardingSchemaRegistry()
221 wrapped_->AddInternalObserver(this); in ForwardingSchemaRegistry()
226 if (wrapped_) { in ~ForwardingSchemaRegistry()
227 wrapped_->RemoveObserver(this); in ~ForwardingSchemaRegistry()
228 wrapped_->RemoveInternalObserver(this); in ~ForwardingSchemaRegistry()
239 if (wrapped_ && domain != POLICY_DOMAIN_CHROME) in RegisterComponents()
240 wrapped_->RegisterComponents(domain, components); in RegisterComponents()
246 if (wrapped_) in UnregisterComponent()
[all …]
Dschema_registry.h163 SchemaRegistry* wrapped_; variable
/external/tensorflow/tensorflow/stream_executor/
Ddevice_memory_allocator.h62 : wrapped_(mem), device_ordinal_(device_ordinal), allocator_(allocator) { in ScopedDeviceMemory()
84 : wrapped_(other.Release()), in ScopedDeviceMemory()
97 wrapped_ = other.Release();
107 const DeviceMemory<ElemT> &cref() const { return wrapped_; } in cref()
112 DeviceMemory<ElemT> *ptr() { return &wrapped_; } in ptr()
113 const DeviceMemory<ElemT> *ptr() const { return &wrapped_; } in ptr()
122 bool is_null() const { return wrapped_.is_null(); } in is_null()
131 DeviceMemory<ElemT> tmp = wrapped_; in Release()
132 wrapped_ = DeviceMemory<ElemT>{}; in Release()
145 DeviceMemory<ElemT> wrapped_; // Value we wrap with scoped-release.
[all …]
Dtf_allocator_adapter.cc29 wrapped_(wrapped), in TfAllocatorAdapter()
34 : DeviceMemoryAllocator(platform), wrapped_(wrapped), stream_(nullptr) {} in TfAllocatorAdapter()
46 data = wrapped_->AllocateRaw(tensorflow::Allocator::kAllocatorAlignment, in Allocate()
58 wrapped_->DeallocateRaw(mem.opaque()); in Deallocate()
Dtf_allocator_adapter.h60 tensorflow::Allocator *wrapped_;
Dstream_executor_pimpl.h830 : wrapped_(value), in ScopedDeviceMemory()
/external/tensorflow/tensorflow/core/framework/
Dallocator.h297 explicit AllocatorWrapper(Allocator* wrapped) : wrapped_(wrapped) {} in AllocatorWrapper()
302 Allocator* wrapped() const { return wrapped_; } in wrapped()
304 std::string Name() override { return wrapped_->Name(); } in Name()
307 return wrapped_->AllocateRaw(alignment, num_bytes); in AllocateRaw()
312 return wrapped_->AllocateRaw(alignment, num_bytes, allocation_attr); in AllocateRaw()
315 void DeallocateRaw(void* ptr) override { wrapped_->DeallocateRaw(ptr); } in DeallocateRaw()
318 return wrapped_->TracksAllocationSizes(); in TracksAllocationSizes()
322 return wrapped_->AllocatesOpaqueHandle(); in AllocatesOpaqueHandle()
326 return wrapped_->RequestedSize(ptr); in RequestedSize()
330 return wrapped_->AllocatedSize(ptr); in AllocatedSize()
[all …]
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dset_stats_aggregator_dataset_op.cc36 : wrapped_(stats_aggregator), tag_(tag), prefix_(prefix) {} in StatsAggregatorWithTagAndPrefix()
40 wrapped_->AddToHistogram(TaggedName(name), values, steps); in AddToHistogram()
44 wrapped_->AddScalar(TaggedName(name), value, steps); in AddScalar()
48 wrapped_->EncodeToProto(out_summary); in EncodeToProto()
54 wrapped_->IncrementCounter( in IncrementCounter()
57 wrapped_->IncrementCounter( in IncrementCounter()
63 return wrapped_->SetSummaryWriter(summary_writer); in SetSummaryWriter()
75 std::shared_ptr<StatsAggregator> wrapped_; member in tensorflow::data::experimental::__anon1f7b31700111::StatsAggregatorWithTagAndPrefix
/external/tensorflow/tensorflow/cc/saved_model/
Dloader.cc302 : wrapped_(std::move(wrapped)) {} in LiteSessionWrapper()
322 return wrapped_->Run(inputs, output_tensor_names, target_node_names, in Run()
339 return wrapped_->Close(run_options); in Close()
347 return wrapped_->Run(run_options, inputs, output_tensor_names, in Run()
366 return wrapped_->ListDevices(response); in ListDevices()
369 Status Close() override { return wrapped_->Close(); } in Close()
373 return wrapped_->MakeCallable(callable_options, out_handle); in MakeCallable()
380 return wrapped_->RunCallable(handle, feed_tensors, fetch_tensors, in RunCallable()
388 return wrapped_->RunCallable(handle, feed_tensors, fetch_tensors, in RunCallable()
393 return wrapped_->ReleaseCallable(handle); in ReleaseCallable()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc836 : wrapped_(wrapped) {} in GrpcPolledFdWindowsWrapper()
841 wrapped_->RegisterForOnReadableLocked(read_closure); in RegisterForOnReadableLocked()
845 wrapped_->RegisterForOnWriteableLocked(write_closure); in RegisterForOnWriteableLocked()
849 return wrapped_->IsFdStillReadableLocked(); in IsFdStillReadableLocked()
853 wrapped_->ShutdownLocked(error); in ShutdownLocked()
857 return wrapped_->GetWrappedAresSocketLocked(); in GetWrappedAresSocketLocked()
860 const char* GetName() override { return wrapped_->GetName(); } in GetName()
863 GrpcPolledFdWindows* wrapped_; member in grpc_core::GrpcPolledFdWindowsWrapper