Powered by 吴恩达机器学习入门
展开参数
牛刀小试
我们来实现以下参数展开
def flatten_matrix(x): if not isinstance(x, type(np.array([]))): x = np.array(x) return x.flatten()