Closed zzzDavid closed 3 years ago
@seanlatias Hi, I rebased and re-implemented bitcast API with compute, also added support for bitcasting expression. Please review the changes, thanks!
Also, for the expression one, actually, I mean something like this.
a = # some hcl expression
b = hcl.bitcast(a, dst_type) # b is still an expression, instead of a tensor
In other words, if the input is an expression, return an expression.
@zzzDavid if you have time can you fix this? It shouldn't take too much time. Thanks.
@zzzDavid if you have time can you fix this? It shouldn't take too much time. Thanks.
Should have fixed that sooner, thanks for reminding me. Please review my lastest commit :)
This pull request is linked to issue #310.
Description
Adding support for bitcast in
python/heterocl/compute_api.py
:heterocl.bitcast()
corresponding test:tests/test_api_bitcast.py