Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for more (0.04 sec)

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

    import tensorflow  # pylint: disable=unused-import
    
    from tensorflow.compiler.mlir.quantization.tensorflow.python import representative_dataset as repr_dataset
    from tensorflow.core.framework import function_pb2
    from tensorflow.core.framework import graph_pb2
    from tensorflow.core.framework import node_def_pb2
    from tensorflow.python.client import session
    from tensorflow.python.eager import def_function
    from tensorflow.python.framework import dtypes
    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/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)
  3. 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)
  4. tensorflow/compat_template_v1.__init__.py

    _current_module = _sys.modules[__name__]
    
    # Lazy load Keras v1
    _tf_uses_legacy_keras = (
        _os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
    setattr(_current_module, "keras", _KerasLazyLoader(globals(), mode="v1"))
    if _tf_uses_legacy_keras:
      _module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v1.keras")
    else:
      _module_dir = _module_util.get_parent_dir_for_name("keras.api._v1.keras")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py

    """Serves as a common "main" function for all the SavedModel tests.
    
    There is a fair amount of setup needed to initialize tensorflow and get it
    into a proper TF2 execution mode. This hides that boilerplate.
    """
    
    import tempfile
    
    from absl import app
    from absl import flags
    from absl import logging
    import tensorflow.compat.v2 as tf
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 23:49:27 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py

    """Serves as a common "main" function for all the SavedModel tests.
    
    There is a fair amount of setup needed to initialize tensorflow and get it
    into a proper TF2 execution mode. This hides that boilerplate.
    """
    
    import tempfile
    from absl import app
    from absl import flags
    from absl import logging
    import tensorflow.compat.v1 as tf
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 20 13:19:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top