Team Ai
Datasetpublic

Brunobkr/llama.cpp_AlgMor24_github

ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3kdownloads
stats.h63 linesDownload Raw Back to src
1/*!2  Copyright 2013 Lovell Fuller and others.3  SPDX-License-Identifier: Apache-2.04*/5 6#ifndef SRC_STATS_H_7#define SRC_STATS_H_8 9#include <string>10#include <vector>11#include <napi.h>12 13#include "./common.h"14 15struct ChannelStats {16  // stats per channel17  int min;18  int max;19  double sum;20  double squaresSum;21  double mean;22  double stdev;23  int minX;24  int minY;25  int maxX;26  int maxY;27 28  ChannelStats(int minVal, int maxVal, double sumVal, double squaresSumVal,29    double meanVal, double stdevVal, int minXVal, int minYVal, int maxXVal, int maxYVal):30    min(minVal), max(maxVal), sum(sumVal), squaresSum(squaresSumVal),  // NOLINT(build/include_what_you_use)31    mean(meanVal), stdev(stdevVal), minX(minXVal), minY(minYVal), maxX(maxXVal), maxY(maxYVal) {}32};33 34struct StatsBaton {35  // Input36  sharp::InputDescriptor *input;37 38  // Output39  std::vector<ChannelStats> channelStats;40  bool isOpaque;41  double entropy;42  double sharpness;43  int dominantRed;44  int dominantGreen;45  int dominantBlue;46 47  std::string err;48 49  StatsBaton():50    input(nullptr),51    isOpaque(true),52    entropy(0.0),53    sharpness(0.0),54    dominantRed(0),55    dominantGreen(0),56    dominantBlue(0)57    {}58};59 60Napi::Value stats(const Napi::CallbackInfo& info);61 62#endif  // SRC_STATS_H_63 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai