Skip to content

Commit 85dd2d3

Browse files
Support added for required_graaph_inputs to return only variable
1 parent 9f7ea3e commit 85dd2d3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pytensor/graph/basic.py

-1
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,6 @@ def graph_inputs(
907907
yield from (r for r in ancestors(graphs, blockers) if r.owner is None)
908908

909909

910-
# def required_graph_inputs(graph:Variable | Iterator[Variable])-> Generator[Variable, None, None]:
911910
def required_graph_inputs(
912911
graph: Variable[Any, Any] | Iterable[Variable[Any, Any]],
913912
) -> list[Variable[Any, Any]]:

0 commit comments

Comments
 (0)