TorchWarningsFilter
- class lib.logger.TorchWarningsFilter
Bases:
objectFilter compilation warnings from Torch out of the console, but allow them to exist in the log
Methods Summary
filter(record)Filter specific Torch compile warnings from the console
Methods Documentation
- filter(record: LogRecord) bool
Filter specific Torch compile warnings from the console
- Parameters:
record (LogRecord) – The incoming log record to check for filtering
- Return type:
Trueif the record should be displayed
- filter(record: LogRecord) bool
Filter specific Torch compile warnings from the console
- Parameters:
record (LogRecord) – The incoming log record to check for filtering
- Return type:
Trueif the record should be displayed