Skip to content

Commit

Permalink
Cleanup SequenceEmbedEncoder
Browse files Browse the repository at this point in the history
  • Loading branch information
w4nderlust committed Apr 20, 2020
1 parent 0b8dbb1 commit 236a83f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ludwig/models/modules/sequence_encoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def __init__(
pretrained_embeddings=None,
embeddings_on_cpu=False,
initializer=None,
reduce_output='sum',
regularizer=None,
dropout_rate=0,
reduce_output='sum',
**kwargs
):
"""
Expand Down Expand Up @@ -210,7 +210,7 @@ def call(

hidden = reduce_sequence(embedded_sequence, self.reduce_output)

return hidden #, embedding_size # todo tf2 code cleanup
return hidden


class ParallelCNN(object):
Expand Down

0 comments on commit 236a83f

Please sign in to comment.