-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove superfluous Ndarray module alias
- Loading branch information
Showing
8 changed files
with
36 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
open Codecs_intf | ||
|
||
module Ndarray = Owl.Dense.Ndarray.Generic | ||
|
||
module ArrayToArray : sig | ||
val parse | ||
: ('a, 'b) Util.array_repr -> | ||
arraytoarray -> | ||
(unit, [> error]) result | ||
val compute_encoded_size : int -> arraytoarray -> int | ||
val compute_encoded_representation | ||
: arraytoarray -> | ||
('a, 'b) Util.array_repr -> | ||
(('a, 'b) Util.array_repr, [> error]) result | ||
val encode | ||
: arraytoarray -> | ||
('a, 'b) Ndarray.t -> | ||
(('a, 'b) Ndarray.t, [> error]) result | ||
val decode | ||
: arraytoarray -> | ||
('a, 'b) Ndarray.t -> | ||
(('a, 'b) Ndarray.t, [> error]) result | ||
val compute_encoded_representation : | ||
arraytoarray -> | ||
('a, 'b) Util.array_repr -> | ||
(('a, 'b) Util.array_repr, [> error]) result | ||
val encode : | ||
arraytoarray -> | ||
('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t -> | ||
(('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t, [> error]) result | ||
val decode : | ||
arraytoarray -> | ||
('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t -> | ||
(('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t, [> error]) result | ||
val of_yojson : Yojson.Safe.t -> (arraytoarray, string) result | ||
val to_yojson : arraytoarray -> Yojson.Safe.t | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
open Codecs_intf | ||
|
||
module Ndarray = Owl.Dense.Ndarray.Generic | ||
|
||
module ArrayToBytes : sig | ||
val parse | ||
: ('a, 'b) Util.array_repr -> | ||
array_tobytes -> | ||
(unit, [> error]) result | ||
val compute_encoded_size : int -> array_tobytes -> int | ||
val default : array_tobytes | ||
val encode | ||
: ('a, 'b) Ndarray.t -> | ||
array_tobytes -> | ||
(string, [> error]) result | ||
val decode | ||
: string -> | ||
('a, 'b) Util.array_repr -> | ||
array_tobytes -> | ||
(('a, 'b) Ndarray.t, [> error]) result | ||
val encode : | ||
('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t -> | ||
array_tobytes -> | ||
(string, [> error]) result | ||
val decode : | ||
string -> | ||
('a, 'b) Util.array_repr -> | ||
array_tobytes -> | ||
(('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t, [> error]) result | ||
val of_yojson : Yojson.Safe.t -> (array_tobytes, string) result | ||
val to_yojson : array_tobytes -> Yojson.Safe.t | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters