paddingIndex
An unsigned integer value that, if set, causes the layer to initialize the embedding vector at that index to zero.
Declaration
var paddingIndex: Int? { get }Discussion
If set, the layer won’t update the embedding vector at paddingIndex in the gradient pass.