Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/showlab/Show-o
/ inference_mmu.py
File
inference_mmu.py
inference_mmu.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# coding=utf-8
2
# Copyright 2024 NUS Show Lab.
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
Callers
nothing calls this directly
Calls
15
get_config
Function · 0.90
flatten_omega_conf
Function · 0.90
UniversalPrompting
Class · 0.90
CLIPVisionTower
Class · 0.90
image_transform
Function · 0.90
create_attention_mask_for_mmu_vit
Function · 0.90
create_attention_mask_for_mmu
Function · 0.90
to
Method · 0.80
get_code
Method · 0.80
copy
Method · 0.80
append_message
Method · 0.80
get_prompt
Method · 0.80
Tested by
no test coverage detected