MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / n_patch_size

Method n_patch_size

external/ggml/examples/sam/sam.cpp:48–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 int32_t n_img_size() const { return 1024; }
47 int32_t n_window_size() const { return 14; }
48 int32_t n_patch_size() const { return 16; }
49 int32_t n_img_embd() const { return n_img_size() / n_patch_size(); }
50
51 std::vector<int32_t> global_attn_indices() const {

Callers 1

sam_model_loadFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected