package owl-base

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file owl_types_computation_engine.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/types/owl_types_computation_engine.ml"
(*
 * OWL - OCaml Scientific Computing
 * Copyright (c) 2016-2022 Liang Wang <liang@ocaml.xyz>
 *)

module type Sig = sig
  module Graph : Owl_computation_graph_sig.Sig

  open Graph
  open Graph.Optimiser.Operator.Symbol.Shape.Type

  (** {5 Core evaluation functions of the engine} *)

  val eval_arr : arr array -> unit
  (** Execute actual computation included in each CGraph element (of output type ndarray) in an array. *)

  val eval_elt : elt array -> unit
  (** Execute actual computation included in each CGraph element (of output type float) in an array. *)

  val eval_graph : graph -> unit
  (** Execute actual computation of a computation graph. *)
  
end