Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getChildren (0.25 sec)

  1. tensorflow/c/env_test.cc

        ASSERT_TF_OK(s) << "TF_CloseWritableFile failed to close handle to "
                        << filepath << ": " << TF_Message(s);
    
        TF_StringStream* children = TF_GetChildren(dirpath.c_str(), s);
        ASSERT_TF_OK(s) << "TF_GetChildren failed for " << dirpath;
        const char* childpath;
        ASSERT_TRUE(TF_StringStreamNext(children, &childpath));
        ASSERT_EQ(::tensorflow::string(childpath), "somefile.txt");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  2. tensorflow/c/env.cc

      delete list->list;
      delete list;
    }
    TF_StringStream* TF_GetChildren(const char* dirname, TF_Status* status) {
      auto* children = new std::vector<::tensorflow::string>;
    
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Set_TF_Status_from_Status(
          status, ::tensorflow::Env::Default()->GetChildren(dirname, children));
    
      auto* list = new TF_StringStream;
      list->list = children;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.h

      bool FilesExist(const std::vector<std::string>& files,
                      TransactionToken* token,
                      std::vector<Status>* status) override;
      Status GetChildren(const std::string& dir, TransactionToken* token,
                         std::vector<std::string>* result) override;
      Status GetMatchingPaths(const std::string& pattern, TransactionToken* token,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    void PathExists(const TF_Filesystem* filesystem, const char* path,
                    TF_Status* status);
    void CreateDir(const TF_Filesystem* filesystem, const char* path,
                   TF_Status* status);
    int GetChildren(const TF_Filesystem* filesystem, const char* path,
                    char*** entries, TF_Status* status);
    void DeleteFile(const TF_Filesystem* filesystem, const char* path,
                    TF_Status* status);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/c/env.h

    // through the list with TF_StringStreamNext. The caller is responsible for
    // freeing the list (see TF_StringStreamDone).
    TF_CAPI_EXPORT extern TF_StringStream* TF_GetChildren(const char* filename,
                                                          TF_Status* status);
    
    // Retrieves a list of directory names on the local machine that may be used for
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
Back to top