"xor" is not working
Closed this issue · 0 comments
Hattomo commented
step to reproduce
- change
or
toxor
Line 13 in 2fea8cb
Error
kaikai_AI/dataset/logic_circuit.py
Line 66 in 2fea8cb
Traceback (most recent call last):
File "dnn/main.py", line 15, in <module>
(trainData, trainLabel) = lc.dset(logic, epoch)
File "./dataset/logic_circuit.py", line 66, in dset
label[i] = data[i][0] ^ data[i][1]
TypeError: ufunc 'bitwise_xor' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''