class_docstr: DUET Model.
  
  Examples:
      >>> model = DUET()
      >>> model.params['embedding_input_dim'] = 1000
      >>> model.params['embedding_output_dim'] = 300
      >>> model.params['lm_filters'] = 32
      >>> model.params['lm_hidden_sizes'] = [64, 32]
      >>> model.params['dropout_rate'] = 0.5
      >>> model.params['dm_filters'] = 32
      >>> model.params['dm_kernel_size'] = 3
      >>> model.params['dm_d_mpool'] = 4
      >>> model.params['dm_hidden_sizes'] = [64, 32]
      >>> model.guess_and_fill_missing_params(verbose=0)
      >>> model.build()
class_docstr_tok: ["DUET","Model",".","Examples",":",">",">",">","model","=","DUET","(",")",">",">",">","model.params","[","'embedding_input_dim","'","]","=","1000",">",">",">","model.params","[","'embedding_output_dim","'","]","=","300",">",">",">","model.params","[","'lm_filters","'","]","=","32",">",">",">","model.params","[","'lm_hidden_sizes","'","]","=","[","64",",","32","]",">",">",">","model.params","[","'dropout_rate","'","]","=","0.5",">",">",">","model.params","[","'dm_filters","'","]","=","32",">",">",">","model.params","[","'dm_kernel_size","'","]","=","3",">",">",">","model.params","[","'dm_d_mpool","'","]","=","4",">",">",">","model.params","[","'dm_hidden_sizes","'","]","=","[","64",",","32","]",">",">",">","model.guess_and_fill_missing_params","(","verbose=0",")",">",">",">","model.build","(",")"]
code: def _hadamard_dot(cls, x):
      x1 = x[0]
      x2 = x[1]
      out = x1 * x2
      return out
  
file_path: MatchZoo/matchzoo/models/duet.py
imports: import keras
  import tensorflow
  from matchzoo.engine import hyper_spaces
  from matchzoo.engine.base_model import BaseModel
  from matchzoo.engine.param import Param
label_desc: Use image node_id 4 for calling the DUET obj's underlying member method code with example usage: obj._hadamard_dot(cls, x) and returns: out