'Return the representation of \'self\' in the given memory space.'

def get(self, where='host'):

    if (where not in self._targets):
        raise ValueError(('"%s"    is    not    a    valid    target' % where))
    self._sync(where)
    if (where == 'host'):
        return self._host
    elif (where == 'gpu'):
        return self._gpu
    else:
        raise ValueError(('unknown    memory    space    "%s"' % where))
