Graph

class ivy.compiler.graph.Graph(name, fn, *args, stateful=None, arg_stateful_idxs=None, kwarg_stateful_idxs=None, include_generators=True, with_array_caching=True, **kwargs)[source]

Bases: object

__init__(name, fn, *args, stateful=None, arg_stateful_idxs=None, kwarg_stateful_idxs=None, include_generators=True, with_array_caching=True, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

add_fn_to_dict(pid, fn)[source]
add_param(pid, ptype, tree_height, is_var=False, shape=None)[source]
compiled(time_chronological=True)[source]
connect(output_connected_only=True)[source]
debug_info()[source]
get_param(pid)[source]
get_param_recursive(pid, depth, receiving_fn=None)[source]
property include_generators
increment_param_count(pid)[source]
log_all_ops()[source]
params_all_empty()[source]
save_debug_info(fname)[source]
set_param(pid, value)[source]
show(save_to_disk=False, with_edge_labels=True, with_arg_labels=True, with_output_labels=True, output_connected_only=True, randomness_factor=0.1, highlight_subgraph=None, cv2_labels=True, fname=None)[source]
show_debug_info()[source]
update_inference_times(name, delta)[source]
property with_array_caching