<commit_before>(*
 * OWL - an OCaml numerical library for scientific computing
 * Copyright (c) 2016-2017 <NAME> <<EMAIL>>
 *)

(** Lazy module
  The module is used to construct a computation graph explicitly for evaluation.
  The module can be used to simulate the lazy evaluation atop of OCaml. It can
  also be used for dataflow programming and supports incremental computation.
  If a variable is updated, only the subgraph depending on such variable will be
  evaluated.

  The module also tracks the reference of each node in the compuation graph and
  tries to reuse the allocated memory if possible. This mechanism avoids the
  overhead from memory allocation but may also cause extra computation in
  incremental compuation.
 *)

open Owl_types


module Make
  (A : Ndarray_Mutable)
  : sig


  (** {6 Type definition} *)

  type t
  (**
``t`` is an abstract type to represent an experssion, it is also an alias
for type ``node``. Type ``node`` is only for internal use in the module.
   *)<commit_msg>Fix minor typo (#180)<commit_after>(*
 * OWL - an OCaml numerical library for scientific computing
 * Copyright (c) 2016-2017 <NAME> <<EMAIL>>
 *)

(** Lazy module
  The module is used to construct a computation graph explicitly for evaluation.
  The module can be used to simulate the lazy evaluation atop of OCaml. It can
  also be used for dataflow programming and supports incremental computation.
  If a variable is updated, only the subgraph depending on such variable will be
  evaluated.

  The module also tracks the reference of each node in the compuation graph and
  tries to reuse the allocated memory if possible. This mechanism avoids the
  overhead from memory allocation but may also cause extra computation in
  incremental compuation.
 *)

open Owl_types


module Make
  (A : Ndarray_Mutable)
  : sig


  (** {6 Type definition} *)

  type t
  (**
``t`` is an abstract type to represent an expression, it is also an alias
for type ``node``. Type ``node`` is only for internal use in the module.
   *)
{'fraction_non_alphanumeric': 0.06256157635467981, 'fraction_numerical': 0.010344827586206896, 'mean_word_length': 3.7900943396226414, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5599858', 'n_tokens_mistral': 561, 'n_tokens_neox': 524, 'n_words': 295}