Home / Class/ typeName Class — pytorch Architecture

typeName Class — pytorch Architecture

Architecture documentation for the typeName class in jit_utils.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/native/cuda/jit_utils.h lines 180–189

template <typename T>
inline std::string typeName() {
  // we can't use static_assert(false) directly as the
  // program will be not compiled even if the template is not
  // instantiated, so we use `delayed_false`
  // to make sure compiler doesn't eagerly raise
  // fail this assertion.
  static_assert(delayed_false<T>::value, "invalid type for jiterator");
  return "void";
}

Analyze Your Own Codebase

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

Try Supermodel Free