Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for serving_default (0.37 sec)

  1. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tf_entry_function.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s
    
    module {
    func.func @serving_default(%arg0: tensor<3x2xf32>) -> tensor<3x2xf32> attributes {tf.entry_function = {inputs = "serving_default_x", outputs = "outputs"}} {
    // CHECK:       {
    
    // CHECK-LABEL:   version: 3,
    
    // CHECK-LABEL:   operator_codes: [ {
    // CHECK:           version: 1
    // CHECK:         } ],
    
    // CHECK-LABEL:   subgraphs: [ {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

          tf_executor.fetch %out_1 : tensor<*xi64>
        }
        return %0 : tensor<*xi64>
      }
    // Sanity check: The contents of @serving_default is untouched.
    // CHECK: func.func private @serving_default(%[[ARG_0:.*]]: tensor<?x!tf_type.string>) -> tensor<*xi64>
    // CHECK-NEXT: %[[RES:.*]] = tf_executor.graph
    // CHECK: %[[OUT:.*]], %[[CTL:.*]] = tf_executor.island wraps "tf.Const"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unranked_tensor.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s
    
    module {
    func.func @serving_default(%arg0: tensor<*xf32>) -> tensor<*xf32> attributes {tf.entry_function = {inputs = "serving_default_x", outputs = "outputs"}} {
    // CHECK:     {
    // CHECK-NEXT:  version: 3,
    // CHECK-NEXT:  operator_codes: [ {
    // CHECK-NEXT:    version: 1
    // CHECK-NEXT:  } ],
    // CHECK-NEXT:  subgraphs: [ {
    // CHECK-NEXT:    tensors: [ {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_quantizable_spots_as_functions_xla_selective_quantization.mlir

        return %2 : tensor<1x3x2x2xf32>
      }
    
      func.func @serving_default(%arg0: tensor<1x3x4x3xf32>) -> (tensor<1x3x2x2xf32>) {
        %0 = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @conv2d_with_inliner}
            : (tensor<1x3x4x3xf32>) -> tensor<1x3x2x2xf32>
        return %0 : tensor<1x3x2x2xf32>
      }
    
    // CHECK-LABEL: func @serving_default
    // CHECK: "tf.PartitionedCall"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/signature_def.mlir

    // CHECK-NEXT:      tensor_index: 5
    // CHECK-NEXT:    }, {
    // CHECK-NEXT:      name: "start_logits",
    // CHECK-NEXT:      tensor_index: 6
    // CHECK-NEXT:    } ],
    // CHECK-NEXT:    signature_key: "serving_default"
    // CHECK-NEXT:  } ]
    // CHECK-NEXT:}
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 554 : i32}, tf_saved_model.semantics} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:55:51 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top