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

Method setWidth

mlmodel/src/LayerShapeConstraints.cpp:874–876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

872}
873
874void ShapeConstraint::setWidth(size_t val) {
875 _widthRange.setValue(val);
876}
877
878bool ShapeConstraint::isValid() const {
879 return true; // we can't create one that is invalid

Callers 15

shapeConvolutionLayerMethod · 0.80
shapePoolingLayerMethod · 0.80
shapeEmbeddingLayerMethod · 0.80
shapeBroadcastLayerMethod · 0.80
shapeDotLayerMethod · 0.80
shapeReduceLayerMethod · 0.80
shapeReshapeLayerMethod · 0.80
shapeFlattenLayerMethod · 0.80
shapeSliceLayerMethod · 0.80

Calls 1

setValueMethod · 0.45