Skip to content

Commit 308969c

Browse files
Fix docstring formatting in fgraph_to_python
1 parent d10eafa commit 308969c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

aesara/link/utils.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -688,28 +688,28 @@ def fgraph_to_python(
688688
squeeze_output: bool = False,
689689
**kwargs,
690690
) -> Callable:
691-
"""Convert a ``FunctionGraph`` into a regular Python function.
691+
"""Convert a `FunctionGraph` into a regular Python function.
692692
693693
Parameters
694694
==========
695695
fgraph
696-
The ``FunctionGraph`` to convert.
696+
The `FunctionGraph` to convert.
697697
op_conversion_fn
698-
A callable used to convert nodes inside `fgraph` based on their ``Op``
698+
A callable used to convert nodes inside `fgraph` based on their `Op`
699699
types. It must have the signature
700700
``(op: Op, node: Apply=None, storage_map: Dict[Variable, List[Optional[Any]]]=None, **kwargs)``.
701701
type_conversion_fn
702702
A callable used to convert the values in `storage_map`. It must have
703703
the signature
704704
``(value: Optional[Any], variable: Variable=None, storage: List[Optional[Any]]=None, **kwargs)``.
705705
order
706-
The ``order`` argument to ``map_storage``.
706+
The `order` argument to `map_storage`.
707707
input_storage
708-
The ``input_storage`` argument to ``map_storage``.
708+
The `input_storage` argument to `map_storage`.
709709
output_storage
710-
The ``output_storage`` argument to ``map_storage``.
710+
The `output_storage` argument to `map_storage`.
711711
storage_map
712-
The ``storage_map`` argument to ``map_storage``.
712+
The `storage_map` argument to `map_storage`.
713713
fgraph_name
714714
The name used for the resulting function.
715715
global_env
@@ -722,7 +722,7 @@ def fgraph_to_python(
722722
A function used to provide names for the objects referenced within the
723723
generated function.
724724
squeeze_output
725-
If the ``FunctionGraph`` has only one output and this option is
725+
If the `FunctionGraph` has only one output and this option is
726726
``True``, return the single output instead of a tuple with the output.
727727
**kwargs
728728
The remaining keywords are passed to `python_conversion_fn`

0 commit comments

Comments
 (0)