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