Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_AppendWritableFile (0.26 sec)

  1. tensorflow/c/env_test.cc

        ASSERT_TF_OK(s) << "NewWritableFile failed for " << filepath << ": "
                        << TF_Message(s);
    
        const char* data = "Hello, world!\n";
        TF_AppendWritableFile(handle, data, strlen(data), s);
        ASSERT_TF_OK(s) << "TF_AppendWritableFile failed to append data to file at "
                        << filepath << ": " << TF_Message(s);
    
        TF_CloseWritableFile(handle, s);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 10 20:52:48 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  2. tensorflow/c/env.cc

      auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Flush());
    }
    
    void TF_AppendWritableFile(TF_WritableFileHandle* handle, const char* data,
                               size_t length, TF_Status* status) {
      auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
      TF_SetStatus(status, TF_OK, "");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 7K bytes
    - Viewed (0)
  3. tensorflow/c/env.h

                                                    TF_Status* status);
    
    // Appends the given bytes to the file. Any failure to do so is indicated in
    // status.
    TF_CAPI_EXPORT extern void TF_AppendWritableFile(TF_WritableFileHandle* handle,
                                                     const char* data,
                                                     size_t length,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 09 02:53:27 UTC 2021
    - 9.6K bytes
    - Viewed (0)
Back to top