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
22
23
24
# 1 "src/base/compute/owl_computation_optimiser_sig.ml"
(*
 * OWL - OCaml Scientific and Engineering Computing
 * Copyright (c) 2016-2018 Liang Wang <liang.wang@cl.cam.ac.uk>
 *)

(* 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

  (** {6 Core functions} *)

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

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


end