Tensorflow鬼故事(一)
1 min readAug 15, 2020
在電腦上可以執行的程式碼,放到TPU上去跑,出現一大堆奇怪的錯誤
Compilation failure: Detected unsupported operations when trying to compile graph
什麼unsupported operations?我根本沒用奇怪的opertaion啊
DenseToDenseSetOperation (No registered ‘DenseToDenseSetOperation’ OpKernel for XLA_TPU_JIT devices compatible with node
什麼DenseToDenseSetOperation?這到底是什麼?
解法:BatchSize設太小了,至少要設成16