Added ListGroup class for better management of a group of objects.

This commit is contained in:
Alec Helbling
2022-04-18 23:56:31 -04:00
parent 0febbe547d
commit 05f512f185
19 changed files with 424 additions and 71 deletions

View File

@ -6,8 +6,9 @@ import numpy as np
class TripletLayer(NeuralNetworkLayer):
"""Shows triplet images"""
def __init__(self, anchor, positive, negative, stroke_width=5):
super().__init__()
def __init__(self, anchor, positive, negative, stroke_width=5,
**kwargs):
super().__init__(**kwargs)
self.anchor = anchor
self.positive = positive
self.negative = negative