Home / Class/ unary_op_impl_float_out Class — pytorch Architecture

unary_op_impl_float_out Class — pytorch Architecture

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

Entity Profile

Source Code

aten/src/ATen/native/UnaryOps.cpp lines 411–416

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

Analyze Your Own Codebase

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

Try Supermodel Free