Computation.Graph

This document is auto-generated for Owl’s APIs. #23 entries have been extracted.

Github: {Signature} {Implementation}

Type definition

type graph

TODO

Core functions

val shape_or_value : t -> string

TODO

source code

val graph_to_dot : graph -> string

TODO

source code

val graph_to_trace : graph -> string

TODO

source code

val save_graph : 'a -> string -> unit

TODO

source code

val load_graph : string -> 'a * 'b

TODO

source code

val collect_rvs : attr Owl_graph.node array -> attr Owl_graph.node array

TODO

source code

val invalidate_rvs : graph -> unit

TODO

source code

val make_graph : input:attr Owl_graph.node array -> output:attr Owl_graph.node array -> string -> graph

TODO

source code

val get_inputs : graph -> attr Owl_graph.node array

TODO

source code

val get_outputs : graph -> attr Owl_graph.node array

TODO

source code

val get_node_arr_val : attr Owl_graph.node -> A.arr

TODO

source code

val get_node_elt_val : attr Owl_graph.node -> A.elt

TODO

source code

val set_node_arr_val : attr Owl_graph.node -> value -> unit

TODO

source code

val set_node_elt_val : attr Owl_graph.node -> value -> unit

TODO

source code

val is_iopair_safe : 'a Owl_graph.node -> 'a Owl_graph.node -> bool

TODO

source code

val make_iopair : graph -> attr Owl_graph.node array -> attr Owl_graph.node array -> unit

TODO

source code

val update_iopair : graph -> unit

TODO

source code

val remove_unused_iopair : 'a Owl_graph.node array -> 'b array -> 'a Owl_graph.node array * 'b array

TODO

source code

val init_inputs : (attr Owl_graph.node -> value) -> graph -> unit

TODO

source code

val optimise : graph -> unit

TODO

source code