Home / Class/ unary_op_impl_out Class — pytorch Architecture

unary_op_impl_out Class — pytorch Architecture

Architecture documentation for the unary_op_impl_out class in UnaryOps.cpp from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/native/UnaryOps.cpp lines 404–409

template <typename Stub>
static inline Tensor& unary_op_impl_out(Tensor& result, const Tensor& self, Stub& stub) {
  auto iter = TensorIterator::unary_op(result, self);
  stub(iter.device_type(), iter);
  return result;
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free