Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _create_and_save_vocab_table_lookup_qat_model_tf1 (0.62 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

        )
        # shape: (2, 2)
        output_tensor = math_ops.matmul(matmul_input, weight)
    
        return input_vocabs_placeholder, lookup_vals, output_tensor
    
      def _create_and_save_vocab_table_lookup_qat_model_tf1(
          self,
          output_path: str,
          tags: Collection[str],
          signature_def_key: str,
      ) -> Tuple[Mapping[str, core.Tensor], Mapping[str, core.Tensor]]:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        signature_def_key = signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY
    
        # Create and save a simple model that involves a hash table.
        inputs, outputs = self._create_and_save_vocab_table_lookup_qat_model_tf1(
            self._input_saved_model_path, tags, signature_def_key
        )
    
        # Make sure that the desired input key and output key is present.
        self.assertIn('input_vocabs', inputs.keys())
    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