Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for more (0.04 sec)

  1. tensorflow/api_template.__init__.py

    # For e.g. this file will be originally placed under tensorflow/_api/v1 which
    # does not have "python", "core" directories. Then, it will be copied
    # to tensorflow/ which does have these two directories.
    try:
      del python
    except NameError:
      pass
    try:
      del core
    except NameError:
      pass
    try:
      del compiler
    except NameError:
      pass
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 06:27:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/tests/make_test_graphs.py

      x = constant_op.constant([1], name='x_const')
      y = constant_op.constant([2], name='y_const')
      test_func(x, y, name='func_call')  # pylint: disable=unexpected-keyword-arg
    
    
    def tfsplits(_):
      """A more complex graph, including splits."""
      x = array_ops.placeholder(dtypes.float32, shape=[2, 2], name='x')
      y = array_ops.placeholder(dtypes.float32, shape=[2, 2], name='y')
      for _ in range(3):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/api_template_v1.__init__.py

    # For e.g. this file will be originally placed under tensorflow/_api/v1 which
    # does not have "python", "core" directories. Then, it will be copied
    # to tensorflow/ which does have these two directories.
    
    try:
      del python
    except NameError:
      pass
    try:
      del core
    except NameError:
      pass
    try:
      del compiler
    except NameError:
      pass
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. tensorflow/compat_template.__init__.py

    _losses = _KerasLazyLoader(
        globals(), submodule="losses", name="losses", mode="v2")
    _metrics = _KerasLazyLoader(
        globals(), submodule="metrics", name="metrics", mode="v2")
    _optimizers = _KerasLazyLoader(
        globals(), submodule="optimizers", name="optimizers", mode="v2")
    _initializers = _KerasLazyLoader(
        globals(), submodule="initializers", name="initializers", mode="v2")
    setattr(_current_module, "losses", _losses)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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