MCPcopy Create free account
hub / github.com/evilsocket/cake / name

Method name

cake-core/src/models/sd/sd.rs:91–100  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

89 }
90
91 pub(crate) fn name(&self) -> &'static str {
92 match *self {
93 ModelFile::Tokenizer => "tokenizer",
94 ModelFile::Tokenizer2 => "tokenizer_2",
95 ModelFile::Clip => "clip",
96 ModelFile::Clip2 => "clip2",
97 ModelFile::Unet => "unet",
98 ModelFile::Vae => "vae",
99 }
100 }
101}
102
103pub struct SD {

Callers 3

loadMethod · 0.45
load_modelMethod · 0.45

Calls

no outgoing calls

Tested by 1