- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for lookupService (0.15 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go
} // 3. Service if svc := a.lookupService(key); svc != nil { res := []model.AddressInfo{serviceToAddressInfo(svc.Service)} for _, w := range a.workloads.ByServiceKey.Lookup(svc.ResourceName()) { res = append(res, workloadToAddressInfo(w.Workload)) } return res } return nil } func (a *index) lookupService(key string) *model.ServiceInfo { // 1. namespace/hostname format
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 19 17:19:41 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/session_utils.cc
llvm::StringRef device_name, const tensorflow::DeviceMgr* mgr) { tensorflow::Device* device = nullptr; if (!mgr || !mgr->LookupDevice(StringRefToView(device_name), &device).ok()) return nullptr; tensorflow::Var* var_ptr = nullptr; const auto& container = var_handle_op.getContainer().str(); auto status = device->resource_manager()->Lookup(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/jit/test_util.cc
if (device_mgr_ == nullptr) { return nullptr; } string full_device_name = absl::StrCat( "/job:localhost/replica:0/task:0/device:", device_name, ":0"); Device* device; TF_CHECK_OK(device_mgr_->LookupDevice(full_device_name, &device)); return device; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc
device_mgr_ = std::make_unique<tensorflow::StaticDeviceMgr>(std::move(device)); } void FakeSession::InitVariables() { tensorflow::Device* device = nullptr; auto status = device_mgr_->LookupDevice(kDeviceName, &device); if (status != absl::OkStatus()) return; auto container = device->resource_manager()->default_container(); // Create 2 resources and initialize them with dummy values.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc
continue; } const ResourceHandle& resource_handle = resource_tensor.scalar<ResourceHandle>()(); Device* device; if (!(device_manager->LookupDevice(resource_handle.device(), &device) .ok())) { return module.emitOpError() << "failed to look up device"; } tensorflow::Var* var_ptr; if (!(device->resource_manager()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7.9K bytes - Viewed (0)