Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ hash
Function
hash
imperative/src/impl/ops/utility.cpp:224–227 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
222
}
223
224
auto hash(const OpDef& def) {
225
auto& op = def.cast_final_safe<ShapeInfer>();
226
return op.op->hash();
227
}
228
229
auto is_same_st(const OpDef& def, const OpDef& another) {
230
if (!another.same_type<ShapeInfer>()) {
Callers
15
hash
Method · 0.70
hash_many
Function · 0.70
update_hash
Function · 0.50
__hash__
Method · 0.50
__hash__
Method · 0.50
__hash__
Method · 0.50
__hash__
Method · 0.50
get_shape_hash
Function · 0.50
_op_sharding_hash
Method · 0.50
__hash__
Method · 0.50
__hash__
Method · 0.50
__hash__
Method · 0.50
Calls
3
hash_pair_combine
Function · 0.50
hash
Method · 0.45
get
Method · 0.45
Tested by
1
test_oprmm_hashable
Function · 0.40