pytorch_pfn_extras.training.extensions.util.TextIO#
- class pytorch_pfn_extras.training.extensions.util.TextIO(*args, **kwds)#
Bases:
IO
[str
]Typed version of the return of open() in text mode.
Methods
__init__
()close
()fileno
()flush
()isatty
()read
([n])readable
()readline
([limit])readlines
([hint])seek
(offset[, whence])seekable
()tell
()truncate
([size])writable
()write
(s)writelines
(lines)Attributes
closed
mode
name
- abstract property buffer: BinaryIO#
- abstract property encoding: str#
- abstract property errors: Optional[str]#
- abstract property line_buffering: bool#
- abstract property newlines: Any#