收起
你这个filters不可能是一个纯数字的tensor吧.如果你想转类型, torch有Tensor.int(), Tensor.double()这种内置的类型如果想装numpy, 可以用detach().cpu()
报告相同问题?