Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果它们是渴望张量,如何从 keras 顺序模型(model.variables)更新变量?当我尝试分配给他们时,我收到一个错误,指出该对象没有属性“分配”。
“张量”在张量流中不可更新,变量是。要更新变量,请使用 variable.assign。