Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Numpy (0.04 sec)

  1. tensorflow/c/experimental/ops/math_ops.cc

    namespace tensorflow {
    namespace ops {
    
    // Op: Mul()
    // Summary: Returns x * y element-wise.
    //
    // Description:
    //   *NOTE*: `Multiply` supports broadcasting. More about broadcasting
    //   [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
    Status Mul(AbstractContext* ctx, AbstractTensorHandle* const x,
               AbstractTensorHandle* const y, AbstractTensorHandle** z,
               const char* name, const char* raw_device_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

    """Defines types required for representative datasets for quantization."""
    
    from collections.abc import Collection, Sized
    import os
    from typing import Iterable, Mapping, Optional, Union
    
    import numpy as np
    
    from tensorflow.compiler.mlir.quantization.tensorflow import quantization_options_pb2
    from tensorflow.core.protobuf import meta_graph_pb2
    from tensorflow.python.client import session
    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/BUILD

            "//tensorflow/python/saved_model:tag_constants",
            "//tensorflow/python/training:checkpoint_utils",
            "//tensorflow/python/types:core",
            "//third_party/py/numpy",
            "@absl_py//absl/testing:parameterized",
        ],
    )
    
    pytype_strict_library(
        name = "quantize_model_test_base",
        testonly = 1,
        srcs = ["integration_test/quantize_model_test_base.py"],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h

            return success();
          }
          // Insert tranposes to support scatter operations generated from
          // numpy-like slice operations:
          //   nd_array[:, [i,j]] = [i_values, j_values]
          //
          if (scatter_dims_to_operand_dims != inserted_window_dims) {
            // Support only dimension numbers generated by numpy-like slice
            // operations.
            return rewriter.notifyMatchFailure(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. README.md

    #### *Try your first TensorFlow program*
    
    ```shell
    $ python
    ```
    
    ```python
    >>> import tensorflow as tf
    >>> tf.add(1, 2).numpy()
    3
    >>> hello = tf.constant('Hello, TensorFlow!')
    >>> hello.numpy()
    b'Hello, TensorFlow!'
    ```
    
    For more examples, see the
    [TensorFlow tutorials](https://www.tensorflow.org/tutorials/).
    
    ## Contribution guidelines
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 15:00:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

    # limitations under the License.
    # ==============================================================================
    """Tests for representative_dataset.py."""
    import random
    
    import numpy as np
    
    from tensorflow.compiler.mlir.quantization.tensorflow.python import representative_dataset as repr_dataset
    from tensorflow.core.protobuf import meta_graph_pb2
    from tensorflow.python.client import session
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

              'with more than one signature key.'
          )
    
    
    def _replace_tensors_by_numpy_ndarrays(
        repr_ds_map: rd.RepresentativeDatasetMapping,
    ) -> None:
      """Replaces tf.Tensors by their evaluated numpy arrays.
    
      This assumes that tf.Tensors in representative samples are created in the
      default Graph. It will raise an error if tensors are created in a different
      graph.
    
      Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. tensorflow/cc/saved_model/BUILD

    #         "//tensorflow/python/util:compat",
    #         "//tensorflow/tools/proto_splitter:constants",
    #         "//tensorflow/tools/proto_splitter/python:saved_model",
    #         "//third_party/py/numpy",
    #         "@absl_py//absl:app",
    #         "@absl_py//absl/flags",
    #     ],
    # )
    #
    # copybara:uncomment_end
    
    # TODO(b/32673259): add a test to continuously validate these files.
    filegroup(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 05:43:44 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. ci/devinfra/docker_windows/Dockerfile

        cryptography cycler Cython decorator google-api-python-client \
        google-auth google-auth-httplib2 grpcio httplib2 idna ipython-genutils \
        kiwisolver macholib matplotlib nose numpy packaging pandas pickleshare pip \
        prompt-toolkit protobuf psutil pyasn1 pyasn1-modules pycparser Pygments \
        pyparsing pyreadline python-dateutil pytz pywin32 requests rsa setuptools \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 17:24:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

    """Defines CalibrationAlgorithm for calculating min and max values calculated by calibration method."""
    import abc
    import itertools
    import logging
    
    import numpy as np
    
    from tensorflow.compiler.mlir.quantization.stablehlo import quantization_config_pb2 as stablehlo_quant_config_pb2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top