Examples disclosed herein relate to neuron circuits and methods for generating neuron circuit outputs. In some of the disclosed examples, a neuron circuit includes a memristor and first and second current mirrors. The first current mirror may source a first current through the memristor and the second current mirror may sink a second current through the memristor. The memristor may generate a voltage output as a function of the sourced first current and the sunk second current through the memristor.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A neuron circuit, comprising: a first current mirror to source a first current through a memristor; a second current mirror to sink a second current through the memristor; and the memristor to generate a voltage output for the neuron circuit as a function of the sourced first current and the sunk second current through the memristor. 2. The neuron circuit of claim 1, wherein the memristor is to generate a voltage output substantially similar to a sigmoid function. 3. The neuron circuit of claim 1, wherein: the first current mirror is to generate the first current based on a first input current provided by a first dot product engine; and the second current mirror is to generate the second input current based on a second input current provided by a second dot product engine. 4. The neuron circuit of claim 3, comprising: a third current mirror between the first current mirror and the first dot product engine, the third current mirror to generate an intermediate input current from the first input current provided by the first dot product engine; wherein the first current mirror is to generate the first input current based on the intermediate input current. 5. The neuron circuit of claim 1, wherein the memristor is to provide the generated voltage output to a dot product engine. 6. The neuron circuit of claim 1, wherein the generated voltage output is a non-linear voltage output. 7. The neuron circuit of claim 1, wherein the memristor includes a tantalum oxide switching material. 8. The neuron circuit of claim 1, wherein: the first current mirror comprises two p-channel field effect transistors (PFETs); and the second current mirror comprises two n-channel field effect transistors (NFETs). 9. The neuron circuit of claim 1, wherein the memristor is to generate the voltage output for the neuron circuit as a function of the difference between the first current and the second current. 10. A method for generating an output of a neuron circuit, comprising: sourcing, by a first current mirror, a first current through a memristor; sinking, by a second current mirror, a second current through the memristor; and generating, by the memristor, a non-linear voltage output of the neuron circuit as a function of the first current and the second current, the non-linear voltage output being substantially similar to a sigmoid function. 11. The method of claim 10, wherein the first current represents negative weights for the neuron circuit and the second current represents positive weights for the neuron circuit. 12. The method of claim 10, wherein generating the non-linear voltage output for the neuron circuit as a function of the first current and the second current comprises generating the non-linear voltage output of the neuron circuit as a function of the difference between first current and the second current. 13. The method of claim 10, comprising: providing the generated voltage output to a dot product engine. 14. A neuron circuit, comprising: a current mirror comprising two n-channel field effect transistors (NFETs) to: generate an output current from an input current provided by a multiplier-accumulator; and sink the generated output current through a memristor; and the memristor to generate a non-linear voltage output of the neuron circuit as a function of the current sunk through the memristor. 15. The neuron circuit of claim 14, wherein the memristor is to provide the generated non-linear voltage output as input to a dot product engine included in the neuron circuit.