MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / is_same

Method is_same

dnn/test/cuda/cutlass_matmul.cpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35 struct Compare {
36 bool is_same(dt_float32 expected, dt_float32 actual) const {
37 return expected == actual;
38 }
39 };
40
41 // copy rhs->lhs, lhs is 8 times of rhs

Callers 5

tp_richcompareFunction · 0.45
is_same_stFunction · 0.45
is_samt_stFunction · 0.45
apply_opMethod · 0.45
operator==Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected