class_docstr: Subclass of NeuralStackModel which implements a double-ended queue.
    
class_docstr_tok: ["Subclass","of","NeuralStackModel","which","implements","a","double-ended","queue","."]
docstr: Build a NeuralDequeCell instead of a NeuralStackCell.
  
  Args:
    hidden_size: The hidden size of the cell.
  
  Returns:
    A new NeuralDequeCell with the given hidden size.
docstr_tok: ["Build","a","NeuralDequeCell","instead","of","a","NeuralStackCell",".","Args",":","hidden_size",":","The","hidden","size","of","the","cell",".","Returns",":","A","new","NeuralDequeCell","with","the","given","hidden","size","."]
code: def cell(self, hidden_size):
      """Build a NeuralDequeCell instead of a NeuralStackCell.
  
      Args:
        hidden_size: The hidden size of the cell.
  
      Returns:
        A new NeuralDequeCell with the given hidden size.
      """
      return NeuralDequeCell(
          hidden_size,
          self._hparams.memory_size,
          self._hparams.embedding_size,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  from tensor2tensor.layers import common_hparams
  from tensor2tensor.layers import common_layers
  from tensor2tensor.utils import contrib
  from tensor2tensor.utils import registry
  from tensor2tensor.utils import t2t_model
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the NeuralDequeModel obj's underlying member method code with example usage: obj.cell(hidden_size) and returns: NeuralDequeCell