def METHOD_NAME(self, rhs):
    # relay the payload of rhs to current stateful tensor
    # can't support null relay right now
    assert not rhs.is_null()
    # now this function only support stateful tensor that has zero-length payload
    # because it doesn't require memory manager updating
    # you can extend this function by yourself
    assert self.payload_size == 0
    self._payload = rhs.payload
    self._payload_size = rhs.payload_size
    self._state = TensorState.HOLD
    self.__trans_state_update(rhs.state, TensorState.HOLD)
    rhs.__release()