code: def create(img_rows, img_cols, img_channels, num_classes):
      
      def instantiate(**_):
          return Net(img_rows, img_cols, img_channels, num_classes)
      return ModelFactory.generic(instantiate)
docs: Vel factory function