Fix OneDeviceDataset numpy dataset "Error copying tensor to device:"
bug. I needed to make sure OneDeviceExtended._create_variable() used tf.device() in this case instead of tf.colocate_with(). I also needed to remove the device set by one device strategy's scope, since otherwise dataset creation gives lots of errors. Also, expand OneDeviceStrategy eager/GPU test coverage. PiperOrigin-RevId: 232605692
Loading
Please sign in to comment