Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for Metagraph (0.28 sec)

  1. tensorflow/cc/saved_model/fingerprinting.cc

      // Create a copy of `metagraph` which will be used and mutated for fingerprint
      // computation.
      FingerprintDef fingerprint_def;
      MetaGraphDef* metagraph = saved_model.mutable_meta_graphs(0);
      // Set fingerprint field #1.
      fingerprint_def.set_saved_model_checksum(HashSavedModel(saved_model));
      // Set fingerprint field #2.
      graph_regularization::SimpleDelete(*metagraph->mutable_graph_def());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/loader.h

    };
    
    // Restore variable and resources in the SavedModel export dir for the
    // indicated metagraph.
    // The recommended way to load a saved model is to call LoadSavedModel,
    // which provides an already initialized Metagraph, Session, and DebugInfo.
    Status RestoreSession(const RunOptions& run_options,
                          const MetaGraphDef& meta_graph, const string& export_dir,
                          std::unique_ptr<Session>* session);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/loader_util.cc

    }
    
    Status GetAssetFileDefs(const MetaGraphDef& meta_graph_def,
                            std::vector<AssetFileDef>* asset_file_defs) {
      // With SavedModel v2, we write asset file def into metagraph instead of
      // collection, so read from metagraph first.
      if (meta_graph_def.asset_file_def_size() > 0) {
        for (const auto& asset : meta_graph_def.asset_file_def()) {
          asset_file_defs->push_back(asset);
        }
        return absl::OkStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 10 10:25:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      // "Value" attribute.
      NodeAttrMap node_attr_map = NodeToAttrMap(metagraph.graph_def());
    
      // These are needed for creating "Assets", by looking up their filenames.
      std::vector<AssetFileDef> assets;
      TF_RETURN_IF_ERROR(GetAssetFileDefs(metagraph, &assets));
    
      // Signatures are needed for determining whether a function is a
      // SignatureDefFunction or not.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/public/saved_model_api.h

    // to achieve ABI stability.
    typedef struct TF_SavedModel TF_SavedModel;
    
    // Load a SavedModel from `dirname`. We expect the SavedModel to contain a
    // single Metagraph (as for those exported from TF2's `tf.saved_model.save`).
    //
    // Params:
    //  dirname - A directory filepath that the SavedModel is at.
    //  ctx - A TFE_Context containing optional load/TF runtime options.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 04 00:45:47 UTC 2020
    - 5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/saved_model_utils.h

    Status ValidateSingleConcreteFunction(const SavedFunction& saved_function);
    
    // Walks through the SavedObjectGraph in metagraph, and restores all nodes
    // (except "UserDefinedObjects") with their corresponding type in
    // "PartiallyRevivedObjects".
    Status PartiallyReviveSavedModelObjects(const MetaGraphDef& metagraph,
                                            ImmediateExecutionContext* context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 04:18:52 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/experimental/public/saved_model_api.h

      //         to contain a single Metagraph (as for those exported from TF2's
      //         `tf.saved_model.save`). If tags != nullptr, we load the metagraph
      //         matching the tags:
      //         https://github.com/tensorflow/tensorflow/blob/428cdeda09aef81e958eeb274b83d27ad635b57b/tensorflow/core/protobuf/meta_graph.proto#L50-L56
      //  status - Set to OK on success and an appropriate error on failure.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 04 00:45:47 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_test.cc

      metagraph_def.ParseFromArray(metagraph->data, metagraph->length);
      TF_DeleteBuffer(metagraph);
    
      EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      CSession csession(session);
    
      // Retrieve the regression signature from meta graph def.
      const auto signature_def_map = metagraph_def.signature_def();
      const auto signature_def = signature_def_map.at("regress_x_to_y");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      TFE_DeleteContext(ctx);
    }
    
    // This tests running the "serving_default" SignatureDefFunction from the
    // VarsAndArithmeticObjectGraph savedmodel. Here's what the signature_defs
    // protobuf in the metagraph looks like:
    // signature_def: {
    //   key  : "serving_default"
    //   value: {
    //     inputs: {
    //       key  : "a"
    //       value: {
    //         name : "serving_default_a:0"
    //         dtype: DT_FLOAT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.compile);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathRuntime)) {
                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.runtime);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathTest)) {
                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.test);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top