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
This note was uploaded on 01/25/2012 for the course EE 3750 taught by Professor Desouza during the Fall '08 term at LSU.
 Fall '08
 DeSouza

Click to edit the document details