简体   繁体   English

Cupy说它已经实现了scipy的cg,但是安装时找不到cg(共轭梯度法)

[英]Cupy says it has scipy's cg implemented, but cannot find cg(conjugate gradient method) when installed

I am unable to find this https://docs.cupy.dev/en/latest/reference/generated/cupyx.scipy.sparse.linalg.cg.html#cupyx.scipy.sparse.linalg.cg after the installation of cupy. I am unable to find this https://docs.cupy.dev/en/latest/reference/generated/cupyx.scipy.sparse.linalg.cg.html#cupyx.scipy.sparse.linalg.cg after the installation of cupy .

It says module not found它说找不到模块

Can anyone help me?谁能帮我? I don't know what's wrong, but I have installed cupy via pip, and this library was supposed to be there, but its not present.我不知道出了什么问题,但我已经通过 pip 安装了 cupy,并且这个库应该在那里,但它不存在。

The module is available in CuPy v9 betas.该模块在 CuPy v9 测试版中可用。 (The v: latest docs are generated by the master branch.) Try pip install with --pre to include pre-releases. v: latest docs 由master分支生成。)尝试pip install --pre以包含预发布。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 fmin_cg在scipy中的梯度函数 - gradient function of fmin_cg in scipy SciPy共轭梯度优化在每次迭代后不调用回调方法 - SciPy Conjugate Gradient Optimisation not invoking callback method after each iteration Scipy Optimize:ValueError:在Newton-CG方法上设置具有序列的数组元素 - Scipy Optimize: ValueError: setting an array element with a sequence on Newton-CG method 如何将成本,grad作为scipy的fmin_cg函数的元组返回 - How to return cost, grad as tuple for scipy's fmin_cg function scipy.optimize.minimize即使二阶导数为负,牛顿-CG也会停止 - scipy.optimize.minimize Newton-CG stops even when second derivative is negative Matlab相当于Python scipy.optimize.fmin_cg - Matlab equivalent of Python scipy.optimize.fmin_cg 神经网络优化失败(使用 Scipy fmin_cg) - Neural net optimization failing (using Scipy fmin_cg) 使用SCIPY.OPTIMIZE.FMIN_CG提取Weibull分布参数 - Using SCIPY.OPTIMIZE.FMIN_CG to extract Weibull distribution parameters 当jac = False时,对Jacobian的近似值进行近似时,“Jacobian是Newton-CG方法所必需的”吗? - “Jacobian is required for Newton-CG method” when doing a approximation to a Jacobian not being used when jac=False? 如何在Python中调用scipy.optimize.fmin_cg(func)的函数 - How to call function for scipy.optimize.fmin_cg(func) in Python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM