Home / Class/ isBaseType Class — pytorch Architecture

isBaseType Class — pytorch Architecture

Architecture documentation for the isBaseType class in type_factory.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/core/type_factory.h lines 63–69

template <
    typename T,
    typename... Args,
    std::enable_if_t<!DynamicTypeTrait<T>::isBaseType, int> = 0>
C10_ERASE DynamicTypePtr dynT(Args&&... args) {
  return DynamicTypeFactory::create<T>(std::forward<Args>(args)...);
}

Analyze Your Own Codebase

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

Try Supermodel Free