Пример #1
0
 def __init__(self, root_base_paras=None, root_rnn_paras=None):
     RootRnn.__init__(self, root_base_paras, root_rnn_paras)
     self.filename = "LSTM-1HL-sliding_{}-net_para_{}".format(
         root_base_paras["sliding"], [
             self.hidden_sizes, self.epoch, self.batch_size,
             self.learning_rate, self.activations, self.optimizer, self.loss
         ])
Пример #2
0
 def __init__(self, root_base_paras=None, root_rnn_paras=None):
     RootRnn.__init__(self, root_base_paras, root_rnn_paras)
     self.filename = "GRU-2HL-sliding_{}-{}".format(root_base_paras["sliding"], root_rnn_paras["paras_name"])