Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for node_size (0.24 sec)

  1. cluster/gce/gci/node-helper.sh

      echo "${metadata}"
    }
    
    # Assumed vars:
    #   scope_flags
    # Parameters:
    #   $1: template name (required).
    function create-linux-node-instance-template {
      local template_name="$1"
      local machine_type="${2:-$NODE_SIZE}"
    
      ensure-gci-metadata-files
      # shellcheck disable=2154 # 'scope_flags' is assigned by upstream
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 17 19:00:22 UTC 2022
    - 1.8K 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-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)
  5. 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)
  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. 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)
  8. 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)
  9. src/cmd/internal/codesign/codesign.go

    	nhashes := (codeSize + pageSize - 1) / pageSize
    	idOff := int64(codeDirectorySize)
    	hashOff := idOff + int64(len(id)+1)
    	sz := Size(codeSize, id)
    
    	// emit blob headers
    	sb := SuperBlob{
    		magic:  CSMAGIC_EMBEDDED_SIGNATURE,
    		length: uint32(sz),
    		count:  1,
    	}
    	blob := Blob{
    		typ:    CSSLOT_CODEDIRECTORY,
    		offset: superBlobSize + blobSize,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  10. 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)
Back to top