code: def __init__(self, perceptron_size=100, num_classes=10):
      super(MLP, self).__init__()
      self.num_classes = num_classes
      self.dimension = 2
  
      self.relu = layer.ReLU()
      self.linear1 = layer.Linear(perceptron_size)
      self.linear2 = layer.Linear(num_classes)
      self.softmax_cross_entropy = layer.SoftMaxCrossEntropy()
  
file_path: singa/examples/malaria_cnn/model/mlp.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 1 to create a new MLP object from inherited base classes: model with example: obj = MLP(perceptron_size, num_classes)