graph

zfit.util.graph.all_parents(op, current_obs=None)[source]
zfit.util.graph.get_dependents_auto(tensor: tensorflow.python.framework.ops.Tensor, candidates: List[tensorflow.python.framework.ops.Tensor]) → List[tensorflow.python.framework.ops.Tensor][source]

Return the nodes in candidates that tensor depends on.

Parameters
  • () (candidates) –

  • ()