class_docstr: CDSSM Model implementation.
  
  Learning Semantic Representations Using Convolutional Neural Networks
  for Web Search. (2014a)
  A Latent Semantic Model with Convolutional-Pooling Structure for
  Information Retrieval. (2014b)
  
  Examples:
      >>> model = CDSSM()
      >>> model.params['optimizer'] = 'adam'
      >>> model.params['filters'] =  32
      >>> model.params['kernel_size'] = 3
      >>> model.params['conv_activation_func'] = 'relu'
      >>> model.guess_and_fill_missing_params(verbose=0)
      >>> model.build()
class_docstr_tok: ["CDSSM","Model","implementation",".","Learning","Semantic","Representations","Using","Convolutional","Neural","Networks","for","Web","Search",".","(","2014a",")","A","Latent","Semantic","Model","with","Convolutional-Pooling","Structure","for","Information","Retrieval",".","(","2014b",")","Examples",":",">",">",">","model","=","CDSSM","(",")",">",">",">","model.params","[","'optimizer","'","]","=","'adam'",">",">",">","model.params","[","'filters","'","]","=","32",">",">",">","model.params","[","'kernel_size","'","]","=","3",">",">",">","model.params","[","'conv_activation_func","'","]","=","'relu'",">",">",">","model.guess_and_fill_missing_params","(","verbose=0",")",">",">",">","model.build","(",")"]
docstr: Build model structure.
  
  CDSSM use Siamese architecture.
docstr_tok: ["Build","model","structure",".","CDSSM","use","Siamese","architecture","."]
code: def build(self):
      """
      Build model structure.
  
      CDSSM use Siamese architecture.
      """
      base_network = self._create_base_network()
      # Left input and right input.
      input_left, input_right = self._make_inputs()
      # Process left & right input.
      x = [base_network(input_left), base_network(input_right)]
      # Dot product with cosine similarity.
      x = keras.layers.Dot(axes=[1, 1], normalize=True)(x)
      x_out = self._make_output_layer()(x)
      self._backend = Model(
          inputs=[input_left, input_right], outputs=x_out
      )
  
file_path: MatchZoo/matchzoo/models/cdssm.py
imports: import typing
  import keras
  from keras.models import Model
  from matchzoo.engine.base_model import BaseModel
  from matchzoo.engine.param import Param
  from matchzoo.engine.param_table import ParamTable
  from matchzoo import preprocessors
  from matchzoo.utils import TensorType
label_desc: Use image node_id 3 for calling the CDSSM obj's underlying member method code with example usage: obj.build() without return types