def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def testWrapperV2Build(self, wrapper):
    cell = rnn_cell_impl.LSTMCell(10)
    wrapper = wrapper(cell)
    wrapper.build((1,))
    self.assertTrue(cell.built)