Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
owl_top.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
(* * OWL - OCaml Scientific Computing * Copyright (c) 2016-2022 Liang Wang <liang@ocaml.xyz> *) let printers = [ "Owl.Dense.Ndarray.Generic.pp_dsnda" ; "Owl.Neural.S.Graph.pp_network" ; "Owl.Neural.D.Graph.pp_network" ; "Owl.Algodiff.S.pp_num" ; "Owl.Algodiff.D.pp_num" ; "Owl.Graph.pp_node" ; "Owl.Nlp.Vocabulary.pp_vocab" ; "Owl_pretty.pp_dataframe" ; "Owl_stats_sampler.pp_t" ; "Owl_stats.pp_hist" ] let eval cmd = cmd |> Lexing.from_string |> !Toploop.parse_toplevel_phrase |> Toploop.execute_phrase true Format.err_formatter |> ignore let install_printers printers = List.iter (fun printer -> Printf.sprintf "#install_printer %s;;" printer |> eval) printers let () = install_printers printers