Home
last modified time | relevance | path

Searched refs:default_container (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_configuration_ops.cc44 if (!rmgr->Lookup(rmgr->default_container(), in GetTpuMeshStateInterface()
61 resource_manager->default_container(), resource_name); in DeleteIfExists()
78 rmgr->default_container(), tpu::kCompilationCacheResourceName, in CreateTpuCompilationCache()
135 ctx, rmgr->Create(rmgr->default_container(), in Compute()
265 OP_REQUIRES_OK(ctx, rmgr->Create(rmgr->default_container(), in Compute()
283 Status s = rmgr->Lookup(rmgr->default_container(), in Compute()
319 ctx, rmgr->Create(rmgr->default_container(), in Compute()
353 ctx, rmgr->Create(rmgr->default_container(), in Compute()
Dtpu_pod_state.cc40 resource_manager->default_container(), resource_name); in DeleteIfExists()
125 if (!rmgr->Lookup(rmgr->default_container(), kTpuPodStateResourceName, in GetTPUPodState()
136 if (!rmgr->Lookup(rmgr->default_container(), kTpuPodStateResourceName, in HasTPUPodState()
185 return rmgr->Create(rmgr->default_container(), kTpuPodStateResourceName, in ConstructTpuPodState()
Dtpu_handle_to_key_op.cc42 rm->default_container(), in Compute()
Dtpu_compile_op_common.cc636 TF_RETURN_IF_ERROR(rm->Lookup(rm->default_container(), in ComputeInternal()
660 rm->default_container(), kCompilationCacheResourceName, &cache)); in ComputeInternal()
748 ctx->resource_manager()->default_container(), in ComputeInternal()
Dtpu_execute_op.cc82 TF_RETURN_IF_ERROR(rmgr->Lookup(rmgr->default_container(), in GetComputationCacheEntry()
/external/tensorflow/tensorflow/core/framework/
Dresource_op_kernel_test.cc147 mgr_.Lookup<StubResource>(mgr_.default_container(), key, &resource)); in TEST_F()
155 mgr_.Lookup<StubResource>(mgr_.default_container(), key, &resource); in TEST_F()
168 TF_ASSERT_OK(mgr_.Lookup<StubResource>(mgr_.default_container(), shared_name, in TEST_F()
176 TF_ASSERT_OK(mgr_.Lookup<StubResource>(mgr_.default_container(), shared_name, in TEST_F()
Dresource_mgr.cc123 ResourceMgr::ResourceMgr(const string& default_container) in ResourceMgr() argument
124 : default_container_(default_container) {} in ResourceMgr()
297 container_ = rmgr_->default_container(); in Init()
Dresource_mgr.h159 explicit ResourceMgr(const std::string& default_container);
163 const std::string& default_container() const { return default_container_; } in default_container() function
309 ? ctx->resource_manager()->default_container()
322 ? ctx->resource_manager()->default_container()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dtpu_compile_ops.cc160 rm->Lookup(rm->default_container(), in Compute()
188 rm->default_container(), in Compute()
249 rm->default_container(), in Compute()
Dtpu_execute_op.cc66 TF_RETURN_IF_ERROR(rm->Lookup(rm->default_container(), in GetComputationCacheEntry()
322 rm->default_container(), tpu::kCompilationCacheResourceName, &cache)); in DoWork()
423 TF_RETURN_IF_ERROR(rm->Lookup(rm->default_container(), in DoWork()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime_test.cc850 TF_ASSERT_OK(mgr0->Create(mgr0->default_container(), "var", resource0)); in TEST_F()
851 TF_ASSERT_OK(mgr1->Create(mgr1->default_container(), "var", resource1)); in TEST_F()
854 GetResourceHandle("var", mgr0->default_container(), device0_->name()); in TEST_F()
856 GetResourceHandle("var", mgr1->default_container(), device1_->name()); in TEST_F()
917 Status status = mgr->Create(mgr->default_container(), "my_gpu_var", resource); in TEST_F()
923 Tensor x2 = GetResourceHandle("my_gpu_var", mgr->default_container(), in TEST_F()
1047 Status status = mgr->Create(mgr->default_container(), "my_gpu_var", resource); in TEST_F()
1050 Tensor x = GetResourceHandle("my_gpu_var", mgr->default_container(), in TEST_F()
Ddevice_mgr.cc137 dev->resource_manager()->default_container())); in ClearContainers()
Ddynamic_device_mgr.cc107 pair.first->resource_manager()->default_container())); in ClearContainers()
/external/tensorflow/tensorflow/core/kernels/
Dops_testutil.h127 container.empty() ? rm->default_container() : container; in AddResourceInput()
/external/tensorflow/tensorflow/compiler/jit/
Dget_compiler_ir.cc97 rmgr->default_container(), "xla_cache", &cache, in GetCompilerIr()
Dxla_compile_on_demand_op.cc123 rm->default_container(), "xla_cache", cache, in Compile()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_compilation_cache.cc296 rm->default_container(), kXRTCompilationCacheResourceName, &cache, in GetOrCreateCompilationCache()
/external/tensorflow/tensorflow/core/kernels/data/
Dshuffle_dataset_op.cc642 const string& container = ctx->resource_manager()->default_container(); in MakeDataset()
906 const string& container = ctx->resource_manager()->default_container(); in MakeDataset()
Dcache_dataset_ops.cc1030 const string& container = ctx->resource_manager()->default_container(); in MakeDataset()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc182 rm->default_container(), "xla_cache", &cache, in CompileToLocalExecutable()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Ddata_service_dataset_op.cc940 const std::string& container = ctx->resource_manager()->default_container(); in MakeDataset()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiler_test.cc109 rm->default_container(), "dummy", &dummy)); in Compile()
718 return rm->Create(rm->default_container(), "dummy", resource); in TEST_F()