Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for directory (0.17 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.cc

        stat->mtime_nsec = stats.mtime_nsec;
        stat->is_directory = stats.is_directory;
      }
    
      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::IsDirectory(const std::string& name,
                                          TransactionToken* token) {
      if (ops_->is_directory == nullptr)
        return FileSystem::IsDirectory(name, token);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      if (TF_GetCode(status) == TF_OK) ClearFileCaches(gcs_file, path);
    }
    
    // Checks that the directory is empty (i.e no objects with this prefix exist).
    // Deletes the GCS directory marker if it exists.
    void DeleteDir(const TF_Filesystem* filesystem, const char* path,
                   TF_Status* status) {
      // A directory is considered empty either if there are no matching objects
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

        TF_SetStatus(status, TF_FAILED_PRECONDITION, "target path is a directory");
        return;
      }
    
      // We cannot rename directories yet, so prevent this.
      if (stat(src, &st) != 0) {
        TF_SetStatusFromIOError(status, errno, src);
        return;
      } else if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "source path is a directory");
        return;
      }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. CONTRIBUTING.md

        (`tensorflow/tensorflow:devel` and `tensorflow/tensorflow:devel-gpu` are no
        longer supported for) development. Use TF SIG Build Dockerfiles in
        development to avoid installing the packages directly on your system (in
        which case remember to change the directory from `/root` to `/tensorflow`
        once you get into the running container so `bazel` can find the `tensorflow`
        workspace).
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  5. ci/devinfra/docker_windows/Dockerfile

            -Name LongPathsEnabled -Value 1 -PropertyType DWORD -Force
    
    # Install Visual C++ Redistributable for Visual Studio 2015-2022.
    RUN New-Item -Path "C:/" -Name "TEMP" -ItemType "directory"; \
        Invoke-WebRequest "https://aka.ms/vs/17/release/vc_redist.x64.exe" \
            -OutFile C:/TEMP/vc_redist.x64.exe -UseBasicParsing; \
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    #
    # We can't test on the windows toolchains because they're using a legacy
    # toolchain format (or something) that specifies the toolchain directly instead
    # of as a "repository". They can't be valid on Linux because Linux can't do
    # anything with a Windows-only toolchain, and bazel errors if trying to build
    # that directory.
    @test "bazel nobuild passes on all of TF except TF Lite and win toolchains" {
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  7. ci/official/utilities/code_check_full.bats

    #
    # We can't test on the windows toolchains because they're using a legacy
    # toolchain format (or something) that specifies the toolchain directly instead
    # of as a "repository". They can't be valid on Linux because Linux can't do
    # anything with a Windows-only toolchain, and bazel errors if trying to build
    # that directory.
    @test "bazel nobuild passes on all of TF except TF Lite and win toolchains" {
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.h

                                                     TF_Buffer* value_buf,
                                                     TF_Status* status);
    
    // Delete configuration key-value. If `key` is a directory, recursively clean up
    // all key-values under the path specified by `key`.
    TF_CAPI_EXPORT extern void TFE_DeleteConfigKeyValue(TFE_Context* ctx,
                                                        const char* key,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      EXPECT_TF_OK(status_);
    
      TF_FileStatistics stat;
      tf_gcs_filesystem::Stat(filesystem_, dir.c_str(), &stat, status_);
      EXPECT_TF_OK(status_);
      EXPECT_TRUE(stat.is_directory);
    }
    
    TEST_F(GCSFilesystemTest, DeleteDir) {
      tf_gcs_filesystem::Init(filesystem_, status_);
      ASSERT_TF_OK(status_);
      const std::string dir = GetURIForPath("DeleteDir");
    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)
  10. ci/official/utilities/extract_resultstore_links.py

          description='Extracts ResultStore links from a build log.\n'
                      'These can be then printed out, and/or output into a '
                      'JUnit-based XML file inside a specified directory.')
    
      parser.add_argument('build_log',
                          help='Path to a build log.')
      parser.add_argument('--xml-out-path',
                          required=False,
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top