- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 907 for Consts (0.05 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_test.cc
ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); const char* device_name = "/job:localhost/replica:0/task:0/device:CUSTOM:0"; const char* first_device_name = "/job:localhost/replica:0/task:0/device:CPU:0"; const char* second_device_name = "/job:localhost/replica:0/task:0/device:CPU:1"; std::array<const char*, 2> underlying_devices{first_device_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
TF_DeviceList* devices = TFE_ContextListDevices(ctx, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); const int num_devices = TF_DeviceListCount(devices); const char* kCPUDevice = "CPU:0"; for (int i = 0; i < num_devices; ++i) { const string name(TF_DeviceListName(devices, i, status.get())); if (TF_GetCode(status.get()) != TF_OK) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
cmd/metrics-router.go
// Metrics v3 endpoints metricsV3Path = "/metrics/v3" ) // Standard env prometheus auth type const ( EnvPrometheusAuthType = "MINIO_PROMETHEUS_AUTH_TYPE" EnvPrometheusOpenMetrics = "MINIO_PROMETHEUS_OPEN_METRICS" ) type prometheusAuthType string const ( prometheusJWT prometheusAuthType = "jwt" prometheusPublic prometheusAuthType = "public" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 2.6K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} cluster.CertificateAuthorityData = caContents } token, err := os.ReadFile(cfg.K8sServiceAccountPath + "/token") if err != nil { return kubeconfig{}, err } const contextName = "istio-cni-context" const clusterName = "local" const userName = "istio-cni" kcfg := &api.Config{ Kind: "Config", APIVersion: "v1", Preferences: api.Preferences{}, Clusters: map[string]*api.Cluster{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
TensorReference reference; std::vector<int64_t> shape; std::vector<int64_t> strides; DLManagedTensor tensor; explicit TfDlManagedTensorCtx(const TensorReference& ref) : reference(ref) {} }; // Gets tensor from eager tensor handle. const Tensor* GetTensorFromHandle(TFE_TensorHandle* h, TF_Status* status) { if (h == nullptr) { status->status = tensorflow::errors::InvalidArgument("Invalid handle");
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.9K bytes - Viewed (0) -
misc/wasm/wasm_exec.html
<script> if (!WebAssembly.instantiateStreaming) { // polyfill WebAssembly.instantiateStreaming = async (resp, importObject) => { const source = await (await resp).arrayBuffer(); return await WebAssembly.instantiate(source, importObject); }; } const go = new Go(); let mod, inst; WebAssembly.instantiateStreaming(fetch("test.wasm"), go.importObject).then((result) => { mod = result.module;
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 1.3K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.cc
==============================================================================*/ #include "tensorflow/c/eager/abstract_tensor_handle.h" namespace tensorflow { std::string AbstractTensorHandle::DebugString() const { PartialTensorShape shape; absl::Status s = Shape(&shape); std::string shape_string; if (!s.ok()) { shape_string = "<error computing shape>"; } else { shape_string = shape.DebugString(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type, TF_Status* s); // `op_name` must outlive `op`. void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name, TF_Status* s); // `attr_name` must outlive `op`. void TF_AbstractOpSetAttrType(TF_AbstractOp* op, const char* const attr_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sun Oct 24 11:27:00 UTC 2021 - 7K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
} else if len(ingress.Spec.ExternalIPs) > 0 { ingressIP = ingress.Spec.ExternalIPs[0] } // TODO: add case where the load balancer is a DNS name } } var hosts string if netutil.IsValidIPAddress(ingressIP) { hosts = fmt.Sprintf("%s %s\n", ingressIP, IstiodHost(istioNamespace, revision)) } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 25.3K bytes - Viewed (0) -
buildscripts/minio-upgrade.sh
up -d --build add_alias mc mb minio/minio-test/ mc cp ./minio minio/minio-test/to-read/ mc cp /etc/hosts minio/minio-test/to-read/hosts mc anonymous set download minio/minio-test verify_checksum_mc ./minio minio/minio-test/to-read/minio curl -s http://127.0.0.1:9000/minio-test/to-read/hosts | sha256sum MINIO_VERSION=dev /tmp/gopath/bin/docker-compose -f "buildscripts/upgrade-tests/compose.yml" stop }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 05:08:11 UTC 2024 - 2.6K bytes - Viewed (0)