This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Q is a two digit value, while C , P , and A are one digit values. 3. Liu and Gibson, Chapter 3, Problem 29 4. A perceptron element in a neural network computes the inner product of its weight vector and its input vector, then checks whether the result is at or above a threshold to determine its output. Write an 8086 instruction to implement the following pseudocode for a perceptron. Let weight and input be byte variables (arrays) and let output be a byte variable. Assume that all other variables are word variables. Let all variables hold signed integers. accum for j 0 to numin 1 accum accum + weight j input j if accum theta then output 1 else output 1...
View Full Document
- Fall '08