gsyyysg / StockFormer

PyTorch implementation for Paper "StockFormer: Learning Hybrid Trading Machines with Predictive Coding".
219 stars 54 forks source link

反向传播是如何做的? #19

Open SheldonLiu0412 opened 1 month ago

SheldonLiu0412 commented 1 month ago

代码中TRM模型的反向传播是定义在哪里的?如果是用的torch本身的反向传播,那优化前向传播以后是否还需要对应修改?