Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for node_idx (0.35 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc

        return;
      }
    
      // Emit warnings for path.
      int node_idx = 0;
      for (auto iter = path.rbegin(); iter != path.rend(); ++iter) {
        Operation* op = *iter;
        std::string pos_str;
        if (node_idx == 0) {
          pos_str = "source";
        } else if (node_idx + 1 == path.size()) {
          pos_str = "target";
        } else {
          pos_str = "intermediate";
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  2. pkg/volume/csi/nodeinfomanager/nodeinfomanager_test.go

    	}
    	return node
    }
    
    func marshall(nodeIDs nodeIDMap) string {
    	b, _ := json.Marshal(nodeIDs)
    	return string(b)
    }
    
    func generateCSINode(nodeIDs nodeIDMap, volumeLimits *storage.VolumeNodeResources, topologyKeys topologyKeyMap) *storage.CSINode {
    	nodeDrivers := []storage.CSINodeDriver{}
    	for k, nodeID := range nodeIDs {
    		dspec := storage.CSINodeDriver{
    			Name:        k,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 17 02:02:59 UTC 2022
    - 34.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/object_graph_traversal_test.cc

    constexpr absl::string_view kMultiplePathsToChild = R"(
    nodes {
      children {
        node_id: 1
        local_name: "foo"
      }
      children {
        node_id: 2
        local_name: "bar"
      }
      children {
        node_id: 3
        local_name: "signatures"
      }
      user_object {
        identifier: "_generic_user_object"
        version {
          producer: 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 22 20:15:34 UTC 2020
    - 7.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

    }
    
    // Retrieves the TensorHandle associated with `node_id` from `obj_graph`, and
    // set `*handle` to point to it.
    Status TensorHandleFromNode(int node_id, const SavedObjectGraph& obj_graph,
                                const PartiallyRevivedObjects& objects,
                                ImmediateExecutionTensorHandle** handle) {
      const SavedObject& node = obj_graph.nodes(node_id);
      SavedObject::KindCase kind = node.kind_case();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

            });
        if (child_node_iter == current_node->children().end()) {
          return absl::nullopt;
        }
    
        node_id = child_node_iter->node_id();
        current_node = &nodes.Get(node_id);
      }
    
      return node_id;
    }
    
    gtl::FlatMap<StringPiece, const AttrValueMap*, StringPieceHasher> NodeToAttrMap(
        const tensorflow::GraphDef& graphdef) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/revived_types/revived_objects.h

      void Insert(std::unique_ptr<T> object, int node_id) {
        objects_by_id_[node_id] = object.get();
        Insert(std::move(object));
      }
    
      // Find an object by the object graph node id.
      // Returns nullptr if there is no such object.
      T* Find(int node_id) {
        auto it = objects_by_id_.find(node_id);
        return it == objects_by_id_.end() ? nullptr : it->second;
      }
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 05 23:10:04 UTC 2020
    - 4K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/files/grpc-simple.yaml

                  fieldPath: metadata.namespace
            - name: ISTIO_NAMESPACE
              value: |
                 {{ .Values.global.istioNamespace }}
          command:
            - sh
            - "-c"
            - |-
              NODE_ID="sidecar~${INSTANCE_IP}~${POD_NAME}.${POD_NAMESPACE}~cluster.local"
              SERVER_URI="dns:///istiod.${ISTIO_NAMESPACE}.svc:15010"
              echo '
              {
                "xds_servers": [
                  {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 10 20:56:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inject/grpc-simple.yaml.injected

            volumeMounts:
            - mountPath: /var/lib/grpc/data/
              name: grpc-io-proxyless-bootstrap
          initContainers:
          - command:
            - sh
            - -c
            - |-
              NODE_ID="sidecar~${INSTANCE_IP}~${POD_NAME}.${POD_NAMESPACE}~cluster.local"
              SERVER_URI="dns:///istiod.${ISTIO_NAMESPACE}.svc:15010"
              echo '
              {
                "xds_servers": [
                  {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 10 20:56:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. cmd/admin-handlers-pools.go

    	// concurrent rebalance-start commands.
    	if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal {
    		for nodeIdx, proxyEp := range globalProxyEndpoints {
    			if proxyEp.Endpoint.Host == ep.Host {
    				if proxyRequestByNodeIndex(ctx, w, r, nodeIdx) {
    					return
    				}
    			}
    		}
    	}
    
    	pools, ok := objectAPI.(*erasureServerPools)
    	if !ok || len(pools.serverPools) == 1 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. test/fixedbugs/issue16008.go

    package foo
    
    const benchmarkNumNodes = 10000
    
    func BenchmarkUpdateNodeTransaction(b B) {
    	s, nodeIDs := setupNodes(benchmarkNumNodes)
    	b.ResetTimer()
    	for i := 0; i < b.N(); i++ {
    		_ = s.Update(func(tx1 Tx) error {
    			_ = UpdateNode(tx1, &Node{
    				ID: nodeIDs[i%benchmarkNumNodes],
    			})
    			return nil
    		})
    	}
    }
    
    type B interface {
    	ResetTimer()
    	N() int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top