Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 65 for serving_default (0.3 sec)

  1. tensorflow/compiler/mlir/quantization/common/func_test.cc

      EXPECT_THAT(FindMainFuncOp(*module_op), IsNull());
    }
    
    TEST_F(FindMainFuncOpTest, ReturnsServingDefaultFuncOp) {
      constexpr absl::string_view kModuleWithServingDefaultFunc = R"mlir(
        module {
          func.func @serving_default() -> () {
            return
          }
        }
      )mlir";
    
      OwningOpRef<ModuleOp> module_op =
          ParseModuleOpString(kModuleWithServingDefaultFunc);
      EXPECT_THAT(*module_op, NotNull());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/signature_def_output_override.mlir

    // CHECK-NEXT:      tensor_index: 4
    // CHECK-NEXT:    }, {
    // CHECK-NEXT:      name: "start_logits",
    // CHECK-NEXT:      tensor_index: 4
    // 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: Thu Jul 14 16:41:28 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/unique_output_name.mlir

        %0:2 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/tests/components/pre_calibration_component.mlir

    // CHECK: return %[[CUSTOM_AGGREGATOR_1]] : tensor<1x3xf32>
    // CHECK: }
    // CHECK: }
    
    // -----
    
    // Tests that stablehlo op serialization also works for the "serving_default"
    // function.
    
    func.func @serving_default(%arg0: tensor<1x4xf32>) -> tensor<1x3xf32> {
      %0 = stablehlo.constant dense<1.0> : tensor<4x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      TF_SignatureDefFunction* serving_default =
          TF_GetSavedModelSignatureDefFunction(saved_model, "serving_default",
                                               status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      TF_SignatureDefFunctionMetadata* metadata =
          TF_SignatureDefFunctionGetMetadata(serving_default);
    
      const TF_SignatureDefParamList* args =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_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 Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/cc/saved_model/signature_constants.h

    /// Key in the signature def map for `default` serving signatures. The default
    /// signature is used in inference requests where a specific signature was not
    /// specified.
    static constexpr char kDefaultServingSignatureDefKey[] = "serving_default";
    
    ////////////////////////////////////////////////////////////////////////////////
    /// Classification API constants.
    
    /// Classification inputs.
    static constexpr char kClassifyInputs[] = "inputs";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 22:31:28 UTC 2018
    - 2.5K bytes
    - Viewed (0)
Back to top