Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for tmp (0.32 sec)

  1. ci/official/wheel_test/README.md

        e.g.:
        bash update_requirements.sh /tmp/tensorflow-2.14.0-cp311-cp311-linux_x86_64.whl 3_11
        ```
    
    #### Requirements Updater Script
    This script automates the process of updating TensorFlow requirements for a
    specific Python version.
    
    ##### Parameters
    `path_to_tensorflow_wheel`: The local path to the TensorFlow wheel file.
    Example: `/tmp/tensorflow-2.14.0-cp311-cp311-linux_x86_64.whl`
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

          // behaves differently on Windows. `tmp_dir` should be something like
          // `path/to/tmp/dir/`. After joining path, we will have
          // /path/to/tmp/dir/tf_fs_rng_name/`
          root_dir_ = tensorflow::strings::StrCat(
              "/", tmp_dir_,
              tensorflow::strings::StrCat("tf_fs_", rng_val_, "_", test_name), "/");
        } else {
          root_dir_ = tensorflow::io::JoinPath(
              tmp_dir_,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      const size_t ndims2 = TF_ARRAYSIZE(dims2);
    
      auto desc = init("list(tensor)");
      TF_Tensor* tmp[] = {
          Int8Tensor(dims1, ndims1, tensor1),
          Int8Tensor(dims2, ndims2, tensor2),
      };
      TF_SetAttrTensorList(desc, "v", tmp, TF_ARRAYSIZE(tmp), s_);
      for (int i = 0; i < TF_ARRAYSIZE(tmp); ++i) {
        TF_DeleteTensor(tmp[i]);
      }
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. ci/official/utilities/repack_libtensorflow.sh

      src_jar="$1"
      dest_jar="$2"
      tmp_dir=$(mktemp -d)
      cp "${src_jar}" "${tmp_dir}/orig.jar"
      pushd "${tmp_dir}"
      # Extract any src/ files
      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
      (mkdir -p src/main/java && cd src/main/java && jar -xf "${tmp_dir}/orig.jar" org/)
      # Repackage src/
      jar -cMf "${tmp_dir}/new.jar" src
      popd
      cp "${tmp_dir}/new.jar" "${dest_jar}"
      rm -rf "${tmp_dir}"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        return tensorflow::io::JoinPath(std::string(test_dir), rng_val);
      } else {
        return "";
      }
    }
    
    static std::string* GetTmpDir() {
      static std::string tmp_dir = InitializeTmpDir();
      if (tmp_dir == "")
        return nullptr;
      else
        return &tmp_dir;
    }
    
    namespace tensorflow {
    namespace {
    
    // TODO(vnvo2409): Refactor `gcs_filesystem_test` to remove unnecessary tests
    // after porting all tests from
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/repack_libtensorflow.sh

      src_jar="$1"
      dest_jar="$2"
      tmp_dir=$(mktemp -d)
      cp "${src_jar}" "${tmp_dir}/orig.jar"
      pushd "${tmp_dir}"
      # Extract any src/ files
      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
      (mkdir -p src/main/java && cd src/main/java && jar -xf "${tmp_dir}/orig.jar" org/)
      # Repackage src/
      jar -cMf "${tmp_dir}/new.jar" src
      popd
      cp "${tmp_dir}/new.jar" "${dest_jar}"
      rm -rf "${tmp_dir}"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. CONTRIBUTING.md

    ```bash
    apt-get install -y clang-tidy
    ```
    
    You can check a C/C++ file by doing:
    
    
    ```bash
    clang-format <my_cc_file> --style=google > /tmp/my_cc_file.cc
    diff <my_cc_file> /tmp/my_cc_file.cc
    ```
    
    #### Python coding style
    
    Changes to TensorFlow Python code should conform to
    [Google Python Style Guide](https://github.com/google/styleguide/blob/gh-pages/pyguide.md)
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top