to_dot

plaidml.tile.to_dot(inputs, outputs, updates=None, name='Tile')[source]

Translates a chain of tensor computations to a DOT graph.

Parameters:
  • inputs ([(name, Value)]) – Provides names for computation inputs.
  • outputs ([(name, Value)]) – The outputs to use for deriving the graph.
  • updates ([(original, updates)]) – Side-effect updates that are part of the computations.
  • name (str) – The name to use for the graph, or None.
Yields:

The strings comprising the lines of the DOT graph.