def METHOD_NAME(self, borrow=False, return_internal_type=False):
    """
    Get the non-symbolic value associated with this SharedVariable.
    Parameters
    ----------
    borrow : bool
        True to permit returning of an object aliased to internal memory.
    return_internal_type : bool
        True to permit the returning of an arbitrary type object used
        internally to store the shared variable.
    Only with borrow=False and return_internal_type=True does this function
    guarantee that you actually get the internal object.
    But in that case, you may get different return types when using
    different compute devices.
    """
    if borrow:
        return self.container.value
    else:
        return copy.deepcopy(self.container.value)