Loading

摘要: model = Model() model(input) 直接调用Model类中的forward(input)函数,因其实现了__call__ 举个例子 1 import math, random 2 import numpy as np 3 4 import torch 5 import torc 阅读全文
posted @ 2021-12-02 09:51 ArkiWang 阅读(653) 评论(0) 推荐(0) 编辑