Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiiny-AI/PowerInfer
/ resize
Method
resize
examples/llava/clip.cpp:204–208 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
202
size_t size = 0;
203
204
void resize(size_t size) {
205
delete[] data;
206
data = new uint8_t[size];
207
this->size = size;
208
}
209
210
~clip_buffer() { delete[] data; }
211
};
Callers
15
main
Function · 0.45
ggml_graph_compute_helper
Function · 0.45
init_model
Function · 0.45
init_model_lora
Function · 0.45
load_lora
Function · 0.45
apply_lora
Function · 0.45
export_lora
Function · 0.45
ggml_graph_compute_helper
Function · 0.45
clip_model_load
Function · 0.45
clip_model_quantize
Function · 0.45
main
Function · 0.45
beam_search_callback
Function · 0.45
Calls
no outgoing calls
Tested by
2
main
Function · 0.36
test_roundtrip_on_layer
Function · 0.36