Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for more (0.03 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

          `signature_keys` contains more than one signature key,
          `representative_datsaet` should be a mapping that maps each signature keys
          to the corresponding representative dataset.
        force_graph_mode_calibration: If set to true, it forces calibration in graph
          model instead of eager mode when the context is in eager mode.
    
      Raises:
        ValueError iff:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

        raise ValueError(
            'Representative dataset is not a mapping (got: '
            f'{type(representative_dataset)}), but there is more than one '
            'signature key provided. Please provide a map of '
            '{signature_key -> dataset} with more than one signature key.'
        )
      else:
        representative_dataset_map = {
            list(signature_def_map.keys())[0]: representative_dataset,
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

                      name='y', shape=y_signature, dtype=dtypes.float32
                  ),
              ]
          )
          def einsum_without_kernel(
              self, x: core.Tensor, y: core.Tensor
          ) -> Mapping[str, core.Tensor]:
            return self._einsum(x, y)
    
          def _einsum(self, x, y):
    
            out = tensorflow.einsum(equation, x, y)
            if self._bias is not None:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

    from tensorflow.core.protobuf import meta_graph_pb2
    from tensorflow.python.client import session
    from tensorflow.python.data.ops import readers
    from tensorflow.python.eager import context
    from tensorflow.python.framework import tensor_util
    from tensorflow.python.lib.io import python_io
    from tensorflow.python.platform import tf_logging as logging
    from tensorflow.python.types import core
    from tensorflow.python.util import tf_export
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

      """
      return any(map(lambda value: isinstance(value, core.Tensor), sample.values()))
    
    
    class RepresentativeDatasetTest(test.TestCase):
      """Tests functions for representative datasets."""
    
      def _assert_tensorlike_all_close(
          self,
          sess: session.Session,
          tensorlike_value_1: core.TensorLike,
          tensorlike_value_2: core.TensorLike,
      ) -> None:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

    from absl import logging
    
    # pylint: disable=g-importing-member
    from google.protobuf.any_pb2 import Any
    # pylint: enable=g-importing-member
    from tensorflow.core.framework import graph_pb2
    from tensorflow.core.protobuf import meta_graph_pb2
    from tensorflow.core.protobuf import saver_pb2
    from tensorflow.python.client import session
    from tensorflow.python.framework import importer
    from tensorflow.python.framework import ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top