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

Method upperBoundBatch

mlmodel/src/LayerShapeConstraints.cpp:797–799  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

795}
796
797void ShapeConstraint::upperBoundBatch(size_t val) {
798 _batchRange = _batchRange.intersect(ShapeRange(0, val));
799}
800
801void ShapeConstraint::upperBoundChannel(size_t val) {
802 _channelRange = _channelRange.intersect(ShapeRange(0, val));

Callers

nothing calls this directly

Calls 3

intersectMethod · 0.80
isUnboundMethod · 0.80
ShapeRangeClass · 0.70

Tested by

no test coverage detected