def METHOD_NAME(self, name: str, input: str, builder):
    """
    Serializes the module using a NeuralNetworkBuilder.
    """
    wave2vec2_emb_name = f'{name}_wave2vec2_emb'
    builder.add_embedding(wave2vec2_emb_name, self.mask_emb.weight.data.numpy(),
                          None,
                          self.context_encoder_input_dim, self.mask_width,
                          has_bias=False, input_name=input, output_name=wave2vec2_emb_name)
    wave2vec2_lin_name = f'{name}_wave2vec2_lin'
    builder.add_inner_product(wave2vec2_lin_name, self.project_q.weight.data.numpy(),
                              self.project_q.bias.data.numpy(),
                              self.context_encoder_input_dim, self.final_dim,
                              has_bias=True, input_name=input, output_name=wave2vec2_lin_name)
    return name