sig
  val read_weights : string -> float array
  val save_weights : float array -> string -> unit
end