mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
13 lines
282 B
C
13 lines
282 B
C
#ifndef TH_MEMORY_FILE_INC
|
|
#define TH_MEMORY_FILE_INC
|
|
|
|
#include "THFile.h"
|
|
#include "THStorage.h"
|
|
|
|
THFile *THMemoryFile_newWithStorage(THCharStorage *storage, const char *mode);
|
|
THFile *THMemoryFile_new(const char *mode);
|
|
|
|
THCharStorage *THMemoryFile_storage(THFile *self);
|
|
|
|
#endif
|