Introduction

Tutorials

Developer guide

API Reference

public ViPosEmbeddingparametric type

ViPosEmbedding(embedsize::Integer, npatches::Integer; init = (dims::Dims{2}) -> rand(Float32, dims))

Positional embedding layer used by many vision transformer-like models.