mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-22 06:08:46 +00:00
Chain#pop does not return tuples
This commit is contained in:
parent
a779f86941
commit
fbb1fcb8ff
|
@ -496,7 +496,7 @@ class Chain(ContextModule):
|
||||||
"""
|
"""
|
||||||
self.insert(-1, module)
|
self.insert(-1, module)
|
||||||
|
|
||||||
def pop(self, index: int = -1) -> Module | tuple[Module]:
|
def pop(self, index: int = -1) -> Module:
|
||||||
"""Pop a module from the chain at the given index.
|
"""Pop a module from the chain at the given index.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
|
Loading…
Reference in a new issue