How to use BINARY Cross Entropy function in a dlnet

I tried to calculate a binary cross-entropy by
perf = crossentropy(net,targets,outputs,perfWeights)
Yet it seems it supports a normal net only, not a dlnet for custom training.
Plus, if I just stacked up layers of a net without having trained it, how can I convert a layer object into a neural network object? Is it possible?
Futhermore, there is a CATEGORICAL cross-entropy function supporting dlnet, but that is not what I want
dlY = crossentropy(dlX,targets)
Thanks.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

질문:

2019년 11월 23일

편집:

2019년 11월 23일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by