Beispiel #1
0
 def __init__(self, input_nodes, output_nodes, sess, encoder):
     T2T.__init__(
         self,
         input_nodes=input_nodes,
         output_nodes=output_nodes,
         sess=sess,
         encoder=encoder,
     )
Beispiel #2
0
    def __init__(self, input_nodes, output_nodes, sess, encoder):

        T2T.__init__(
            self,
            input_nodes=input_nodes,
            output_nodes=output_nodes,
            sess=sess,
            encoder=encoder,
            translation_model=True,
        )