调用BNNSFilterCreateConvolutionLayer
(并传入BNNSConvolutionLayerParameters
)后,是否可以更改过滤器中的权重?
现在我有:
BNNSConvolutionLayerParameters layer_params;
bzero(&layer_params, sizeof(layer_params));
layer_params.weights.data = ....
...
... = BNNSFilterCreateConvolutionLayer(..., &layer_params, ...)
但我希望能够更改layer_params.weights.data
指向的缓冲区,同时必须销毁并重新创建(BNNSFilterCreateConvolutionLayer
)BNNSFilter
。