Could I use the nn.Con2d Module directly in forward function with out stating in init ?  e.g.
class MyModel(nn.Module):
    def __init__(self):
        super(MyModel, self).__init__()
        self.act = nn.ReLU()
        
    def forward(self, x):
        x= nn.Conv2d(3, 6, 3, 1, 1)(x)
        x = self.act(x)
        return x


Could this still be learnable while training?