Is Class — pytorch Architecture
Architecture documentation for the Is class in infer_schema.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/core/op_registration/infer_schema.h lines 46–56
template <typename... Ts, size_t... Is>
constexpr std::array<ArgumentDef, sizeof...(Ts)> createArgumentVectorFromTypes(std::index_sequence<Is...> /*unused*/) {
return (
// Check types for common errors
checkStaticTypes<Ts...>(),
// Create the return value
std::array<ArgumentDef, sizeof...(Ts)>{
ArgumentDef(&getTypePtrCopy<std::decay_t<Ts>>, &getFakeTypePtrCopy<std::decay_t<Ts>>)...}
);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free