我最近实现了一个模型,当我运行它时,我收到了这个警告:
UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape.
This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
Run Code Online (Sandbox Code Playgroud)
随着一些类似的参数设置(嵌入维度)突然,模型是非常慢的.
tensorflow ×1