Skip to content

Commit

Permalink
Callback created advances #17
Browse files Browse the repository at this point in the history
  • Loading branch information
pab1s committed Apr 22, 2024
1 parent 74b3e63 commit 1c72b8d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Empty file added callbacks/__init__.py
Empty file.
15 changes: 15 additions & 0 deletions callbacks/callback.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
class Callback:
def should_continue(self) -> bool:
return True

def on_epoch_begin(self, epoch, logs=None) -> None:
pass

def on_epoch_end(self, epoch, logs=None) -> None:
pass

def on_train_begin(self, logs=None) -> None:
pass

def on_train_end(self, logs=None) -> None:
pass

0 comments on commit 1c72b8d

Please sign in to comment.