aboutsummaryrefslogtreecommitdiff
path: root/reference_model/src/tensor.h
diff options
context:
space:
mode:
authorTatWai Chong <tatwai.chong@arm.com>2024-02-12 16:53:23 -0800
committerEric Kunze <eric.kunze@arm.com>2024-02-22 02:08:36 +0000
commitc7bfa58c76e73aac772f714d8ae04cc875715689 (patch)
tree0491f8466ad6463ec03cbb2c80ccaa416d940b4a /reference_model/src/tensor.h
parent2c34b4616a10539211e7006bc43f3c71e86c30bb (diff)
downloadreference_model-c7bfa58c76e73aac772f714d8ae04cc875715689.tar.gz
Change the shift of mul to tensor type
Right shift result on i32_t data type only, i.e. other data types don't carry the shift operand. In the spec, the shift type is a tensor in MT profile and is an attribute in BI/MI profiles. Currently we treat the shift as tensor throughout. In implementation, since `ternaryExpr` is not implemented in Eigen, decompose the original calculation into multiply and shift operation seperately, and execute them via `binaryExpr`. Change-Id: I349f4969545134ac5f13bc83032cd75cca3e7ba0 Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
Diffstat (limited to 'reference_model/src/tensor.h')
0 files changed, 0 insertions, 0 deletions