MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / hash

Class hash

tensorflow/core/lib/hash/hash.h:134–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132// The second type argument is only used for SFNIAE below.
133template <typename T, typename = void>
134struct hash {
135 size_t operator()(const T& t) const { return std::hash<T>()(t); }
136};
137
138template <typename T>
139struct hash<T, typename std::enable_if<std::is_enum<T>::value>::type> {

Callers 15

__hash__Method · 0.85
__hash__Method · 0.85
__hash__Method · 0.85
test_hashMethod · 0.85
testV1V2EqualMethod · 0.85
__hash__Method · 0.85
__hash__Method · 0.85
testEqualityMethod · 0.85
__hash__Method · 0.85
__hash__Method · 0.85

Calls

no outgoing calls

Tested by 13

test_hashMethod · 0.68
testV1V2EqualMethod · 0.68
testEqualityMethod · 0.68
__hash__Method · 0.68
methodMethod · 0.68
testHashMethod · 0.68
testHashMethod · 0.68
test_literalsMethod · 0.68
testNotHashableMethod · 0.68