'Sets this parameter\'s value on all contexts to data.'

def set_data(self, data):

    assert (self._data is not None), ('Parameter    %s    has    not    been    initialized' % self.name)
    for arr in self.list_data():
        arr[:] = data
