package owl

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

Module Owl_parallel.Make_DistributedSource

Parameters

module M : Ndarray
module E : Mapre_Engine

Signature

Sourcetype distr_arr = {
  1. mutable id : string;
  2. mutable shape : int array;
  3. mutable c_start : int array;
  4. mutable c_len : int array;
  5. mutable workers : string array;
}
Sourceval make_distr_arr : string -> int array -> int array -> int array -> string array -> distr_arr
Sourceval shape : distr_arr -> int array
Sourceval num_dims : distr_arr -> int
Sourceval numel : distr_arr -> int
Sourceval divide_to_chunks : int array -> int -> (int * int) array
Sourceval distributed_create_basic : (int array -> int -> int -> 'a) -> int array -> distr_arr
Sourceval distributed_create : (int array -> 'a) -> int array -> distr_arr
Sourceval init : int array -> (int -> M.elt) -> distr_arr
Sourceval create : int array -> M.elt -> distr_arr
Sourceval zeros : int array -> distr_arr
Sourceval ones : int array -> distr_arr
Sourceval sequential : ?_a:'a -> ?_step:'b -> 'c -> 'd option
Sourceval uniform : ?a:float -> ?b:float -> int array -> distr_arr
Sourceval gaussian : 'a -> 'b option
Sourceval calc_index_owner : int -> int array -> int array -> int
Sourceval get : distr_arr -> int array -> 'a
Sourceval set : distr_arr -> int array -> M.elt -> unit
Sourceval map_chunk : ('a -> 'b) -> distr_arr -> distr_arr
Sourceval map : (M.elt -> M.elt) -> distr_arr -> distr_arr
Sourceval map2_chunk : ('a -> 'a -> 'b) -> distr_arr -> distr_arr -> distr_arr
Sourceval map2 : (M.elt -> M.elt -> M.elt) -> distr_arr -> distr_arr -> distr_arr
Sourceval fold : (M.elt -> M.elt -> M.elt) -> distr_arr -> M.elt -> M.elt
Sourceval fill : 'a -> M.elt -> unit
Sourceval of_ndarray : 'a -> 'b option
Sourceval to_ndarray : distr_arr -> M.arr
Sourceval sum : distr_arr -> float
Sourceval min : 'a -> 'b option
Sourceval max : 'a -> 'b option