버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...

  1. tensorflow gpu 사용 확인

코드 블럭
$ python3
>>> tf.test.is_gpu_available() 
Use ‘tfimport tensorflow as tf
>>> tf.config.list_physical_devices(‘GPU’)’ instead.'GPU')
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]

또는 

$ python3
>>> import tensorflow as tf
>>> tf.test.is_gpu_availbleavailable()
True

위 결과처럼 나올 경우 GPU 사용

...