fea=fea_outdefget_feas_by_hook(model):“”“提取Conv2d後的feature,我們需要遍歷模型的module,然後找到Conv2d,把hook函式註冊到這個module上
003device=1args=hidden_size,n_layers,activation,dropout,aggregator,batch_s,num_workertrained_model=run(data,train_val_da