Example #1
0
 def _model_fn(self, X, y):
     return models.get_rnn_model(self.rnn_size, self.cell_type,
                                 self.num_layers,
                                 self.input_op_fn, self.bidirectional,
                                 models.linear_regression,
                                 self.sequence_length,
                                 self.initial_state)(X, y)
Example #2
0
 def _model_fn(self, X, y):
     return models.get_rnn_model(self.rnn_size, self.cell_type,
                                 self.num_layers, self.input_op_fn,
                                 self.bidirectional,
                                 models.linear_regression,
                                 self.sequence_length,
                                 self.initial_state)(X, y)
Example #3
0
 def _model_fn(self, X, y):
     return models.get_rnn_model(self.rnn_size, self.cell_type,
                                 self.num_layers,
                                 self.input_op_fn, self.bidirection,
                                 models.logistic_regression)(X, y)
Example #4
0
 def _model_fn(self, X, y):
     return models.get_rnn_model(self.rnn_size, self.cell_type,
                                 self.input_op_fn,
                                 models.linear_regression)(X, y)
Example #5
0
 def _model_fn(self, X, y):
     return models.get_rnn_model(self.rnn_size, self.cell_type,
                                 self.input_op_fn, self.bidirection,
                                 models.linear_regression)(X, y)