Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for node_size (0.15 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. 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)
  3. 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)
  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. 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)
  7. 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)
  8. 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)
  9. src/cmd/link/internal/ld/macho.go

    // (as it depends on the rest of the file).
    func machoCodeSigSym(ctxt *Link, codeSize int64) loader.Sym {
    	ldr := ctxt.loader
    	cs := ldr.CreateSymForUpdate(".machocodesig", 0)
    	if !ctxt.NeedCodeSign() || ctxt.IsExternal() {
    		return cs.Sym()
    	}
    	sz := codesign.Size(codeSize, "a.out")
    	cs.Grow(sz)
    	cs.SetSize(sz)
    	return cs.Sym()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top