注意,一般官方接口都帶有可導(dǎo)功能,如果你實(shí)現(xiàn)的層不具有可導(dǎo)功能,就需要自己實(shí)現(xiàn)梯度的反向傳遞。 官方Linear層: class Linear(Module): def __init__(se
億速云公眾號(hào)
手機(jī)網(wǎng)站二維碼
Copyright ? Yisu Cloud Ltd. All Rights Reserved. 2018 版權(quán)所有
廣州億速云計(jì)算有限公司粵ICP備17096448號(hào) 粵公網(wǎng)安備 44010402001142號(hào)增值電信業(yè)務(wù)經(jīng)營(yíng)許可證編號(hào):B1-20181529