Skip to content

Commit

Permalink
update keras core.
Browse files Browse the repository at this point in the history
  • Loading branch information
PatReis committed Sep 4, 2023
1 parent 2ba17b9 commit bfa1edb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kgcnn/layers_core/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ def __init__(self,
trainable=True,
)

def build(self, input_shape):
super(Embedding, self).build(input_shape)

def call(self, inputs):
return ops.take(self.embeddings, inputs)

def get_config(self):
return super(Embedding, self).get_config()

0 comments on commit bfa1edb

Please sign in to comment.