code: def __init__(self, net):
      super().__init__()
      self.net = net
  
file_path: PaddleSeg/contrib/MedicalSeg/nnunet/export.py
imports: import argparse
  import os
  import pickle
  import sys
  import paddle
  import yaml
  from medicalseg.cvlibs import Config
  from medicalseg.utils import logger
  import nnunet
label_desc: Use image node_id 1 to create a new SavedSegmentationNet object from inherited base classes: paddle.nn with example: obj = SavedSegmentationNet(net)