class_docstr: Encode a text sequence using a convolution model.
class_docstr_tok: ["Encode","a","text","sequence","using","a","convolution","model","."]
code: def embed(self, inputs, mask):
      word_embeddings = self.word_embedding_encoder.lookup(inputs)
      output = self.cnn_encoder.embed(word_embeddings, mask)
      return output
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  import utils
label_desc: Use image node_id 2 for calling the ConvTextEncoder obj's underlying member method code with example usage: obj.embed(inputs, mask) and returns: output