MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / operator==

Function operator==

src/shape.cpp:740–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738}
739
740bool operator==(const shape::dynamic_dimension& x, const shape::dynamic_dimension& y)
741{
742 // don't check optimals if both are fixed
743 return (x.min == y.min and x.max == y.max and
744 ((x.is_fixed() and y.is_fixed()) or (x.optimals == y.optimals)));
745}
746
747bool operator!=(const shape::dynamic_dimension& x, const shape::dynamic_dimension& y)
748{

Callers

nothing calls this directly

Calls 4

is_fixedMethod · 0.80
dynamicMethod · 0.80
lensMethod · 0.80
typeMethod · 0.45

Tested by

no test coverage detected