LLM-Maroc / llama.cpp /ggml /src /ggml-cuda /cross-entropy-loss.cuh
kaisser's picture
Upload folder using huggingface_hub
305a42c verified
raw
history blame contribute delete
251 Bytes
#include "common.cuh"
#define CUDA_CROSS_ENTROPY_LOSS_BLOCK_SIZE 256
void ggml_cuda_cross_entropy_loss(ggml_backend_cuda_context & ctx, ggml_tensor * dst);
void ggml_cuda_cross_entropy_loss_back(ggml_backend_cuda_context & ctx, ggml_tensor * dst);