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

回答(1 个)

Isha
Isha about 6 hours 前
编辑:Isha about 6 hours 前
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.

类别

帮助中心File Exchange 中查找有关 图像深度学习 的更多信息

标签

提问:

tao
2026-5-13,13:01

编辑:

about 6 hours 前

Community Treasure Hunt

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

Start Hunting!