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

Method upperBoundHeight

mlmodel/src/LayerShapeConstraints.cpp:805–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803}
804
805void ShapeConstraint::upperBoundHeight(size_t val) {
806 _heightRange = _heightRange.intersect(ShapeRange(0, val));
807}
808
809void ShapeConstraint::upperBoundWidth(size_t val) {
810 _widthRange = _widthRange.intersect(ShapeRange(0, val));

Callers 1

shapeConvolutionLayerMethod · 0.80

Calls 3

intersectMethod · 0.80
isUnboundMethod · 0.80
ShapeRangeClass · 0.70

Tested by

no test coverage detected