nnet.keras.layer.FlattenCStyleLayerの実装方法
이전 댓글 표시
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.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!