Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
GS::MASt3R::MASt3RDecoderConfig
Inherits
Struct
<
Value
<
Object
Configuration for MASt3R decoder
Constructors
new
(encoder_dim :
Int32
= 1024, embed_dim :
Int32
= 768, depth :
Int32
= 12, num_heads :
Int32
= 12, mlp_ratio :
Float32
= 4.0_f32, img_size :
Int32
= 512, patch_size :
Int32
= 16)
Source
Instance methods
depth
Source
depth=
(depth :
Int32
)
Source
embed_dim
Source
embed_dim=
(embed_dim :
Int32
)
Source
encoder_dim
Source
encoder_dim=
(encoder_dim :
Int32
)
Source
img_size
Source
img_size=
(img_size :
Int32
)
Source
mlp_ratio
Source
mlp_ratio=
(mlp_ratio :
Float32
)
Source
num_heads
Source
num_heads=
(num_heads :
Int32
)
Source
patch_size
Source
patch_size=
(patch_size :
Int32
)
Source