Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_gather_model (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

          ('use_variable_with_int32_input', np.int32, True),
          ('use_constant_with_int64_input', np.int64, False),
          ('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)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

          ('small_gather_use_constant', dtypes.int32, False, False),
          ('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)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top