Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _create_data_generator (0.17 sec)

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

      ):
        model = self._create_simple_gather_and_conv_model(
            input_type, filter_shape=(2, 3, 3, 1024)
        )
        saved_model_save.save(model, self._input_saved_model_path)
    
        data_gen = self._create_data_generator(
            input_key='input_tensor',
            shape=[500],
            minval=0,
            maxval=64,
            dtype=input_type,
        )
    
        tags = {tag_constants.SERVING}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

              outputs=outputs,
              init_op=lookup_ops.tables_initializer(),
              assets_collection=ops.get_collection(ops.GraphKeys.ASSET_FILEPATHS),
          )
    
        return inputs, outputs
    
      def _create_data_generator(
          self,
          input_key: str,
          shape: Sequence[int],
          minval: float = -1.0,
          maxval: float = 1.0,
          dtype: dtypes.DType = dtypes.float32,
          num_examples: int = 8,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top