#include "components/assist_ranker/nn_classifier.h"
#include "base/check_op.h"
#include "components/assist_ranker/proto/nn_classifier.pb.h"
namespace assist_ranker {
namespace nn_classifier {
namespace {
RepeatedPtrField;
vector;
vector<float> FeedForward(const NNLayer& layer, const vector<float>& input) { … }
void Relu(vector<float>* const v) { … }
bool ValidateLayer(const NNLayer& layer) { … }
}
bool Validate(const NNClassifierModel& model) { … }
vector<float> Inference(const NNClassifierModel& model,
const vector<float>& input) { … }
}
}