Skip to content
fn

records_graph

bool records_graph(const int & a, const int & other)

Whether the op about to run records a node — and so keeps a handle on a and on other, the second operand of a binary op. other is what makes buf.mul_(v) record a node when only v requires grad.