code: def set_optimizer(self, optimizer):
      self.optimizer = optimizer
  
file_path: singa/examples/cifar_distributed_cnn/model/cnn.py
imports: from singa import layer
  from singa import model
label_desc: Use image node_id 4 for calling the CNN obj's underlying member method code with example usage: obj.set_optimizer(optimizer) without return types