def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def testWrapperV2Build(self, wrapper):
    cell = rnn_cell_impl.LSTMCell(10)
    wrapper = wrapper(cell)
    wrapper.build((1,))
    self.assertTrue(cell.built)