Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for save_model (0.48 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

    from tensorflow.python.framework import ops
    from tensorflow.python.lib.io import file_io
    from tensorflow.python.saved_model import builder
    from tensorflow.python.saved_model import constants as saved_model_constants
    from tensorflow.python.saved_model import loader_impl as saved_model_loader
    from tensorflow.python.saved_model import tag_constants
    from tensorflow.python.training import saver
    
    # Mapping of signature def key -> SignatureDef.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/BUILD

            ":pywrap_quantize_model",
            "//tensorflow:tensorflow_py",
            "//tensorflow/python/platform:client_testlib",
        ],
    )
    
    pytype_strict_library(
        name = "save_model",
        srcs = [
            "save_model.py",
        ],
        deps = [
            "//tensorflow/core:protos_all_py",
            "//tensorflow/python/client:session",
            "//tensorflow/python/framework:importer",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

    from tensorflow.compiler.mlir.quantization.tensorflow.python import save_model
    from tensorflow.core.protobuf import meta_graph_pb2
    from tensorflow.python.lib.io import file_io
    from tensorflow.python.saved_model import load as saved_model_load
    from tensorflow.python.saved_model import loader_impl as saved_model_loader
    from tensorflow.python.saved_model import signature_constants
    from tensorflow.python.saved_model import tag_constants
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        """Saves `ExportedModel` to `dst_saved_model_path` as a SavedModel.
    
        Args:
          dst_saved_model_path: Destination path to save the exported model.
          exported_model_serialized: Exported model to export as SavedModel.
          src_saved_model_path: Path to the source SavedModel. This will be used to
            copy the asset files to `dst_saved_model_path`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/metrics.cc

        "/tensorflow/core/saved_model/read/fingerprint",
        "The fingerprint (saved_model_checksum) of the loaded SavedModel.");
    
    // Gauge that contains the path (saved_model_path) of the loaded SavedModel.
    auto* saved_model_read_path = monitoring::Gauge<std::string, 0>::New(
        "/tensorflow/core/saved_model/read/path",
        "The path (saved_model_path) of the loaded SavedModel.");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/loader.cc

    #include "tensorflow/cc/saved_model/loader.h"
    
    #include <memory>
    #include <string>
    #include <unordered_set>
    #include <utility>
    
    #include "absl/status/status.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/str_join.h"
    #include "tensorflow/cc/saved_model/constants.h"
    #include "tensorflow/cc/saved_model/fingerprinting.h"
    #include "tensorflow/cc/saved_model/loader_util.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/fingerprinting_utils.cc

      FingerprintDef fingerprint_def;
      SavedModel saved_model;
    
      // Set the saved_model_checksum.
      TF_ASSIGN_OR_RETURN(uint64_t saved_model_hash,
                          HashFields(chunk_metadata.message(), reader, chunks_info,
                                     {}, &saved_model));
      saved_model_hash = FingerprintCat64(
          saved_model_hash, Fingerprint64(SerializeProto(saved_model)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. tensorflow/cc/saved_model/saved_model_bundle_test.cc

    ==============================================================================*/
    
    #include "tensorflow/cc/saved_model/constants.h"
    #include "tensorflow/cc/saved_model/loader.h"
    #include "tensorflow/cc/saved_model/metrics.h"
    #include "tensorflow/cc/saved_model/reader.h"
    #include "tensorflow/cc/saved_model/signature_constants.h"
    #include "tensorflow/cc/saved_model/tag_constants.h"
    #include "tensorflow/core/example/example.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. tensorflow/cc/saved_model/fingerprinting.cc

        return 0;
      }
    }
    
    uint64_t HashSavedModel(const SavedModel& saved_model) {
      std::string saved_model_serialized;
      {
        // Local scope guarantees coded stream will be trimmed (ensures
        // serialization determinism).
        // Unfortunately the saving process itself isn't deterministic, so the
        // checksum may still change since the saved_model proto may be different.
        StringOutputStream stream(&saved_model_serialized);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    #include "tensorflow/c/experimental/saved_model/core/revived_types/tensorhandle_convertible.h"
    #include "tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.h"
    #include "tensorflow/c/experimental/saved_model/core/revived_types/variable.h"
    #include "tensorflow/c/experimental/saved_model/core/saved_model_utils.h"
    #include "tensorflow/c/experimental/saved_model/core/signature_def_function.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top