Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/coremltools
/ isValid
Method
isValid
mlmodel/src/LayerShapeConstraints.cpp:409–411 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
407
408
409
bool ShapeRange::isValid(size_t val) const {
410
return (_minimum <= val) && (_maximum >= val);
411
}
412
413
bool ShapeRange::isValid(const RangeValue& val) const {
414
return (_minimum <= val) && (_maximum >= val);
Callers
4
testValidCrop2
Function · 0.45
testSimpleNNShape
Function · 0.45
testSimple1DConv
Function · 0.45
testShapeRange
Function · 0.45
Calls
no outgoing calls
Tested by
4
testValidCrop2
Function · 0.36
testSimpleNNShape
Function · 0.36
testSimple1DConv
Function · 0.36
testShapeRange
Function · 0.36