commit | 74a497bb146234759d84c7e4e4d9ae9c87c87986 | [log] [tgz] |
---|---|---|
author | Yang Ni <yangni@google.com> | Tue Sep 12 08:53:09 2017 -0700 |
committer | Yang Ni <yangni@google.com> | Tue Sep 12 09:18:21 2017 -0700 |
tree | 6f5578662a985b168d0bd678fc016347e11d958f | |
parent | 32c3ca3785eb3173c2b7a160d30722d7f775c075 [diff] |
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