TensorIndex Class — pytorch Architecture
Architecture documentation for the TensorIndex class in TensorIndexing.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/TensorIndexing.h lines 135–136
template <class T, class = std::enable_if_t<std::is_same_v<bool, T>>>
TensorIndex(T boolean) : boolean_(boolean), type_(TensorIndexType::Boolean) {}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free