#include "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_model.h"
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdint>
#include <cstring>
#include <limits>
#include <memory>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "base/feature_list.h"
#include "base/logging.h"
#include "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference.h"
#include "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference_beta.h"
#include "ui/events/ozone/features.h"
#define USE_EIGEN …
namespace ui {
namespace {
const std::string kBetaVersion = …;
}
alpha;
beta;
float OneDeviceTrainNeuralStylusPalmDetectionFilterModel::Inference(
const std::vector<float>& features) const { … }
const NeuralStylusPalmDetectionFilterModelConfig&
OneDeviceTrainNeuralStylusPalmDetectionFilterModel::config() const { … }
void OneDeviceTrainNeuralStylusPalmDetectionFilterModel::Initialize() { … }
OneDeviceTrainNeuralStylusPalmDetectionFilterModel::
OneDeviceTrainNeuralStylusPalmDetectionFilterModel(
const std::string& model_version,
const std::vector<float>& radius_poly) { … }
}