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

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.
主站蜘蛛池模板: 虞城县| 卓尼县| 南昌市| 三门峡市| 娱乐| 江城| 南雄市| 溧阳市| 崇文区| 锡林郭勒盟| 景德镇市| 英德市| 格尔木市| 黑河市| 蒙自县| 云龙县| 西昌市| 洮南市| 中方县| 资溪县| 顺平县| 汶上县| 怀化市| 侯马市| 平原县| 平邑县| 余江县| 克山县| 卢氏县| 五家渠市| 靖远县| 巴楚县| 邓州市| 太和县| 辉县市| 临安市| 洪江市| 隆林| 凤庆县| 梅河口市| 温州市|