@@ -688,28 +688,28 @@ def fgraph_to_python(
688
688
squeeze_output : bool = False ,
689
689
** kwargs ,
690
690
) -> Callable :
691
- """Convert a `` FunctionGraph` ` into a regular Python function.
691
+ """Convert a `FunctionGraph` into a regular Python function.
692
692
693
693
Parameters
694
694
==========
695
695
fgraph
696
- The `` FunctionGraph` ` to convert.
696
+ The `FunctionGraph` to convert.
697
697
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 `
699
699
types. It must have the signature
700
700
``(op: Op, node: Apply=None, storage_map: Dict[Variable, List[Optional[Any]]]=None, **kwargs)``.
701
701
type_conversion_fn
702
702
A callable used to convert the values in `storage_map`. It must have
703
703
the signature
704
704
``(value: Optional[Any], variable: Variable=None, storage: List[Optional[Any]]=None, **kwargs)``.
705
705
order
706
- The `` order`` argument to `` map_storage` `.
706
+ The `order` argument to `map_storage`.
707
707
input_storage
708
- The `` input_storage`` argument to `` map_storage` `.
708
+ The `input_storage` argument to `map_storage`.
709
709
output_storage
710
- The `` output_storage`` argument to `` map_storage` `.
710
+ The `output_storage` argument to `map_storage`.
711
711
storage_map
712
- The `` storage_map`` argument to `` map_storage` `.
712
+ The `storage_map` argument to `map_storage`.
713
713
fgraph_name
714
714
The name used for the resulting function.
715
715
global_env
@@ -722,7 +722,7 @@ def fgraph_to_python(
722
722
A function used to provide names for the objects referenced within the
723
723
generated function.
724
724
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
726
726
``True``, return the single output instead of a tuple with the output.
727
727
**kwargs
728
728
The remaining keywords are passed to `python_conversion_fn`
0 commit comments