Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for serving_default (0.57 sec)

  1. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo.cc

      // LINT.IfChange(savedmodel_to_stablehlo)
      m.def(
          "savedmodel_to_stablehlo",
          [](absl::string_view input_path,
             const std::vector<std::string>& exported_model_signatures =
                 {"serving_default"},
             const std::vector<std::string>& tag_names = {"serve"},
             absl::string_view input_arg_shapes_str = "") -> py::bytes {
            auto module_bytecode =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_mark_initialized_variables.mlir

    // RUN: tf-opt -tf-saved-model-mark-initialized-variables-invalid-session-test %s | FileCheck %s --check-prefix=INVALID
    
    
    module attributes {tf_saved_model.semantics, tf_saved_model.under_construction} {
    
      func.func @serving_default(%arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf_type.resource<tensor<50xf32>>> {tf.resource_name = "dense/bias"}) -> (tensor<100x50xf32> {tf_saved_model.index_path = ["dense_2"]})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model_test.py

      def test_quantize_model_fails_when_invalid_quant_options_serialization(self):
        src_saved_model_path = self.create_tempdir().full_path
        dst_saved_model_path = self.create_tempdir().full_path
        signature_def_keys = ['serving_default']
        quant_opts_serialized = 'invalid proto serialization string'.encode('utf-8')
    
        with self.assertRaisesRegex(TypeError, 'incompatible function arguments'):
          pywrap_quantize_model.quantize_ptq_static_range(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 02:09:24 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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/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)
  10. 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)
Back to top