- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for _create_gather_model (0.26 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
tensor_spec.TensorSpec( shape=input_shape, dtype=dtypes.float32, name='input_tensor' ) ), options=save_options, ) return model def _create_gather_model(self, input_type, use_variable) -> module.Module: class GatherModel(module.Module): """A simple model with a single gather.""" def __init__(self, use_variable):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
('use_variable_with_int64_input', np.int64, True), ) @test_util.run_v2_only def test_gather_model(self, input_type, use_variable): model = self._create_gather_model(input_type, use_variable) save.save(model, self._input_saved_model_path) rng = np.random.default_rng(seed=42) static_input_shape = [6]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
signature_key, tags, inputs={input_key: in_placeholder}, outputs={output_key: output_tensor}, ) return in_placeholder def _create_gather_model(self, input_type, use_variable): class GatherModel(autotrackable.AutoTrackable): """A simple model with a single gather.""" def __init__(self, use_variable):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
('small_gather_use_variable', dtypes.int32, True, False), ) @test_util.run_v2_only def test_gather_model( self, input_type, use_variable, expect_quantized_gather ): model = self._create_gather_model(input_type, use_variable) saved_model_save.save(model, self._input_saved_model_path) tags = {tag_constants.SERVING} quantization_options = quant_opts_pb2.QuantizationOptions(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0)