Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for nodes_size (0.27 sec)

  1. 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)
  2. 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)
  3. tensorflow/cc/tools/freeze_saved_model_test.cc

        // In both cases, none should be variables.
        size_t expected_nodes = use_resource ? (use_identity ? 5 : 4) : 3;
    
        EXPECT_EQ(frozen_graph_def.node_size(), expected_nodes);
        for (const NodeDef& node : frozen_graph_def.node()) {
          EXPECT_NE(node.op(), "Variable") << node.name();
          EXPECT_NE(node.op(), "VariableV2") << node.name();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/cc/training/queue_runner_test.cc

      // stored.
      TF_EXPECT_OK(session->Run({}, {kDequeueOp0}, {}, &dq0));
    
      CostGraphDef cost_graph;
      TF_CHECK_OK(qr->ExportCostGraph(&cost_graph));
      EXPECT_TRUE(cost_graph.node_size() > 0);
    
      qr->Stop(session.get());
    }
    
    TEST(QueueRunnerTest, NoRunMetaDataTest) {
      GraphDef graph_def = BuildSimpleGraph();
      auto session = BuildSessionAndInitVariable(graph_def);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 21 06:27:51 UTC 2019
    - 14.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/go/printer/printer.go

    	// Hard limit on buffer size; see https://golang.org/issue/23199.
    	if cap(p.output) > 64<<10 {
    		return
    	}
    
    	printerPool.Put(p)
    }
    
    // fprint implements Fprint and takes a nodesSizes map for setting up the printer state.
    func (cfg *Config) fprint(output io.Writer, fset *token.FileSet, node any, nodeSizes map[ast.Node]int) (err error) {
    	// print node
    	p := newPrinter(cfg, fset, nodeSizes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
Back to top