Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Hong (0.18 sec)

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

      else
        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/c_api_cluster_test.cc

      EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Even after the prevoiusly failed cluster update, another update and op
      // execution should work fine as long as the provided server_def is valid.
      TFE_ContextUpdateServerDef(ctx, 0, serialized.data(), serialized.size(),
                                 status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top