| 733 | } |
| 734 | |
| 735 | void ShapeConstraint::updateBatchRange(const ShapeRange& other) { |
| 736 | try { |
| 737 | _batchRange = _batchRange.intersect(other); |
| 738 | } |
| 739 | catch (std::runtime_error& e) { |
| 740 | std::string err = "Invalid batch range in blob " + _name + ". " + e.what(); |
| 741 | throw std::runtime_error(err); |
| 742 | } |
| 743 | } |
| 744 | |
| 745 | void ShapeConstraint::updateChannelRange(const ShapeRange& other) { |
| 746 | try { |
no test coverage detected