📜  检查 cudann - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:39.962000             🧑  作者: Mango

代码示例1
function lib_installed() { /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) 2>/dev/null | grep $1; }
function check() { lib_installed $1 && echo "$1 is installed" || echo "ERROR: $1 is NOT installed"; }
check libcudnn