pixel_cnn_pp/linearize.py
def children_with_controls(op):
  """Returns children, counting control outputs as children. Assumes
  initialize_control_input has been called."""

  if not controls:
    initialize_control_outputs(op.graph)
  assert controls_graph == op.graph, ("graph changed, rerun "
                                      "initialize_control_outputs")
  result = set(op for out in op.outputs for op in out.consumers())
  result.update(controls.get(op))
  return nodesort(result)
Returns children, counting control outputs as children. Assumes
  initialize_control_input has been called.
Returns children, counting control outputs as children. Assumes
initialize_control_input has been called.
Returns children counting control outputs as children . Assumes initialize_control_input has been called .
def children_with_controls(op):
  if not controls:
    initialize_control_outputs(op.graph)
  assert controls_graph == op.graph, ("graph changed, rerun "
                                      "initialize_control_outputs")
  result = set(op for out in op.outputs for op in out.consumers())
  result.update(controls.get(op))
  return nodesort(result)
def children_with_controls ( op ) : if not controls : initialize_control_outputs ( op . graph ) assert controls_graph == op . graph , ( "graph changed, rerun " "initialize_control_outputs" ) result = set ( op for out in op . outputs for op in out . consumers ( ) ) result . update ( controls . get ( op ) ) return nodesort ( result )
Returns children, counting control outputs as children.
Returns children counting control outputs as children .
"""Returns children, counting control outputs as children. Assumes
  initialize_control_input has been called."""
op