Does neural network custom layer is supported by Matlab Coder?
1 view (last 30 days)
First, I'd like to know whether or not custom layers in neural network are supported in Matlab Coder ? (I couldn't find anything stated in the documentation)
Second, I'd like to implenet a matrix multipllication layer (A layer which is exacly like tensorflow matrix multiplication from here). I'd like to know if such an implenentation is supported using custom layer (I think it does, but what is the best & easy way to start?)
Jaya Shankar on 28 May 2019
No, MATLAB coder doesn't support code generation for custom layers. The layers supported for code generation are documented here https://www.mathworks.com/help/coder/ug/networks-and-layers-supported-for-c-code-generation.html