CrossEntropyLoss ()名字为交叉熵损失函数,不用于one_hotted编码形式 ... CrossEntropyLoss()要求batch_x为Float,batch_y为LongTensor类型.
確定! 回上一頁