lhs Class — pytorch Architecture
Architecture documentation for the lhs class in Dict_inl.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/core/Dict_inl.h lines 188–197
template <class Key_, class Value_>
bool operator==(const Dict<Key_, Value_>& lhs, const Dict<Key_, Value_>& rhs) {
// Dicts with the same identity trivially compare equal.
if (lhs.impl_ == rhs.impl_) {
return true;
}
// Otherwise compare the values
return *lhs.impl_ == *rhs.impl_;
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free