python: the number is not float type

from __future__ import division


kernel = t.ones(3,3)/-9

kernel[1][1] = 8/9

kernel

猜你喜欢

转载自blog.csdn.net/doublechenchenchen/article/details/80914310
今日推荐