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

Method copyFromNoBatchSeq

mlmodel/src/LayerShapeConstraints.cpp:787–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785}
786
787void ShapeConstraint::copyFromNoBatchSeq(const ShapeConstraint& other) {
788 _channelRange = _channelRange.intersect(other.channelRange());
789 _heightRange = _heightRange.intersect(other.heightRange());
790 _widthRange = _widthRange.intersect(other.widthRange());
791}
792
793void ShapeConstraint::upperBoundSequence(size_t val) {
794 _sequenceRange = _sequenceRange.intersect(ShapeRange(0, val));

Callers

nothing calls this directly

Calls 1

intersectMethod · 0.80

Tested by

no test coverage detected