package tensorflow

  1. Overview
  2. Docs
type 'a t
val create : int -> 'a t

create output_dim creates a linear layer with output size output_dim.

val apply : ?activation:activation -> ?use_bias:bool -> [< `double | `float ] as 'a t -> 'a Node.t -> 'a Node.t
val vars : 'a t -> 'a Node.t list
OCaml

Innovation. Community. Security.