Calculate storage size w/o assuming data type

Bug: 63905942

This allows the affected OPs to handle tensors of any data type, rather
than unnecessarily restricting them to a certain data type.

Updated OPs are Embedding Lookup, Hashtable Lookup, and LSH Projection.

Test: ran unit tests

Change-Id: I8b458a95249ad79204778b212a1f0b1146031913
3 files changed
tree: 6f5578662a985b168d0bd678fc016347e11d958f
  1. nn/
  2. Android.bp