Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for node_id (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    Status TFSavedModelAPI::GetFunctions(
        int node_id,
        absl::flat_hash_map<std::string, ConcreteFunction*>* functions) {
      const auto& nodes = bundle_.saved_object_graph().nodes();
      if (node_id >= nodes.size()) {
        return errors::OutOfRange(
            "node_id ", node_id,
            " not found.  Maximum node ID: ", nodes.size() - 1);
      }
      const SavedObject* current_node = &nodes.Get(node_id);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        } else {
          internal_name += object_names_[node_id][0];
        }
        pretty_symbol_table_name_[node_id] = SaveString(internal_name);
      }
    }
    
    llvm::ArrayRef<llvm::StringRef> ObjectNames::GetExportedNames(
        int node_id) const {
      auto it = exported_names_.find(node_id);
      if (it != exported_names_.end()) {
        return it->second;
      }
      return {};
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_cluster_util.cc

      path.resize(path_size);
      for (int32_t node_id : path) {
        string ascii_art;
        if (node_id == dst) {
          ascii_art = "+-> ";
        } else if (node_id != src) {
          ascii_art = "|   ";
        } else {
          ascii_art = "+-- ";
        }
        absl::StrAppend(&description, ascii_art, node_name(node_id), "\n");
      }
      return description;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function_revival_state.h

    // wraps partially constructed Function and Resource objects.
    struct TFConcreteFunctionRevivalState {
      // Index of the node in the SavedObjectGraph it was loaded from.
      int node_id;
    
      // Pointer to the original functiondef. fdef_ is guaranteed to be
      // non-null.
      const FunctionDef* fdef;
    
      // TensorHandle captures for this funtion
      std::vector<ImmediateExecutionTensorHandle*> captures;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 04:49:47 UTC 2020
    - 2.6K bytes
    - Viewed (0)
Back to top