diff options
Diffstat (limited to 'libffwd/model_internal.h')
| -rw-r--r-- | libffwd/model_internal.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libffwd/model_internal.h b/libffwd/model_internal.h deleted file mode 100644 index aeea52e..0000000 --- a/libffwd/model_internal.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef FFWD_MODEL_INTERNAL_H -#define FFWD_MODEL_INTERNAL_H - -#include "model_types.h" -#include "alloc.h" - -/* Validate F32 dtype, exact dimensions, byte count, and mapped-file bounds. */ -int tensor_has_supported_shape(const safetensors_file_t *sf, - const safetensor_t *t, - const char *name, - const int64_t *shape, - int ndim); - -int ensure_buffers(ffwd_workspace_t *ws, const ffwd_config_t *cfg, int seq); -void ensure_attention_scores(ffwd_workspace_t *ws, const int *offsets, int batch); - -#endif /* FFWD_MODEL_INTERNAL_H */ |
