You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

utils.rst 1.3 kB

4 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. API - Utility
  2. ========================
  3. .. automodule:: tensorlayer.utils
  4. .. autosummary::
  5. fit
  6. test
  7. predict
  8. evaluation
  9. class_balancing_oversample
  10. get_random_int
  11. dict_to_one
  12. list_string_to_dict
  13. flatten_list
  14. exit_tensorflow
  15. open_tensorboard
  16. set_gpu_fraction
  17. Training, testing and predicting
  18. ----------------------------------
  19. Training
  20. ^^^^^^^^^^^
  21. .. autofunction:: fit
  22. Evaluation
  23. ^^^^^^^^^^^^^
  24. .. autofunction:: test
  25. Prediction
  26. ^^^^^^^^^^^^
  27. .. autofunction:: predict
  28. Evaluation functions
  29. ---------------------
  30. .. autofunction:: evaluation
  31. Class balancing functions
  32. ----------------------------
  33. .. autofunction:: class_balancing_oversample
  34. Random functions
  35. ----------------------------
  36. .. autofunction:: get_random_int
  37. Dictionary and list
  38. --------------------
  39. Set all items in dictionary to one
  40. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  41. .. autofunction:: dict_to_one
  42. Convert list of string to dictionary
  43. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  44. .. autofunction:: list_string_to_dict
  45. Flatten a list
  46. ^^^^^^^^^^^^^^^^^^^
  47. .. autofunction:: flatten_list
  48. Close TF session and associated processes
  49. -----------------------------------------
  50. .. autofunction:: exit_tensorflow
  51. Open TensorBoard
  52. ----------------
  53. .. autofunction:: open_tensorboard
  54. Set GPU functions
  55. -----------------
  56. .. autofunction:: set_gpu_fraction

TensorLayer3.0 是一款兼容多种深度学习框架为计算后端的深度学习库。计划兼容TensorFlow, Pytorch, MindSpore, Paddle.