このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
positionEmbeddingLayer
説明
位置埋め込み層は、シーケンシャル インデックスまたは空間インデックスをベクトルにマッピングします。トランスフォーマー ニューラル ネットワークでこの層を使用して、シーケンスまたはイメージにおけるデータの位置に関する情報を符号化します。
作成
構文
説明
は、位置埋め込み層を作成し、layer
= positionEmbeddingLayer(outputSize
,maxPosition
)OutputSize
プロパティと MaxPosition
プロパティを設定します。
は、位置埋め込み層を作成し、1 つ以上の名前と値の引数を使用して、layer
= positionEmbeddingLayer(outputSize
,maxPosition
,Name=Value
)PositionDimension
、Name
、パラメーターと初期化、および学習率および正則化の各プロパティを設定します。
プロパティ
例
アルゴリズム
参照
[1] Gehring, Jonas, Michael Auli, David Grangier, Denis Yarats, and Yann N. Dauphin. "Convolutional Sequence to Sequence Learning." In Proceedings of the 34th International Conference on Machine Learning - Volume 70, 1243–52. ICML’17. Sydney, NSW, Australia: JMLR.org, 2017
[2] Glorot, Xavier, and Yoshua Bengio. "Understanding the Difficulty of Training Deep Feedforward Neural Networks." In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, 249–356. Sardinia, Italy: AISTATS, 2010. https://proceedings.mlr.press/v9/glorot10a/glorot10a.pdf
[3] He, Kaiming, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. "Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification." In 2015 IEEE International Conference on Computer Vision (ICCV), 1026–34. Santiago, Chile: IEEE, 2015. https://doi.org/10.1109/ICCV.2015.123
拡張機能
バージョン履歴
R2023b で導入