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

回答 (1 件)

Isha
Isha 約21時間 前
編集済み: Isha 約21時間 前

0 投票

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

編集済み:

約21時間 前

Community Treasure Hunt

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

Start Hunting!