class_docstr: UnivNet Generator
  
  Originally from https://github.com/mindslab-ai/univnet/blob/master/model/generator.py.
class_docstr_tok: ["UnivNet","Generator","Originally","from","https",":","\/\/github.com\/mindslab-ai\/univnet\/blob\/master\/model\/generator.py","."]
code: def remove_weight_norm(self):
      parametrize.remove_parametrizations(self.conv_pre, "weight")
  
      for layer in self.conv_post:
          if len(layer.state_dict()) != 0:
              parametrize.remove_parametrizations(layer, "weight")
  
      for res_block in self.res_stack:
          res_block.remove_weight_norm()
  
imports: from dataclasses import dataclass
  from enum import Enum
  from typing import Callable, Optional
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.nn.utils.parametrize
label_desc: Use image node_id 4 for calling the UnivNetGenerator obj's underlying member method code with example usage: obj.remove_weight_norm() without return types