Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetFileSystemForFile (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc

        return tsl::string("dummy_path");
      }
    
      // This is the part that would break the `CreateTmpDir` function because it
      // fails to provide a valid file system.
      absl::Status GetFileSystemForFile(const std::string& fname,
                                        tsl::FileSystem** result) override {
        return absl::InternalError("Broken file system");
      }
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

                                                  root_dir_);
        }
        env_ = Env::Default();
      }
    
      void SetUp() override {
        FileSystem* fs = nullptr;
        Status s = env_->GetFileSystemForFile(root_dir_, &fs);
        if (fs == nullptr || !s.ok())
          GTEST_SKIP() << "No filesystem registered: " << s;
    
        s = fs->CreateDir(root_dir_);
        if (!s.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
Back to top