Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for straum (0.31 sec)

  1. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    }  // namespace tf_windows_filesystem
    
    static void ProvideFilesystemSupportFor(TF_FilesystemPluginOps* ops,
                                            const char* uri) {
      TF_SetFilesystemVersionMetadata(ops);
      ops->scheme = strdup(uri);
    }
    
    void TF_InitPlugin(TF_FilesystemPluginInfo* info) {
      info->plugin_memory_allocate = plugin_memory_allocate;
      info->plugin_memory_free = plugin_memory_free;
      info->num_schemes = 2;
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      fstat(fd, &st);
      if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "path is a directory");
        close(fd);
        return;
      }
    
      file->plugin_file = new tf_random_access_file::PosixFile({strdup(path), fd});
      TF_SetStatus(status, TF_OK, "");
    }
    
    static void NewWritableFile(const TF_Filesystem* filesystem, const char* path,
                                TF_WritableFile* file, TF_Status* status) {
    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)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.cc

        return FileSystem::FilesExist(files, token, status);
    
      std::vector<char*> translated_names;
      translated_names.reserve(files.size());
      for (int i = 0; i < files.size(); i++)
        translated_names.push_back(strdup(TranslateName(files[i]).c_str()));
    
      bool result;
      if (status == nullptr) {
        result = ops_->paths_exist(filesystem_.get(), translated_names.data(),
                                   files.size(), nullptr);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  4. tensorflow/c/env.cc

      auto* list = new TF_StringStream;
      list->list = tmpdirs;
      list->position = 0;
      return list;
    }
    
    char* TF_GetTempFileName(const char* extension) {
      return strdup(::tensorflow::io::GetTempFilename(extension).c_str());
    }
    
    TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void) {
      return ::tensorflow::Env::Default()->NowNanos();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      if (TF_GetCode(status) != TF_OK) return -1;
      auto stream = gcs_file->gcs_client.ReadObject(
          bucket, object, gcs::ReadRange(offset, offset + buffer_size));
      TF_SetStatusFromGCSStatus(stream.status(), status);
      if ((TF_GetCode(status) != TF_OK) &&
          (TF_GetCode(status) != TF_OUT_OF_RANGE)) {
        return -1;
      }
      int64_t read;
      auto content_length = stream.headers().find("content-length");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental_test.cc

      // Load the library.
      TF_Status* status = TF_NewStatus();
      string lib_path =
          tensorflow::GetDataDependencyFilepath(tensorflow::io::JoinPath(
              "tensorflow", "c", "experimental", "stream_executor", "test",
              "test_pluggable_device.so"));
      TF_Library* lib = TF_LoadPluggableDeviceLibrary(lib_path.c_str(), status);
      TF_Code code = TF_GetCode(status);
      string status_msg(TF_Message(status));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
Back to top