Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
GS::MASt3R::MASt3REncoderConfigV2
Inherits
Struct
<
Value
<
Object
Configuration for MASt3R encoder v2
Constructors
new
(img_size :
Int32
= 512, patch_size :
Int32
= 16, in_channels :
Int32
= 3, embed_dim :
Int32
= 1024, depth :
Int32
= 24, num_heads :
Int32
= 16, mlp_ratio :
Float32
= 4.0_f32)
Source
Instance methods
depth
Source
depth=
(depth :
Int32
)
Source
embed_dim
Source
embed_dim=
(embed_dim :
Int32
)
Source
img_size
Source
img_size=
(img_size :
Int32
)
Source
in_channels
Source
in_channels=
(in_channels :
Int32
)
Source
mlp_ratio
Source
mlp_ratio=
(mlp_ratio :
Float32
)
Source
num_heads
Source
num_heads=
(num_heads :
Int32
)
Source
num_patches
Source
patch_size
Source
patch_size=
(patch_size :
Int32
)
Source