Skip to content
class

ComplexAbsBackward

ComplexAbsBackward

Instance methods

2
fn

apply

int apply(int grad_out)

z itself, for z / |z|, is saved by value in saved_inputs_[0].

fn

apply_for_graph

int apply_for_graph(const int & grad_out)

The same g * z / |z| from tracked ops, for create_graph=True.