Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Sandal (0.17 sec)

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

        TF_SetStatus(status, TF_OK, "");
    }
    
    static int64_t Tell(const TF_WritableFile* file, TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
    
      // POSIX's `ftell` returns `long`, do a manual cast.
      int64_t position = int64_t{ftell(posix_file->handle)};
      if (position < 0)
        TF_SetStatusFromIOError(status, errno, posix_file->filename);
      else
        TF_SetStatus(status, TF_OK, "");
    
    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)
  2. tensorflow/c/eager/gradient_checker_test.cc

    // These tests should not be confused with `[*]_grad_test` which compare the
    // result of `gradient_checker` and `[*]_grad`. The tests here test the
    // functionality of `gradient_checker` by comparing the result with expected
    // manual user-provided gradients.
    class GradientCheckerTest
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    static bool SetTmpDir(const std::string& tmp_dir_) {
      ModularFileSystemTest::SetTmpDir(tmp_dir_);
      return true;
    }
    
    }  // namespace
    }  // namespace tensorflow
    
    // Due to the usages of flags for this manual test, we need a special `main` to
    // ensure our flags are parsed properly as `testing::InitGoogleTest` silently
    // ignores other flags. Furthermore, we need this to ensure that the DSO is
    // loaded exactly once, if provided.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top