Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for node_size (0.14 sec)

  1. tensorflow/cc/tools/freeze_saved_model.cc

      }
    }
    
    // Gets a map from string node name to NodeDef.
    void GetNodeNameToNodeDefMap(
        GraphDef* graph_def,
        std::unordered_map<string, NodeDef*>* name_to_node_map) {
      for (size_t i = 0; i < graph_def->node_size(); i++) {
        NodeDef* node = graph_def->mutable_node(i);
        (*name_to_node_map)[node->name()] = node;
      }
    }
    
    // Strips off the tensor part of the tensor_name to get the node_name.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. cluster/gce/config-test.sh

    export GCE_API_ENDPOINT=${KUBE_GCE_API_ENDPOINT:-}
    ZONE=${KUBE_GCE_ZONE:-us-central1-b}
    export REGION=${ZONE%-*}
    RELEASE_REGION_FALLBACK=${RELEASE_REGION_FALLBACK:-false}
    REGIONAL_KUBE_ADDONS=${REGIONAL_KUBE_ADDONS:-true}
    NODE_SIZE=${NODE_SIZE:-e2-standard-2}
    NUM_NODES=${NUM_NODES:-3}
    NUM_WINDOWS_NODES=${NUM_WINDOWS_NODES:-0}
    MASTER_SIZE=${MASTER_SIZE:-e2-standard-$(get-master-size)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. cluster/gce/config-default.sh

    export GCLOUD=gcloud
    ZONE=${KUBE_GCE_ZONE:-us-central1-b}
    export REGION=${ZONE%-*}
    RELEASE_REGION_FALLBACK=${RELEASE_REGION_FALLBACK:-false}
    REGIONAL_KUBE_ADDONS=${REGIONAL_KUBE_ADDONS:-true}
    NODE_SIZE=${NODE_SIZE:-e2-standard-2}
    NUM_NODES=${NUM_NODES:-3}
    NUM_WINDOWS_NODES=${NUM_WINDOWS_NODES:-0}
    MASTER_SIZE=${MASTER_SIZE:-e2-standard-$(get-master-size)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 20:16:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_cluster_util.cc

      return absl::OkStatus();
    }
    
    // Sorts control inputs of a graphdef so that they are deterministically
    // ordered.
    void SortControlInputs(GraphDef* gdef) {
      int64_t num_nodes = gdef->node_size();
      for (int64_t i = 0; i < num_nodes; ++i) {
        NodeDef* node = gdef->mutable_node(i);
        // Stable sort control inputs and leave the order of data inputs unchanged.
        std::stable_sort(node->mutable_input()->begin(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/bundle_v2.cc

      }
    
      return absl::OkStatus();
    }
    
    absl::Status SavedModelV2Bundle::VisitObjectsToRestore(
        RestoreObjectsCallback callback) {
      if (saved_object_graph().nodes_size() == 0 ||
          trackable_object_graph().nodes_size() == 0) {
        return absl::OkStatus();
      }
    
      // Start from root nodes of both the SavedObjectGraph and TrackableObjectGraph
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. src/go/printer/nodes.go

    	c.size += len(p)
    	return len(p), nil
    }
    
    // nodeSize determines the size of n in chars after formatting.
    // The result is <= maxSize if the node fits on one line with at
    // most maxSize chars and the formatted output doesn't contain
    // any control chars. Otherwise, the result is > maxSize.
    func (p *printer) nodeSize(n ast.Node, maxSize int) (size int) {
    	// nodeSize invokes the printer, which may invoke nodeSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/bundle_v2_test.cc

      SavedModelV2Bundle bundle;
      TF_ASSERT_OK(SavedModelV2Bundle::Load(export_dir, &bundle));
    
      // Ensure that there are nodes in the trackable_object_graph.
      EXPECT_GT(bundle.trackable_object_graph().nodes_size(), 0);
    
      RestoreVarsAndVerify(&bundle, {"variable_x", "variable_y", "child_variable"});
    }
    
    TEST_F(BundleV2Test, LoadsCyclicModule) {
      const std::string export_dir =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 17:51:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. src/go/printer/printer.go

    		}
    	},
    }
    
    func newPrinter(cfg *Config, fset *token.FileSet, nodeSizes map[ast.Node]int) *printer {
    	p := printerPool.Get().(*printer)
    	*p = printer{
    		Config:    *cfg,
    		fset:      fset,
    		pos:       token.Position{Line: 1, Column: 1},
    		out:       token.Position{Line: 1, Column: 1},
    		wsbuf:     p.wsbuf[:0],
    		nodeSizes: nodeSizes,
    		cachedPos: -1,
    		output:    p.output[:0],
    	}
    	return p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  9. pkg/controller/nodelifecycle/metrics.go

    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const (
    	nodeControllerSubsystem = "node_collector"
    	zoneHealthStatisticKey  = "zone_health"
    	zoneSizeKey             = "zone_size"
    	zoneNoUnhealthyNodesKey = "unhealthy_nodes_in_zone"
    	evictionsTotalKey       = "evictions_total"
    
    	updateNodeHealthKey     = "update_node_health_duration_seconds"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 21:55:34 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      // we partially initialize "builders" that correspond to their currently known
      // state, and gradually fill them out in subsequent passes.
      for (int i = 0; i < metagraph.object_graph_def().nodes_size(); ++i) {
        const SavedObject& node = metagraph.object_graph_def().nodes(i);
        if (node.kind_case() == SavedObject::kVariable) {
          std::unique_ptr<Variable> variable;
          TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
Back to top