1. tflearn.data_utils

  • from tflearn.data_utils import to_categorical
    • one_hot 编码;
    • 第一个参数为属性列,第二个参数接受类别个数;

2. tflearn.layers.core

  • from tflearn.layers.core import
    • input_data,
    • fully_connected,
    • dropout

3. tflearn.layers.conv

  • from tflearn.layers.conv import
    • conv_2d,
    • max_pool_2d
    • global_avg_pool

4. tflearn.layers.estimator

  • from tflearn.layers.estimator import
    • regression

5. model

  • tlearn.DNN()

相关文章:

  • 2021-10-16
  • 2022-01-09
  • 2021-09-28
  • 2021-04-13
  • 2021-06-24
猜你喜欢
  • 2021-12-05
  • 2021-11-06
  • 2021-09-27
  • 2021-10-18
  • 2021-11-17
相关资源
相似解决方案