code: def generate(self, **kwargs):
      raise NotImplementedError()
  
imports: from copy import deepcopy
  import torch
  import torch.nn
  from graph4nlp.pytorch.modules.prediction.generation.base import DecoderBase
label_desc: Use image node_id 2 for calling the StrategyBase obj's underlying member method code with example usage: obj.generate() without return types