def setup(self):
    nn = self.options['vec_size']
    self.add_input(name='x', val=np.ones(nn), units=None, training_data=x_bp)
    self.add_output(name='y', val=np.zeros(nn), units=None, training_data=y_data)
def setup(self):
    nn = self.options['vec_size']
    self.add_input(name='x', val=np.ones(nn), units=None, training_data=x_bp)
    self.add_output(name='y', val=np.zeros(nn), units=None, training_data=y_data)