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

Method setLower

mlmodel/src/LayerShapeConstraints.cpp:418–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416
417
418void ShapeRange::setLower(size_t val) {
419 if (isValid(val)) {
420 _minimum.set(val);
421 }
422 else {
423 std::stringstream ss;
424 ss << "Invalid setLower " << val << " for range: " << *this << "\n";
425 throw std::runtime_error(ss.str());
426 }
427}
428
429void ShapeRange::setLower(const RangeValue& val) {
430

Callers 8

operator+Method · 0.80
operator-Method · 0.80
operator*Method · 0.80
operator/Method · 0.80
divideAndRoundUpMethod · 0.80
intersectMethod · 0.80
unifyMethod · 0.80
testShapeRangeFunction · 0.80

Calls 2

setMethod · 0.65
strMethod · 0.45

Tested by 1

testShapeRangeFunction · 0.64