Cov txheej txheem:

TensorFlow module yog dab tsi?
TensorFlow module yog dab tsi?

Video: TensorFlow module yog dab tsi?

Video: TensorFlow module yog dab tsi?
Video: Creating a Virtual Environment within a Jupyter Notebook! 2024, Hlis ntuj nqeg
Anonim

A module yog ib daim ntawm tus kheej TensorFlow daim duab, nrog rau nws qhov hnyav thiab cov khoom muaj nqis, uas tuaj yeem rov qab siv dua nyob rau hauv cov haujlwm sib txawv hauv cov txheej txheem hu ua hloov kev kawm. Hloov kev kawm tuaj yeem: Qhia tus qauv nrog cov ntaub ntawv me me, Txhim kho kev nthuav dav, thiab. Kev cob qhia ceev.

Tsis tas li, koj siv TensorFlow hub li cas?

Rau siv ib module, koj import TensorFlow Hub , tom qab ntawv luam / muab tshuaj txhuam qhov URL rau hauv koj tus lej. Qee cov duab modules muaj nyob rau TensorFlow Hub . Txhua lub module muaj lub ntsiab lus interface uas tso cai rau nws los siv rau hauv txoj kev hloov, nrog me me lossis tsis muaj kev paub txog nws sab hauv.

Tsis tas li ntawd, kuv yuav import TensorFlow rau hauv Jupyter phau ntawv li cas? Hauv lub phau ntawv , koj ua tau import TensorFlow nrog tf alias. Nyem rau khiav. Ib lub xovtooj tshiab tau tsim hauv qab no. Wb sau koj tus lej thawj nrog TensorFlow.

Tua tawm Jupyter Notebook

  1. Qhib qhov chaw nyob zoo-tf conda ib puag ncig.
  2. Qhib Jupyter.
  3. Ntshuam tensorflow.
  4. Rho tawm Phau Ntawv.
  5. Kaw Jupyter.

Hais txog qhov no, yog TensorFlow qhib qhov twg?

TensorFlow yog ib qhib qhov chaw software tsev qiv ntawv rau kev suav lej siv cov ntaub ntawv-khiav graphs. TensorFlow yog cross-platform. Nws khiav ntawm yuav luag txhua yam: GPUs thiab CPUs-xws li mobile thiab embedded platforms-thiab txawm tias tensor processing units (TPUs), uas yog tshwj xeeb kho vajtse los ua tensor lej ntawm.

Kuv yuav nruab TensorFlow hauv zos li cas?

HOWTO: Nruab Tensorflow hauv zos

  1. Clone python installation rau hauv zos directory. Peb lwm txoj kev tsim cov lus txib tau teev tseg.
  2. Qhib ib puag ncig clone. Rau lub plhaub bash: qhov chaw qhib hauv zos.
  3. Nruab pob. Nruab qhov tseeb version ntawm tensorflow uas yog gpu tshaj.
  4. Test python pob.
  5. Nruab koj tus kheej python modules.

Pom zoo: