We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c26a6c commit 468a458Copy full SHA for 468a458
pytensor/graph/basic.py
@@ -1115,12 +1115,12 @@ def truncated_graph_inputs(
1115
1116
1117
def clone(
1118
- inputs: List[Variable],
1119
- outputs: List[Variable],
+ inputs: Sequence[Variable],
+ outputs: Sequence[Variable],
1120
copy_inputs: bool = True,
1121
copy_orphans: Optional[bool] = None,
1122
clone_inner_graphs: bool = False,
1123
-) -> Tuple[Collection[Variable], Collection[Variable]]:
+) -> Tuple[List[Variable], List[Variable]]:
1124
r"""Copies the sub-graph contained between inputs and outputs.
1125
1126
Parameters
0 commit comments