官术网_书友最值得收藏!

  • Mastering TensorFlow 1.x
  • Armando Fandango
  • 155字
  • 2021-06-25 22:50:59

TFLearn

TFLearn is a modular library in Python that is built on top of core TensorFlow.

TFLearn is different from the TensorFlow Learn package which is also known as TF Learn (with one space in between TF and Learn). TFLearn is available at the following link: http://tflearn.org, and the source code is available on GitHub at the following link: https://github.com/tflearn/tflearn.

TFLearn can be installed in Python 3 with the following command:

pip3 install tflearn

To install TFLearn in other environments or from source, please refer to the following link: http://tflearn.org/installation/.

The simple workflow in TFLearn is as follows:

  1. Create an input layer first.
  2. Pass the input object to create further layers.
  3. Add the output layer.
  4. Create the net using an estimator layer such as regression.
  5. Create a model from the net created in the previous step.
  6. Train the model with the model.fit() method.
  7. Use the trained model to predict or evaluate.
主站蜘蛛池模板: 奉新县| 固原市| 贵定县| 星座| 万年县| 福鼎市| 惠东县| 靖远县| 武强县| 恩施市| 宜君县| 安新县| 阜康市| 天气| 青冈县| 万全县| 于都县| 津市市| 安康市| 类乌齐县| 郸城县| 松滋市| 舞阳县| 宁陵县| 巴东县| 冕宁县| 襄汾县| 扶余县| 长寿区| 延津县| 靖宇县| 连平县| 阳城县| 永靖县| 玉溪市| 高阳县| 泽州县| 张北县| 观塘区| 潢川县| 东兰县|