Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for save_model (0.18 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 (1)
  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/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)
  8. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.h

    namespace tfrt {
    class CoreRuntime;
    }
    
    namespace mlir {
    class ModuleOp;
    }
    
    namespace tensorflow {
    
    // TFRTSavedModelSignatureInfo contains the metadata for a signature in the
    // savedmodel such as function name, inputs/outputs' names and types. This can
    // be used to retrieve these information in a tf_saved_model module.
    struct TFRTSavedModelSignatureInfo {
      llvm::StringRef func_name;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 17:42:41 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tfrt/saved_model/saved_model.h"
    
    #include <utility>
    
    #include "llvm/ADT/STLFunctionalExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/cc/saved_model/reader.cc

              " }. To inspect available tag-sets in the SavedModel, please "
              "use the SavedModel CLI: `saved_model_cli`"));
    }
    
    // Reads the SavedModel proto from saved_model.pb in `export_dir`.
    // Returns a failure status when the SavedModel file does not exist.
    Status ReadSavedModel(absl::string_view export_dir,
                          SavedModel* saved_model_proto) {
      LOG(INFO) << "Reading SavedModel from: " << export_dir;
    
      if (IS_OSS) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 00:19:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top