is_same_v Class — pytorch Architecture
Architecture documentation for the is_same_v class in infer_schema.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/core/op_registration/infer_schema.h lines 87–92
template<class ReturnType>
struct createReturns<ReturnType, std::enable_if_t<!std::is_same_v<void, ReturnType> && !guts::is_instantiation_of<std::tuple, ReturnType>::value>> final {
static constexpr std::array<ArgumentDef, 1> call() {
return createReturns<std::tuple<ReturnType>>::call();
}
};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free