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

Respuestas (1)

Isha
Isha hace alrededor de 6 horas
Editada: Isha hace alrededor de 6 horas
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.

Categorías

Etiquetas

Preguntada:

tao
el 13 de Mayo de 2026 a las 13:01

Editada:

hace alrededor de 6 horas

Community Treasure Hunt

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

Start Hunting!