nnet.keras.layer.FlattenCStyleLayerの実装方法
Afficher commentaires plus anciens
importKerasLayersにより、kerasコードのResNet-RSアーキテクチャをインポートしています。
インポートの際、KerasのFlattenレイヤーはMATLAB上でnnet.keras.layer.FlattenCStyleLayerに対応するとされています:
インポートしたネットワークモデルをdeepnetworkdesignerによりmatlabコードに変換し、ライブエディターで表示させました。以下のような記載になっており、そのままではライブエディターの実行ができません。どうすればよいのでしょうか。
function layer = helperNnetKerasLayerFlattenCStyleLayer(name,inputNames,outputNames)
% スクリプトの実行前にこの関数を定義してください。
% この関数は、タイプ nnet.keras.layer.FlattenCStyleLayer の層を作成して返さなければなりません。
end
Output argument "layer" (and possibly others) not assigned a value in the execution with
"***.mat>helperNnetKerasLayerZeroPadding2dLayer" function.
Réponses (0)
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!