当我尝试使用tensorflow.keras.layers.CuDNNLSTM或keras.layers.CuDNNLSTM时,出现以下错误:
InvalidArgumentError: No OpKernel was registered to support Op 'CudnnRNN' used by {{node cu_dnnlstm/CudnnRNN}}with these attrs: [dropout=0, seed=0, T=DT_FLOAT, input_mode="linear_input", direction="unidirectional", rnn_mode="lstm", is_training=true, seed2=0]
Registered devices: [CPU, XLA_CPU]
我正在使用托管的运行时,并且我想也支持GPU,但我注意到上面的错误消息表明没有GPU。不太清楚问题出在哪里,但是任何线索都会被感激