An operation device, which is configured to quantize weights and input neurons respectively, so as to determine a weight dictionary, a weight codebook, a neuron dictionary, and a neuron codebook, the operation device being configured to: --group the weights, adopt a clustering algorithm to perform a clustering operation on the weights of each group to divide the weights of each group into m types, in which m is a positive integer, and the weights of each type corresponding to a weight index, --determine the weight dictionary, where the weight dictionary includes weight positions and weight indices, and the weight positions refer to positions of the weights in a neural network structure, --replace all the weights of each type with a central weight, so as to determine the weight codebook, where the weight codebook includes the weight indices and the central weights; --divide the input neurons into p segments in which the input neurons of each segment corresponds to a neuron range and a neuron index, so as to determining the neuron dictionary, in which p is a positive integer, --code the input neurons and replace all the input neurons of each segment with a central neuron, so as to determine the neuron codebook; wherein the operation device is configured to determine a computational codebook according to the weight codebook and the neuron codebook; wherein the operation device comprises an instruction control unit configured to decode a received instruction and generate control information; and a lookup table unit configured to receive the weight dictionary, the neuron dictionary, the weights, and the input neurons, and to look up computational results in an computational codebook, according to the control information, the weight dictionary, the neuron dictionary, the weights, and the input neurons, wherein the lookup table unit is configured to, for each input neuron, determine the neuron range and then determine the neuron index in the neuron dictionary, and for each weight, determine the weight position and then determine the weight index in the weight dictionary; and to look up the computational result in the computational codebook according to the weight index and the neuron index. which is configured to quantize weights and input neurons respectively, so as to determine a weight dictionary, a weight codebook, a neuron dictionary, and a neuron codebook, the operation device being configured to: --group the weights, adopt a clustering algorithm to perform a clustering operation on the weights of each group to divide the weights of each group into m types, in which m is a positive integer, and the weights of each type corresponding to a weight index, --determine the weight dictionary, where the weight dictionary includes weight positions and weight indices, and the weight positions refer to positions of the weights in a neural network structure, --replace all the weights of each type with a central weight, so as to determine the weight codebook, where the weight codebook includes the weight indices and the central weights; --divide the input neurons into p segments in which the input neurons of each segment corresponds to a neuron range and a neuron index, so as to determining the neuron dictionary, in which p is a positive integer, --code the input neurons and replace all the input neurons of each segment with a central neuron, so as to determine the neuron codebook; wherein the operation device is configured to determine a computational codebook according to the weight codebook and the neuron codebook; --group the weights, adopt a clustering algorithm to perform a clustering operation on the weights of each group to divide the weights of each group into m types, in which m is a positive integer, and the weights of each type corresponding to a weight index, --determine the weight dictionary, where the weight dictionary includes weight positions and weight indices, and the weight positions refer to positions of the weights in a neural network structure, --replace all the weights of each type with a central weight, so as to determine the weight codebook, where the weight codebook includes the weight indices and the central weights; --divide the input neurons into p segments in which the input neurons of each segment corresponds to a neuron range and a neuron index, so as to determining the neuron dictionary, in which p is a positive integer, --code the input neurons and replace all the input neurons of each segment with a central neuron, so as to determine the neuron codebook; wherein the operation device is configured to determine a computational codebook according to the weight codebook and the neuron codebook; wherein the operation device comprises an instruction control unit configured to decode a received instruction and generate control information; and a lookup table unit configured to receive the weight dictionary, the neuron dictionary, the weights, and the input neurons, and to look up computational results in an computational codebook, according to the control information, the weight dictionary, the neuron dictionary, the weights, and the input neurons, wherein the lookup table unit is configured to, for each input neuron, determine the neuron range and then determine the neuron index in the neuron dictionary, and for each weight, determine the weight position and then determine the weight index in the weight dictionary; and to look up the computational result in the computational codebook according to the weight index and the neuron index.