- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for serving_default (0.23 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/tests/odml-to-stablehlo-smuggle-resize.mlir
func.func @serving_default(%arg0: tensor<1x32x32x128xf32> {tf_saved_model.index_path = ["a"]}) -> (tensor<1x64x64x128xf32> {tf_saved_model.index_path = ["b"]}) attributes {tf.entry_function = {control_outputs = "", inputs = "c:0", outputs = "d:0"}, tf_saved_model.exported_names = ["serving_default"]} { %0 = "tf.Const"() {value = dense<[56, 904]> : tensor<2xi32>} : () -> tensor<2xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 18:33:43 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/convert_tpu_model_to_cpu.mlir
return %0 : tensor<1xf32> } // The contents of `@serving_default` should have been inlined to `@batch_func`. // CHECK: func.func @serving_default(%[[ARG0:.*]]: tensor<1xf32>, %[[ARG1:.*]]: tensor<1xf32>) -> tensor<1xf32> // CHECK-NOT: tf.BatchFunction // CHECK: %[[ADD0:.*]] = "tf.AddV2"(%[[ARG0]], %[[ARG1]]) // CHECK: return %[[ADD0]] : tensor<1xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/representative_dataset.cc
// If the signature_key has not been explicitly specified, use the default // value of "serving_default". const std::string signature_key = dataset_config.has_signature_key() ? dataset_config.signature_key() : "serving_default"; if (repr_dataset_file_map.contains(signature_key)) { return absl::InvalidArgumentError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jan 29 04:53:21 UTC 2024 - 2.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_xla.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 7.2K bytes - Viewed (0) -
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)