Liking cljdoc? Tell your friends :D
Clojure only.

org.apache.clojure-mxnet.visualization


plot-networkclj

(plot-network sym shape-map)
(plot-network sym
              shape-map
              {:keys [title node-attrs hide-weights]
               :as opts
               :or {title "plot" hide-weights true}})

convert symbol to Dot object for visualization

  • symbol symbol to be visualized

  • title title of the dot graph

  • shape-map Map of shapes, str -> shape, given input shapes

  • node-attrs Map of node's attributes for example: {:shape "oval" :fixedsize "false"}

  • hide-weight if true (default) then inputs with names like *_weight or *_bias will be hidden returns Dot object of symbol

convert symbol to Dot object for visualization
-  symbol symbol to be visualized
-  title title of the dot graph
-  shape-map Map of shapes, str -> shape, given input shapes
- node-attrs Map of node's attributes
               for example: {:shape "oval" :fixedsize "false"}

- hide-weight      if true (default) then inputs with names like `*_weight`
               or `*_bias` will be hidden
returns Dot object of symbol
raw docstring

renderclj

(render dot filename path)
(render dot engine format filename path)

Render file with Graphviz engine into format.

  • dot the dot file from plot-network function
  • engine The layout commmand used for rendering ('dot', 'neato', ...).
  • format The output format used for rendering ('pdf', 'png', ...).
  • filename Name of the DOT source file to render.
  • path Path to save the Dot source file.
 Render file with Graphviz engine into format.
- dot the dot file from plot-network function
- engine The layout commmand used for rendering ('dot', 'neato', ...).
- format The output format used for rendering ('pdf', 'png', ...).
- filename Name of the DOT source file to render.
-  path Path to save the Dot source file.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close