_pairwise_distances_reduction import PairwiseDistancesArgKmin
ImportError: DLL load failed while importing_pairwise_distances_reduction: The specified module could not be found.我很难解决这个问题,搜索"_pairwise_distances_reduction“不会返回有帮助的结果。有什么我应该安装的东西吗?
但我得到了 NameError: name 'Reduction' is not defined 我正在使用TF 1.13。predictions = pred, scope=None, reduction=Reduction.SUM_BY_NONZERO_WEIGHTS)
return reg_loss 有人能帮我解决这个问题吗?
我可以使用reduction而不是!$ CRITICAL,但它给出了相同的错误。在程序中也使用了几个大的和稀疏的矩阵,但在循环期间是被动的/不使用的。$omp parallel do default(none) shared(nelm,A,enod) private(ie,fe,edof,B) reduction(+:res2)
do ie