Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for transform (0.28 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc

    #include <stdint.h>
    #include <unistd.h>
    
    #include <memory>
    
    #include "tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h"
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses a temporary buffer to hold contents.
    int CopyFileContents(int dst_fd, int src_fd, off_t size) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc

      //   If file exists, truncate its size to 0.
      int dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, open_mode);
      if (dst_fd < 0) {
        close(src_fd);
        return -1;
      }
    
      // Both files have been opened, do the transfer.
      // Since errno would be overridden by `close` below, save it here.
      int error_code = 0;
      if (CopyFileContents(dst_fd, src_fd, size) < 0) error_code = errno;
    
      close(src_fd);
      close(dst_fd);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jan 16 05:36:52 GMT 2020
    - 2.1K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h

    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_
    
    #include <sys/stat.h>
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses `sendfile` if available (i.e., linux 2.6.33 or later) or an
    // intermediate buffer if not.
    //
    // Returns number of bytes transferred or -1 on failure.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  4. .bazelrc

    iler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu,tensorflow/compiler/mlir/tfrt/transforms/mlrt,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow...
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 52.6K bytes
    - Viewed (2)
  5. tensorflow/BUILD

            "//tensorflow/lite:string_util",
            "//tensorflow/lite:util",
            "//tensorflow/python/grappler:cost_analyzer_lib",
            "//tensorflow/tools/graph_transforms:transform_graph_lib",
        ] + select({
            "//tensorflow/compiler/mlir/python:disable_mlir_config": [],
            "//conditions:default": [
                "//tensorflow/compiler/mlir/python:mlir",
            ],
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  6. CODEOWNERS

    /tensorflow/python/autograph/ @mdanatg
    /tensorflow/python/debug @caisq
    /tensorflow/python/eager @rohan100jain
    /tensorflow/tools/docs/ @markdaoust
    /tensorflow/compiler/mlir/ @aminim
    /tensorflow/core/ir/ @aminim
    /tensorflow/core/transforms/ @aminim
    
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 21:02:49 GMT 2022
    - 563 bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler.h

    // Plugin should implement TF_InitGraph to register graph optimizers.
    void TF_InitGraph(TP_OptimizerRegistrationParams* params, TF_Status* status);
    
    // Get a set of node names that must be preserved. They can not be transformed
    // or removed during the graph transformation. This includes feed and fetch
    // nodes, keep_ops, init_ops. Fills in `num_values` and `storage_size`, they
    // will be used in `TF_GetNodesToPreserveList`.
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  8. RELEASE.md

        keeping an alias in the old location (`tf.*`).
    *   Added 1D, 2D and 3D Fourier transform ops for real signals to `tf.spectral`.
    *   Added a `tf.bincount` function.
    *   Added Keras 2 API to contrib.
    *   Added a new lightweight queue-like object - `RecordInput`.
    *   Added `tf.contrib.image.compose_transforms` function.
    *   Bring `tf.estimator.*` into the API. Non-deprecated functionality from
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  9. ci/official/README.md

    #   will need to run `docker exec tf pkill bazel` to quit bazel.
    #
    #   Note: new files created from the container are owned by "root".
    #   You can run e.g. `docker exec tf chown -R $(id -u):$(id -g) build_output`
    #   to transfer ownership to your user.
    #
    # Docker is enabled by default on Linux. You may disable it if you prefer:
    # export TFCI=py311,linux_x86,no_docker
    
    # Advanced: Use Remote Build Execution (RBE) (internal developers only)
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. tensorflow/c/BUILD

            # "//tensorflow/cc/experimental/tf2:__subpackages__",
            # copybara:uncomment_end
            "//tensorflow/compiler/mlir/tensorflow/c:__subpackages__",
            "//tensorflow/core/transforms:__subpackages__",
        ],
        deps = [
            ":c_api_macros_hdrs",
            "@local_tsl//tsl/platform:status",
            "@local_xla//xla/tsl/c:tsl_status",
            "@local_xla//xla/tsl/c:tsl_status_internal",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
Back to top