Skip to content
Snippets Groups Projects
Commit fdf975ee authored by François Bobot's avatar François Bobot
Browse files

Some documentation

parent ef2693b8
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ module Shape : sig ...@@ -11,6 +11,7 @@ module Shape : sig
val set : t -> int -> int -> t val set : t -> int -> int -> t
val row_major : t -> int array -> int val row_major : t -> int array -> int
val unrow_major : t -> int -> int array val unrow_major : t -> int -> int array
end end
module Tensor : sig module Tensor : sig
...@@ -129,7 +130,7 @@ type descr = ...@@ -129,7 +130,7 @@ type descr =
| Log of { input : node } | Log of { input : node }
and node = private { and node = private {
id : int; id : int; (* unique identifier *)
descr : descr; descr : descr;
shape : Shape.t; shape : Shape.t;
ty : ty; ty : ty;
...@@ -185,7 +186,8 @@ val pp : t Fmt.t ...@@ -185,7 +186,8 @@ val pp : t Fmt.t
val pp_debug : t Fmt.t val pp_debug : t Fmt.t
val create : node -> t val create : node -> t
(** Create a network from its output node *) (** Create a network from its output node,
it must have only one input *)
val output : t -> node val output : t -> node
(** Output node of the network *) (** Output node of the network *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment