HomeSort by relevance Sort by last modified time
    Searched refs:VectorWrapper (Results 1 - 2 of 2) sorted by null

  /external/libtextclassifier/common/
embedding-network.h 128 class VectorWrapper {
130 VectorWrapper() : VectorWrapper(nullptr, 0) {}
134 // the lifetime of this VectorWrapper object. That's trivially true if data
136 VectorWrapper(const float *data, int size) : data_(data), size_(size) {}
149 typedef std::vector<VectorWrapper> Matrix;
236 std::vector<VectorWrapper> hidden_bias_;
240 VectorWrapper softmax_bias_;
embedding-network.cc 54 (*mat)[r] = EmbeddingNetwork::VectorWrapper(weights, source_matrix.cols);
60 // Initializes a VectorWrapper object with the parameters from the MatrixParams
66 EmbeddingNetwork::VectorWrapper *vector) {
80 *vector = EmbeddingNetwork::VectorWrapper(weights, source_matrix.rows);
88 const EmbeddingNetwork::VectorWrapper &b,

Completed in 3200 milliseconds