Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for src_saved_model_path (0.33 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h

    // on member fields.
    class PyFunctionLibrary {
     public:
      virtual ~PyFunctionLibrary() = default;
    
      // Saves `exported_model` to `dst_saved_model_path` as SavedModel.
      // `src_saved_model_path` is the path to the source SavedModel from which the
      // exported model is produced. It is used to copy the asset files to
      // `dst_saved_model_path`. `tags` will be attached to the saved
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_function_lib.cc

          const absl::string_view src_saved_model_path,
          const std::unordered_set<std::string>& tags,
          const absl::flat_hash_map<std::string, SignatureDef>& signature_def_map)
          const override {
        PYBIND11_OVERRIDE_PURE(std::optional<bool>, PyFunctionLibrary,
                               save_exported_model, dst_saved_model_path,
                               exported_model, src_saved_model_path, tags,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/static_range_ptq.h

      StaticRangePtqComponent(
          absl::Nonnull<MLIRContext*> ctx,
          absl::Nonnull<const tensorflow::quantization::PyFunctionLibrary*>
              py_function_library,
          absl::string_view src_saved_model_path,
          std::vector<std::string> signature_keys,
          std::unordered_set<std::string> tags,
          absl::flat_hash_map<std::string, tensorflow::SignatureDef>
              signature_def_map,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 02:44:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.cc

        : ctx_(ABSL_DIE_IF_NULL(ctx)),                          // Crash OK
          py_function_lib_(ABSL_DIE_IF_NULL(py_function_lib)),  // Crash OK
          src_saved_model_path_(src_saved_model_path),
          function_aliases_(std::move(function_aliases)),
          tags_(std::move(tags)),
          signature_def_map_(std::move(signature_def_map)),
          signature_keys_(std::move(signature_keys)) {}
    
    absl::Status CalibrationComponent::ExportToSavedModel(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_function_lib.pyi

    class PyFunctionLibrary:
    
      # LINT.IfChange(save_exported_model)
      def save_exported_model(
          self,
          dst_saved_model_path: str,
          exported_model_serialized: bytes,
          src_saved_model_path: str,
          tags: set[str],
          serialized_signature_def_map: dict[str, bytes],
      ) -> Optional[bool]: ...
      # LINT.ThenChange()
    
      # LINT.IfChange(run_calibration)
      def run_calibration(
          self,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/cc/weight_only_ptq.h

          const ::stablehlo::quantization::QuantizationConfig& config) override;
    
     private:
      absl::Nonnull<MLIRContext*> ctx_;
    };
    
    // Runs weight-only quantization on a SavedModel at
    // `src_saved_model_path` and saves the resulting model to
    // `dst_saved_model_path`.
    //
    // `quantization_config` configures the quantization behavior for the
    // weight-only quantization.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 12:18:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        exported_model: exported_model_pb2.ExportedModel,
        src_saved_model_path: str,
        dst_saved_model_path: str,
        signature_def_map: Mapping[str, meta_graph_pb2.SignatureDef],
        tags: Collection[str],
    ) -> bool:
      """Saves the model and copies the assets from the source model.
    
      Args:
        exported_model: ExportedModel to save.
        src_saved_model_path: Path to the source SavedModel. This will be used to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.h

      // calibration dataset.
      CalibrationComponent(
          absl::Nonnull<MLIRContext*> ctx,
          absl::Nonnull<const tensorflow::quantization::PyFunctionLibrary*>
              py_function_lib,
          absl::string_view src_saved_model_path,
          absl::flat_hash_map<FunctionName, FunctionAlias> function_aliases,
          std::unordered_set<std::string> tags,
          absl::flat_hash_map<std::string, tensorflow::SignatureDef>
              signature_def_map,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top