chromium/third_party/libaom/source/libaom/av1/encoder/av1_ml_partition_models.h

/*
 * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

#ifndef AOM_AV1_ENCODER_AV1_ML_PARTITION_MODELS_H_
#define AOM_AV1_ENCODER_AV1_ML_PARTITION_MODELS_H_

#ifdef __cplusplus
extern "C" {
#endif

#include "av1/encoder/ml.h"

// TODO(kyslov): Replace with proper weights after training AV1 models

#define FEATURES
static const float av1_var_part_nn_weights_64_layer0[FEATURES * 8] =;

static const float av1_var_part_nn_bias_64_layer0[8] =;

static const float av1_var_part_nn_weights_64_layer1[8] =;

static const float av1_var_part_nn_bias_64_layer1[1] =;

static const float av1_var_part_means_64[FEATURES] =;
static const float av1_var_part_vars_64[FEATURES] =;

static const NN_CONFIG av1_var_part_nnconfig_64 =;

static const float av1_var_part_nn_weights_32_layer0[FEATURES * 8] =;

static const float av1_var_part_nn_bias_32_layer0[8] =;

static const float av1_var_part_nn_weights_32_layer1[8] =;

static const float av1_var_part_nn_bias_32_layer1[1] =;

static const float av1_var_part_means_32[FEATURES] =;

static const float av1_var_part_vars_32[FEATURES] =;

static const NN_CONFIG av1_var_part_nnconfig_32 =;

static const float av1_var_part_nn_weights_16_layer0[FEATURES * 8] =;

static const float av1_var_part_nn_bias_16_layer0[8] =;

static const float av1_var_part_nn_weights_16_layer1[8] =;

static const float av1_var_part_nn_bias_16_layer1[1] =;

static const float av1_var_part_means_16[FEATURES] =;

static const float av1_var_part_vars_16[FEATURES] =;

static const NN_CONFIG av1_var_part_nnconfig_16 =;

#undef FEATURES

#ifdef __cplusplus
}  // extern "C"
#endif

#endif  // AOM_AV1_ENCODER_AV1_ML_PARTITION_MODELS_H_