I cannot trace the model and get:
RuntimeError: Only tensors, lists, tuples of tensors, or dictionary of tensors can be output from traced functions

and scripting it yields:
RuntimeError: 
Expected integer literal for index:
  File "<ipython-input-194-4d44670bb81d>", line 254
        
        for n in range(0, 4):
            x = self.features[n](x)
                ~~~~~~~~~~~~~~~~ <--- HERE
        xs.append(x)