def get_audiff_gradient(f, be, tensors):
 op_tree = f(be, *tensors)
 ad = Autodiff(op_tree, be)
 return ad

def get_audiff_gradient ( f , be , tensors ) : op_tree = f ( be , * tensors ) ad = Autodiff ( op_tree , be ) return ad
get autodiff gradient w .