函式 torch_tensorrt::logging::set_is_colored_output_on¶
定義於 檔案 logging.h
函式文件¶
-
TORCHTRT_API void torch_tensorrt::logging::set_is_colored_output_on(bool colored_output_on)¶
設定日誌字首是否著色(除錯時很有幫助,但並非所有終端都支援)
- 引數
colored_output_on – 布林值 - 輸出是否著色
定義於 檔案 logging.h
設定日誌字首是否著色(除錯時很有幫助,但並非所有終端都支援)
colored_output_on – 布林值 - 輸出是否著色