//libinfo.py
# coding: utf-8
"""Information about mxnet."""
from __future__ import absolute_import
import os
import platform
def find_lib_path():
"""Find MXNet dynamic library files.
Returns
-------
lib_path : list(string)
List of all found path to the libraries
"""
//__file__ 是用来获得模块所在的路径的,这可能得到的是一个相对路径
//[os.path.dirname()](http://http://blog.csdn.net/lxjames833539/article/details/5251608)
//os.path.expanduser()把path中包含的
MxNet源码解析-libinfo.py
最新推荐文章于 2023-07-15 17:24:19 发布