Source file owl_computation_optimiser_sig.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 1 "src/base/compute/owl_computation_optimiser_sig.ml"
(*
 * OWL - OCaml Scientific Computing
 * Copyright (c) 2016-2022 Liang Wang <liang@ocaml.xyz>
 *)

(* Functor of making the symbols of a computation graph. *)

module type Sig = sig
  module Operator : Owl_computation_operator_sig.Sig

  open Operator.Symbol.Shape.Type

  (** {5 Core functions} *)

  val estimate_complexity : 'a Owl_graph.node array -> int * int
  (** TODO *)

  val optimise_nodes : attr Owl_graph.node array -> unit
  (** TODO *)
end