Get some layers in a pytorch model that is not defined by nn.Sequential

后端 未结 0 1743
长情又很酷
长情又很酷 2021-02-07 13:34

I have a network defined below.

class model_dnn_2(nn.Module):
    def __init__(self):
        super(model_dnn_2, self).__init__()
        self.flatten = Flatten()         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题