Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果MPSCNNConvolutionDataSource协议的load方法返回 false 会发生什么?系统会抛出错误还是卷积层会默默地失败?如果它静默失败,我怎么知道它失败了?
MPSCNNConvolutionDataSource
load
它触发了一个断言:
/BuildRoot/Library/Caches/com.apple.xbs/Sources/MetalImage/MetalImage-121.4.3/ MPSNeuralNetwork/Filters/MPSCNNConvolution.mm:1605: failed assertion `[MPSCNNConvolution initWithDevice:convolutionDescriptor:weights:] weights.load should return YES'