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

  • 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.
主站蜘蛛池模板: 宜川县| 中阳县| 雷山县| 广河县| 裕民县| 嘉黎县| 连州市| 耿马| 仁布县| 顺昌县| 闻喜县| 华池县| 平南县| 靖安县| 吉木乃县| 耒阳市| 长子县| 商河县| 衡山县| 宁晋县| 阳曲县| 莱州市| 荥经县| 武乡县| 高清| 龙州县| 玛沁县| 深泽县| 广州市| 天水市| 宁城县| 土默特左旗| 防城港市| 淮阳县| 湘潭市| 弋阳县| 铁岭市| 内黄县| 南雄市| 乌兰察布市| 抚顺县|