create Class — pytorch Architecture
Architecture documentation for the create class in type_factory.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/core/type_factory.h lines 17–23
template <typename T, typename... Args>
static c10::DynamicTypePtr create(TypePtr ty, Args&&... args) {
return std::make_shared<c10::DynamicType>(
c10::DynamicTypeTrait<T>::tagValue(),
c10::DynamicType::Arguments(c10::ArrayRef<c10::TypePtr>(
{std::move(ty), std::forward<Args>(args)...})));
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free