code: def _setup(self, delete=True):
          
          if delete:
              self.clear()
          with nn.context_scope(self.ctx):
              outputs = self.func(
                  *(self.inputs_f + self.func_args), **self.func_kwargs)
              if not hasattr(outputs, '__iter__'):
                  self.outputs = [outputs]
              else:
                  self.outputs = outputs
          self.func_ins = self.outputs[0].parent
          self.inputs = self.func_ins.inputs
docs: Create a function instance and execute setup.
  
          Args:
              delete (bool): Delete buffered variables.