Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 273 for save_model (0.21 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/stablehlo/python/quantization.py

        dst_saved_model_path: str,
        config: qc.QuantizationConfig,
    ) -> None:
      """Quantizes a saved model.
    
      Args:
        src_saved_model_path: Path to the directory for the source SavedModel.
        dst_saved_model_path: Path to the directory for the destination SavedModel.
        config: Quantization configuration.
    
      Raises:
        ValueError: When `config` was not configured for static-range PTQ
        single representative dataset.
      """
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

    from tensorflow.python.saved_model import builder
    from tensorflow.python.saved_model import loader_impl as saved_model_loader
    from tensorflow.python.saved_model import save as saved_model_save
    from tensorflow.python.saved_model import save_options
    from tensorflow.python.saved_model import signature_constants
    from tensorflow.python.saved_model import signature_def_utils_impl
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/constants.h

    // SavedModel proto filename prefix.
    inline constexpr char kSavedModelFilenamePrefix[] = "saved_model";
    // SavedModel proto filename.
    inline constexpr char kSavedModelFilenamePb[] = "saved_model.pb";
    
    // SavedModel chunked proto filename.
    inline constexpr char kSavedModelFilenameCpb[] = "saved_model.cpb";
    
    // SavedModel text format proto filename.
    inline constexpr char kSavedModelFilenamePbTxt[] = "saved_model.pbtxt";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 23:02:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/cc/saved_model/experimental/public/saved_model_api.h

    #include <vector>
    
    #include "tensorflow/c/experimental/saved_model/public/saved_model_api.h"
    #include "tensorflow/cc/experimental/base/public/runtime.h"
    #include "tensorflow/cc/experimental/base/public/status.h"
    #include "tensorflow/cc/saved_model/experimental/public/concrete_function.h"
    #include "tensorflow/cc/saved_model/experimental/public/concrete_function_list.h"
    #include "tensorflow/cc/saved_model/experimental/public/signature_def_function.h"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 04 00:45:47 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/c/experimental/saved_model/README.md

    # Tensorflow C SavedModel API
    
    ## Overview
    
    These are the new experimental C SavedModel APIs for loading and running
    SavedModels in a TF2-idiomatic fashion. See
    [RFC 207](https://github.com/tensorflow/community/pull/207) for additional
    context.
    
    The directory structure is as follows:
    
    ```none
    saved_model/
    
      public/
    
      internal/
    
      core/
    
    ```
    
    ## saved_model/public
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 20 17:00:01 UTC 2020
    - 2K bytes
    - Viewed (0)
Back to top