class_docstr: MpMaxPoolingMatch.
class_docstr_tok: ["MpMaxPoolingMatch","."]
docstr: Build.
docstr_tok: ["Build","."]
code: def build(self, input_shapes):
      """Build."""
      d = input_shapes[0][-1]
      self.kernel = self.add_weight(
          name="kernel",
          shape=(1, 1, 1, self.mp_dim, d),
          initializer="uniform",
          trainable=True,
      )
      self.built = True
  
imports: import tensorflow
  from keras import backend
  from keras.engine import Layer
  from matchzoo.contrib.layers.attention_layer import AttentionLayer
label_desc: Use image node_id 2 for calling the MpMaxPoolingMatch obj's underlying member method code with example usage: obj.build(input_shapes) without return types