Comparing Analog and Digital Processing for Ultra Low-Power Embedded Artificial Intelligence