Lines Matching refs:weight
61 RunTimeOperandInfo *weight = GetInput(operation, operands, kWeightTensor);
63 NN_CHECK_EQ(NumDimensions(weight), 1);
64 NN_CHECK_EQ(SizeOfDimension(weight, 0), SizeOfDimension(input, 0));
79 // Compute sign bit of dot product of hash(seed, input) and weight.
85 const RunTimeOperandInfo* weight, float seed) {
103 if (weight->lifetime == OperandLifeTime::NO_VALUE) {
106 score += reinterpret_cast<float*>(weight->buffer)[i] * running_value;
115 const RunTimeOperandInfo* weight, int32_t* out_buf) {
122 int bit = running_sign_bit(input, weight, seed);
131 const RunTimeOperandInfo* weight, int32_t* out_buf) {
137 int bit = running_sign_bit(input, weight, seed);