mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +00:00 
			
		
		
		
	gguf : add gguf_get_tensor_name()
This commit is contained in:
		
							
								
								
									
										4
									
								
								ggml.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								ggml.c
									
									
									
									
									
								
							@@ -18770,6 +18770,10 @@ size_t gguf_get_tensor_offset(struct gguf_context * ctx, int i) {
 | 
			
		||||
    return ctx->infos[i].offset;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
char * gguf_get_tensor_name(struct gguf_context * ctx, int i) {
 | 
			
		||||
    return ctx->infos[i].name.data;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
int ggml_cpu_has_avx(void) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user