getCustomClassType Class — pytorch Architecture
Architecture documentation for the getCustomClassType class in jit_type.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/core/jit_type.h lines 1800–1816
template <typename T>
struct getTypePtr_ final {
static decltype(auto) call() {
return ([]() {
try {
return getCustomClassType<T>();
} catch(const c10::Error&) {
TORCH_CHECK(
false,
"Type ",
c10::util::get_fully_qualified_type_name<T>(),
" could not be converted to any of the known types."
);
}
}());
}
};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free