Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for more (0.13 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. configure.py

                 'compilation to reduce the compilation time?'),
          'Eigen strong inline overridden.', 'Not overriding eigen strong inline, '
          'some compilations could take more than 20 mins.'):
        # Due to a known MSVC compiler issue
        # https://github.com/tensorflow/tensorflow/issues/10521
        # Overriding eigen strong inline speeds up the compiling of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

    from tensorflow.core.framework import attr_value_pb2
    from tensorflow.core.framework import graph_pb2
    from tensorflow.core.framework import node_def_pb2
    from tensorflow.core.framework import tensor_pb2
    from tensorflow.core.framework import tensor_shape_pb2
    from tensorflow.core.framework import types_pb2
    from tensorflow.python.client import session
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/stablehlo/python/quantization.py

    from tensorflow.compiler.mlir.quantization.tensorflow.python import py_function_lib
    from tensorflow.compiler.mlir.quantization.tensorflow.python import save_model
    from tensorflow.core.protobuf import meta_graph_pb2
    
    # Mapping of signature def key -> SignatureDef.
    _SignatureDefMap = Mapping[str, meta_graph_pb2.SignatureDef]
    
    
    def _serialize_signature_def_map(
        signature_def_map: _SignatureDefMap,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

    from tensorflow.python.saved_model import tag_constants
    from tensorflow.python.types import core
    
    _CalibrationMethod = qc.CalibrationOptions.CalibrationMethod
    
    
    # Test cases for Static Range Quantization.
    # Tries to run all tests cases in both the graph mode (default in TF1) and the
    # eager mode (default in TF2) to ensure support for when TF2 is disabled.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/runlit.site.cfg.py

        'tensorflow/compiler/mlir/tfrt',
        'tensorflow/compiler/mlir/tools/kernel_gen',
        os.path.join(external_srcdir, 'local_xla/xla/mlir_hlo'),
        'tensorflow/core/ir/importexport/',
        'tensorflow/core/ir/tests/',
        'tensorflow/core/transforms/',
        'tensorflow/dtensor/mlir/tests',
    ]
    config.mlir_tf_tools_dirs = [
        os.path.join(real_test_srcdir, os.environ['TEST_WORKSPACE'], s)
        for s in mlir_tf_tools_dirs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 21:33:52 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top