函式 torch_tensorrt::logging::log¶ 定義於 檔案 logging.h 函式文件¶ TORCHTRT_API void torch_tensorrt::logging::log(Level lvl, std::string msg)¶ 將訊息新增到全域性日誌。 引數 lvl – torch_tensorrt::logging::Level - 訊息的嚴重級別 msg – std::string - 要記錄的訊息