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

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.
主站蜘蛛池模板: 康平县| 大姚县| 富顺县| 荔浦县| 明光市| 北宁市| 靖州| 深泽县| 调兵山市| 大城县| 唐海县| 呼图壁县| 台湾省| 望都县| 沈阳市| 大竹县| 扎囊县| 桃园市| 策勒县| 汉川市| 准格尔旗| 东兴市| 平顶山市| 象山县| 炎陵县| 永顺县| 翼城县| 武汉市| 新营市| 克什克腾旗| 昌吉市| 长海县| 南皮县| 秀山| 无锡市| 夹江县| 疏附县| 中卫市| 武强县| 天镇县| 古田县|