Parent classes: DiskFile
A PipeFile
is a particular File
which is able to perform basic read/write operations
on a command pipe. It implements all methods described in DiskFile
and File
.
The file might be open in read or write mode, depending on the parameter
mode
(which can take the value 'r'
or 'w'
)
given to the torch.PipeFile(fileName, mode)
. Read-write mode is not allowed.