mirror of
https://github.com/gryf/coach.git
synced 2025-12-19 12:18:00 +01:00
Added num_transitions to Memory interface (#137)
This commit is contained in:
committed by
Gal Leibovich
parent
3e281b467b
commit
436b16016e
@@ -72,3 +72,9 @@ class Memory(object):
|
|||||||
|
|
||||||
def set_memory_backend(self, memory_backend: MemoryBackend):
|
def set_memory_backend(self, memory_backend: MemoryBackend):
|
||||||
self.memory_backend = memory_backend
|
self.memory_backend = memory_backend
|
||||||
|
|
||||||
|
def num_transitions(self) -> int:
|
||||||
|
"""
|
||||||
|
Get the number of transitions in the ER
|
||||||
|
"""
|
||||||
|
raise NotImplementedError("")
|
||||||
|
|||||||
Reference in New Issue
Block a user