RuntimeError shape mismatch value tensor of shape 160 10 cannot be broadcast to indexing result of shape 160 5什么错误
这个错误表示尝试将形状为[160,10]的值张量广播到形状为[160,5]的索引结果上,两者的形状不匹配。可能是在对张量进行索引或切片操作时出现了问题。
原文地址: https://www.cveoy.top/t/topic/bDjn 著作权归作者所有。请勿转载和采集!