matlab2024b,有Deep Learning Toolbox,函数或变量 'transform​erEncoderL​ayer' 无法识别是为什么

Antworten (1)

Isha
Isha vor etwa 22 Stunden
Bearbeitet: Isha vor etwa 21 Stunden

0 Stimmen

Hello,
This happens because “transformerEncoderLayer” is not available in your current environment.
The function belongs to Deep Learning Toolbox, and if MATLAB cannot find it (which returns empty), it means the function is not installed or not in your path Transformer Network Layers Creation Problem- missing toolbox? - MATLAB Answers - MATLAB Central
Hence, your Deep Learning Toolbox is either not updated or incomplete, so MATLAB cannot recognize the function.
Thanks.

Kategorien

Tags

Gefragt:

tao
am 13 Mai 2026 um 13:01

Bearbeitet:

vor etwa 21 Stunden

Community Treasure Hunt

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

Start Hunting!