Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for serving_default (0.35 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_custom_aggregation_ops.mlir

      func.func @serving_default(%arg0: tensor<1x4xf32> {tf_saved_model.index_path = ["x"]}) -> (tensor<1x3xf32> {tf_saved_model.index_path = ["output"]}) attributes {tf.entry_function = {control_outputs = "", inputs = "serving_default_x:0", outputs = "PartitionedCall:0"}, tf_saved_model.exported_names = ["serving_default"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo.pyi

    # ==============================================================================
    
    # LINT.IfChange(savedmodel_to_stablehlo)
    def savedmodel_to_stablehlo(
        input_path: str,
        exported_model_signatures: list[str] = ["serving_default"],
        tag_names: list[str] = ["serve"],
        input_arg_shapes_str: str = "",
    ) -> bytes: ...
    # LINT.ThenChange()
    
    # LINT.IfChange(tensorflow_module_to_stablehlo)
    def tensorflow_module_to_stablehlo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow_to_stablehlo/README.md

            exported_model_signatures=["serving_default"],
            tag_names=["serve"],
            input_arg_shapes_str="1,28,28,3::32"
    )
    
    ```
    
    #### Arguments:
    
    * `input_path` (required): Path to your SavedModel directory.
    * `exported_model_signatures` (optional): List of signature names to convert.
                                              Defaults to ["serving_default"].
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/func.h

    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    
    namespace mlir::quant {
    
    // Returns a public `func::FuncOp` in `module_op` whose name matches either
    // `main` or `serving_default`. If `func::FuncOps` with both names exist, the
    // function with name "main" takes precedence. Returns null if no such a
    // function exists.
    func::FuncOp FindMainFuncOp(ModuleOp module_op);
    
    }  // namespace mlir::quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 19 06:55:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

        tf.quantization.experimental.TfRecordRepresentativeDatasetSaver(
              path_map={'serving_default': '/tmp/representative_dataset_path'}
          ).save({'serving_default': representative_dataset})
      )
    
      # Using in QuantizationOptions.
      quantization_options = tf.quantization.experimental.QuantizationOptions(
          signature_keys=['serving_default'],
          representative_datasets=dataset_file_map,
      )
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

          self, output_saved_model_path: str
      ) -> str:
        """Extracts the first XlaCallModule op from output saved model to string."""
        root = load.load(output_saved_model_path)
        tf_graph_def = root.signatures['serving_default'].graph.as_graph_def()
        for function in tf_graph_def.library.function:
          for node_def in function.node_def:
            if node_def.op == 'XlaCallModule':
              with ir.Context() as context:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc

    opt<std::string> exported_model_signatures(
        "exported-model-signatures",
        llvm::cl::desc(
            "Comma-separated list of exported model signatures to convert"),
        llvm::cl::Optional, llvm::cl::init("serving_default"));
    
    // NOLINTNEXTLINE
    opt<std::string> tag_names(
        "tags",
        llvm::cl::desc("Comma-separated list of tags for loading SavedModel. "
                       "Ignored for MLIR input"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions_xla.mlir

        %cst = "tf.Const"() {device = "", value = dense<[[[[-0.315365672, 0.27481091], [0.0901821703, -0.382271349], [-0.105572946, -0.354302853]], [[-0.47703138, -0.307006568], [0.306320101, -0.209111646], [0.252869487, 0.449634969]], [[0.167675957,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 08 01:16:10 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.proto

      // within the SavedModel to analyze. If not specified, ["serve"] is used.
      repeated string tags = 5;
    
      // Sequence of keys identifying SignatureDef containing inputs and outputs.
      // If not specified, ["serving_default"] is used.
      repeated string signature_keys = 6;
    
      // A map from signature keys to the corresponding representative dataset.
      map<string, RepresentativeDatasetFile> representative_datasets = 7;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 06:31:19 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

    // NOLINTNEXTLINE
    opt<std::string> exported_model_signatures(
        "exported_model_signatures", llvm::cl::desc("model signature names"),
        llvm::cl::Optional, llvm::cl::init("serving_default"));
    
    namespace mlir {
    namespace odml {
    
    absl::StatusOr<OwningOpRef<mlir::ModuleOp>> ImportSavedModelOrMLIR(
        const std::string& input_path, MLIRContext* context,
        llvm::SourceMgr* source_mgr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top