//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.youkuaiyun.com/lxjames833539/article/details/5251608)
//os.path.expanduser()把path中包含的"~"和"~use
MxNet源码解析-libinfo.py
最新推荐文章于 2020-10-28 15:53:37 发布