MCPcopy Create free account
hub / github.com/apple/coremltools / value

Method value

mlmodel/src/LayerShapeConstraints.cpp:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23{}
24
25size_t RangeValue::value() const {
26 if (_isUnbound)
27 throw std::runtime_error("Attempting to access unbound size_t val from RangeVal.");
28 return _val;
29}
30
31bool RangeValue::isUnbound() const {
32 return _isUnbound;

Callers 15

handleContainerFunction · 0.45
operator==Function · 0.45
operator+Method · 0.45
operator*Method · 0.45
operator-Method · 0.45
operator/Method · 0.45
divideAndRoundUpMethod · 0.45
operator<Method · 0.45
operator<=Method · 0.45
operator>Method · 0.45
operator>=Method · 0.45
setMethod · 0.45

Calls

no outgoing calls

Tested by 8

testValidCrop2Function · 0.36
testSimple1DConvFunction · 0.36
testUpwardPassFunction · 0.36
testRangeValFunction · 0.36
testRangeValDivideFunction · 0.36
testShapeRangeFunction · 0.36