Function primitiv::functions::tensor_funcs::stop_gradient [] [src]

pub fn stop_gradient<T: AsRef<Tensor>>(x: T) -> Tensor