| 6678 | } |
| 6679 | |
| 6680 | static void sam3_normalize_ne4(const int64_t input_ne[4], int64_t ne[4]) { |
| 6681 | for (int i = 0; i < 4; ++i) { |
| 6682 | ne[i] = (input_ne && input_ne[i] > 0) ? input_ne[i] : 1; |
| 6683 | } |
| 6684 | } |
| 6685 | |
| 6686 | static struct ggml_tensor * sam3_new_f32_tensor_4d_from_ne(struct ggml_context * ctx, |
| 6687 | const int64_t ne[4]) { |
no outgoing calls
no test coverage detected