[SR-8222] PartitionCloner::visitCondBranchInst() should be generalized to handle TensorHandle<Bool> in addition to TensorHandle<Builtin.i1> #50754
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
good first issue
Good for newcomers
swift for tensorflow
Additional Detail from JIRA
md5: 2743ead28421c5ee11dc3426da08ac60
Issue Description:
Test case:
Crash stack:
Some code changes in TFPartition.cpp from the abandoned PR https://github.com/apple/swift/pull/17821/files could be relevant. When `eltTy->isBool()` is true, we can try unwrapping the bool to get Builtin.i1, via getSingleElementDeclFieldType().
The text was updated successfully, but these errors were encountered: