#include "components/assist_ranker/nn_classifier_test_util.h"
#include "components/assist_ranker/nn_classifier.h"
namespace assist_ranker {
namespace nn_classifier {
namespace {
RepeatedFieldBackInserter;
copy;
vector;
void CreateLayer(const vector<float>& biases,
const vector<vector<float>>& weights,
NNLayer* layer) { … }
}
NNClassifierModel CreateModel(const vector<float>& hidden_biases,
const vector<vector<float>>& hidden_weights,
const vector<float>& logits_biases,
const vector<vector<float>>& logits_weights) { … }
bool CheckInference(const NNClassifierModel& model,
const vector<float>& input,
const vector<float>& expected_scores) { … }
NNClassifierModel CreateXorClassifierModel() { … }
}
}