added shape to entity
This commit is contained in:
@@ -6,6 +6,7 @@ from status import Status
|
||||
|
||||
class Entity:
|
||||
def __init__(self, shape: tuple[int, int], params: RbmParams):
|
||||
self.shape = shape
|
||||
self.state = RbmState.from_layer_params(shape)
|
||||
self.params = params
|
||||
|
||||
|
||||
Reference in New Issue
Block a user