MCPcopy Index your code
hub / github.com/huggingface/diffusers / get_caption_projection_dim

Function get_caption_projection_dim

scripts/convert_sd3_to_diffusers.py:263–265  ·  view source on GitHub ↗
(state_dict)

Source from the content-addressed store, hash-verified

261
262
263def get_caption_projection_dim(state_dict):
264 caption_projection_dim = state_dict["context_embedder.weight"].shape[0]
265 return caption_projection_dim
266
267
268def main(args):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…