Skip to content

Commit

Permalink
Update interaction.py
Browse files Browse the repository at this point in the history
浅梦 authored Jul 10, 2019
1 parent 37eae73 commit 1404f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepctr/layers/interaction.py
Original file line number Diff line number Diff line change
@@ -1039,6 +1039,6 @@ def compute_output_shape(self, input_shape):
return (None, 1, filed_size*(filed_size-1)//2 * embedding_size)

def get_config(self, ):
config = {'type': self.bilinear_type, 'seed': self.seed}
config = {'bilinear_type': self.bilinear_type, 'seed': self.seed}
base_config = super(BilinearInteraction, self).get_config()
return dict(list(base_config.items()) + list(config.items()))
return dict(list(base_config.items()) + list(config.items()))

0 comments on commit 1404f0d

Please sign in to comment.