MCPcopy Create free account
hub / github.com/apple/coremltools / operator+

Method operator+

mlmodel/src/LayerShapeConstraints.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35RangeValue RangeValue::operator+ (size_t other) const {
36 RangeValue retval;
37 if (!_isUnbound)
38 retval.set(_val + other);
39 return retval;
40}
41
42RangeValue RangeValue::operator+ (int other) const {
43 if (other < 0)

Callers

nothing calls this directly

Calls 8

RangeValueClass · 0.85
isUnboundMethod · 0.80
setLowerMethod · 0.80
setUpperMethod · 0.80
minimumMethod · 0.80
maximumMethod · 0.80
setMethod · 0.65
valueMethod · 0.45

Tested by

no test coverage detected