Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 203 for save_model (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/cc/saved_model/image_format/README.md

    # SavedModel Image Format
    
    Everything related to the SavedModel Image format belongs in this directory.
    If you are a TensorFlow Python user, you can try this format by setting the
    `experimental_image_format` option:
    
    ```
    tf.savedmodel.save(
        model, path,
        options=tf.saved_model.SaveOptions(experimental_image_format=True)
    )
    ```
    
    When this option is enabled, exported SavedModels with proto size > 2GB will
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 29 22:11:19 UTC 2023
    - 674 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/batch_use_same_function/saved_model.pbtxt

    #RUN: tf-mlir-translate --savedmodel-signaturedefs-to-mlir-lite -tf-savedmodel-tags=serve,tpu %p | FileCheck %s
    
    # Test importing a saved model with 2 signatures that are using a same
    # BatchFunction Op, which references to a same inference_func from graph_def
    # library. The result should be that both signatures uses the same
    # BatchFunction Op (the shared_name is the same) and the same copy of
    # inference_func.
    
    # CHECK: f = @inference_func[[post_fix:[^,]*]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 09 16:20:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/bundle_v2.cc

    #include "tensorflow/cc/saved_model/bundle_v2.h"
    
    #include <memory>
    #include <string>
    #include <utility>
    
    #include "absl/container/flat_hash_set.h"
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "tensorflow/cc/saved_model/constants.h"
    #include "tensorflow/cc/saved_model/fingerprinting.h"
    #include "tensorflow/cc/saved_model/metrics.h"
    #include "tensorflow/cc/saved_model/reader.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 9.1K 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