tf-keras 2.14.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (612) hide show
  1. tf_keras-2.14.1/PKG-INFO +36 -0
  2. tf_keras-2.14.1/setup.cfg +4 -0
  3. tf_keras-2.14.1/setup.py +77 -0
  4. tf_keras-2.14.1/tf_keras/__init__.py +30 -0
  5. tf_keras-2.14.1/tf_keras/__internal__/__init__.py +13 -0
  6. tf_keras-2.14.1/tf_keras/__internal__/backend/__init__.py +4 -0
  7. tf_keras-2.14.1/tf_keras/__internal__/layers/__init__.py +4 -0
  8. tf_keras-2.14.1/tf_keras/__internal__/losses/__init__.py +4 -0
  9. tf_keras-2.14.1/tf_keras/__internal__/models/__init__.py +4 -0
  10. tf_keras-2.14.1/tf_keras/__internal__/optimizers/__init__.py +3 -0
  11. tf_keras-2.14.1/tf_keras/__internal__/utils/__init__.py +4 -0
  12. tf_keras-2.14.1/tf_keras/activations/__init__.py +19 -0
  13. tf_keras-2.14.1/tf_keras/api/__init__.py +0 -0
  14. tf_keras-2.14.1/tf_keras/api/_v1/__init__.py +0 -0
  15. tf_keras-2.14.1/tf_keras/api/_v1/keras/__init__.py +26 -0
  16. tf_keras-2.14.1/tf_keras/api/_v1/keras/__internal__/__init__.py +5 -0
  17. tf_keras-2.14.1/tf_keras/api/_v1/keras/__internal__/layers/__init__.py +3 -0
  18. tf_keras-2.14.1/tf_keras/api/_v1/keras/__internal__/legacy/__init__.py +4 -0
  19. tf_keras-2.14.1/tf_keras/api/_v1/keras/__internal__/legacy/layers/__init__.py +39 -0
  20. tf_keras-2.14.1/tf_keras/api/_v1/keras/__internal__/legacy/layers/experimental/__init__.py +4 -0
  21. tf_keras-2.14.1/tf_keras/api/_v1/keras/__internal__/legacy/rnn_cell/__init__.py +12 -0
  22. tf_keras-2.14.1/tf_keras/api/_v1/keras/activations/__init__.py +18 -0
  23. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/__init__.py +92 -0
  24. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/convnext/__init__.py +9 -0
  25. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/densenet/__init__.py +7 -0
  26. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/efficientnet/__init__.py +12 -0
  27. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/efficientnet_v2/__init__.py +11 -0
  28. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/imagenet_utils/__init__.py +4 -0
  29. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/inception_resnet_v2/__init__.py +5 -0
  30. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/inception_v3/__init__.py +5 -0
  31. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/mobilenet/__init__.py +5 -0
  32. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/mobilenet_v2/__init__.py +5 -0
  33. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/mobilenet_v3/__init__.py +4 -0
  34. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/nasnet/__init__.py +6 -0
  35. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/regnet/__init__.py +28 -0
  36. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/resnet/__init__.py +7 -0
  37. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/resnet50/__init__.py +5 -0
  38. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/resnet_rs/__init__.py +11 -0
  39. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/resnet_v2/__init__.py +7 -0
  40. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/vgg16/__init__.py +5 -0
  41. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/vgg19/__init__.py +5 -0
  42. tf_keras-2.14.1/tf_keras/api/_v1/keras/applications/xception/__init__.py +5 -0
  43. tf_keras-2.14.1/tf_keras/api/_v1/keras/backend/__init__.py +151 -0
  44. tf_keras-2.14.1/tf_keras/api/_v1/keras/callbacks/__init__.py +17 -0
  45. tf_keras-2.14.1/tf_keras/api/_v1/keras/constraints/__init__.py +16 -0
  46. tf_keras-2.14.1/tf_keras/api/_v1/keras/datasets/__init__.py +9 -0
  47. tf_keras-2.14.1/tf_keras/api/_v1/keras/datasets/boston_housing/__init__.py +3 -0
  48. tf_keras-2.14.1/tf_keras/api/_v1/keras/datasets/cifar10/__init__.py +3 -0
  49. tf_keras-2.14.1/tf_keras/api/_v1/keras/datasets/cifar100/__init__.py +3 -0
  50. tf_keras-2.14.1/tf_keras/api/_v1/keras/datasets/fashion_mnist/__init__.py +3 -0
  51. tf_keras-2.14.1/tf_keras/api/_v1/keras/datasets/imdb/__init__.py +4 -0
  52. tf_keras-2.14.1/tf_keras/api/_v1/keras/datasets/mnist/__init__.py +3 -0
  53. tf_keras-2.14.1/tf_keras/api/_v1/keras/datasets/reuters/__init__.py +5 -0
  54. tf_keras-2.14.1/tf_keras/api/_v1/keras/estimator/__init__.py +3 -0
  55. tf_keras-2.14.1/tf_keras/api/_v1/keras/experimental/__init__.py +7 -0
  56. tf_keras-2.14.1/tf_keras/api/_v1/keras/export/__init__.py +3 -0
  57. tf_keras-2.14.1/tf_keras/api/_v1/keras/initializers/__init__.py +31 -0
  58. tf_keras-2.14.1/tf_keras/api/_v1/keras/layers/__init__.py +135 -0
  59. tf_keras-2.14.1/tf_keras/api/_v1/keras/layers/experimental/__init__.py +5 -0
  60. tf_keras-2.14.1/tf_keras/api/_v1/keras/layers/experimental/preprocessing/__init__.py +10 -0
  61. tf_keras-2.14.1/tf_keras/api/_v1/keras/losses/__init__.py +53 -0
  62. tf_keras-2.14.1/tf_keras/api/_v1/keras/metrics/__init__.py +84 -0
  63. tf_keras-2.14.1/tf_keras/api/_v1/keras/mixed_precision/__init__.py +3 -0
  64. tf_keras-2.14.1/tf_keras/api/_v1/keras/models/__init__.py +12 -0
  65. tf_keras-2.14.1/tf_keras/api/_v1/keras/optimizers/__init__.py +16 -0
  66. tf_keras-2.14.1/tf_keras/api/_v1/keras/optimizers/legacy/__init__.py +11 -0
  67. tf_keras-2.14.1/tf_keras/api/_v1/keras/optimizers/schedules/__init__.py +11 -0
  68. tf_keras-2.14.1/tf_keras/api/_v1/keras/preprocessing/__init__.py +5 -0
  69. tf_keras-2.14.1/tf_keras/api/_v1/keras/preprocessing/image/__init__.py +19 -0
  70. tf_keras-2.14.1/tf_keras/api/_v1/keras/preprocessing/sequence/__init__.py +6 -0
  71. tf_keras-2.14.1/tf_keras/api/_v1/keras/preprocessing/text/__init__.py +7 -0
  72. tf_keras-2.14.1/tf_keras/api/_v1/keras/regularizers/__init__.py +12 -0
  73. tf_keras-2.14.1/tf_keras/api/_v1/keras/saving/__init__.py +11 -0
  74. tf_keras-2.14.1/tf_keras/api/_v1/keras/utils/__init__.py +36 -0
  75. tf_keras-2.14.1/tf_keras/api/_v1/keras/utils/legacy/__init__.py +4 -0
  76. tf_keras-2.14.1/tf_keras/api/_v2/__init__.py +0 -0
  77. tf_keras-2.14.1/tf_keras/api/_v2/keras/__init__.py +27 -0
  78. tf_keras-2.14.1/tf_keras/api/_v2/keras/__internal__/__init__.py +13 -0
  79. tf_keras-2.14.1/tf_keras/api/_v2/keras/__internal__/backend/__init__.py +4 -0
  80. tf_keras-2.14.1/tf_keras/api/_v2/keras/__internal__/layers/__init__.py +4 -0
  81. tf_keras-2.14.1/tf_keras/api/_v2/keras/__internal__/losses/__init__.py +4 -0
  82. tf_keras-2.14.1/tf_keras/api/_v2/keras/__internal__/models/__init__.py +4 -0
  83. tf_keras-2.14.1/tf_keras/api/_v2/keras/__internal__/optimizers/__init__.py +3 -0
  84. tf_keras-2.14.1/tf_keras/api/_v2/keras/__internal__/utils/__init__.py +4 -0
  85. tf_keras-2.14.1/tf_keras/api/_v2/keras/activations/__init__.py +19 -0
  86. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/__init__.py +92 -0
  87. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/convnext/__init__.py +9 -0
  88. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/densenet/__init__.py +7 -0
  89. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/efficientnet/__init__.py +12 -0
  90. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/efficientnet_v2/__init__.py +11 -0
  91. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/imagenet_utils/__init__.py +4 -0
  92. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/inception_resnet_v2/__init__.py +5 -0
  93. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/inception_v3/__init__.py +5 -0
  94. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/mobilenet/__init__.py +5 -0
  95. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/mobilenet_v2/__init__.py +5 -0
  96. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/mobilenet_v3/__init__.py +4 -0
  97. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/nasnet/__init__.py +6 -0
  98. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/regnet/__init__.py +28 -0
  99. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/resnet/__init__.py +7 -0
  100. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/resnet50/__init__.py +5 -0
  101. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/resnet_rs/__init__.py +11 -0
  102. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/resnet_v2/__init__.py +7 -0
  103. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/vgg16/__init__.py +5 -0
  104. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/vgg19/__init__.py +5 -0
  105. tf_keras-2.14.1/tf_keras/api/_v2/keras/applications/xception/__init__.py +5 -0
  106. tf_keras-2.14.1/tf_keras/api/_v2/keras/backend/__init__.py +150 -0
  107. tf_keras-2.14.1/tf_keras/api/_v2/keras/backend/experimental/__init__.py +5 -0
  108. tf_keras-2.14.1/tf_keras/api/_v2/keras/callbacks/__init__.py +19 -0
  109. tf_keras-2.14.1/tf_keras/api/_v2/keras/callbacks/experimental/__init__.py +3 -0
  110. tf_keras-2.14.1/tf_keras/api/_v2/keras/constraints/__init__.py +16 -0
  111. tf_keras-2.14.1/tf_keras/api/_v2/keras/datasets/__init__.py +9 -0
  112. tf_keras-2.14.1/tf_keras/api/_v2/keras/datasets/boston_housing/__init__.py +3 -0
  113. tf_keras-2.14.1/tf_keras/api/_v2/keras/datasets/cifar10/__init__.py +3 -0
  114. tf_keras-2.14.1/tf_keras/api/_v2/keras/datasets/cifar100/__init__.py +3 -0
  115. tf_keras-2.14.1/tf_keras/api/_v2/keras/datasets/fashion_mnist/__init__.py +3 -0
  116. tf_keras-2.14.1/tf_keras/api/_v2/keras/datasets/imdb/__init__.py +4 -0
  117. tf_keras-2.14.1/tf_keras/api/_v2/keras/datasets/mnist/__init__.py +3 -0
  118. tf_keras-2.14.1/tf_keras/api/_v2/keras/datasets/reuters/__init__.py +5 -0
  119. tf_keras-2.14.1/tf_keras/api/_v2/keras/dtensor/__init__.py +3 -0
  120. tf_keras-2.14.1/tf_keras/api/_v2/keras/dtensor/experimental/__init__.py +4 -0
  121. tf_keras-2.14.1/tf_keras/api/_v2/keras/dtensor/experimental/optimizers/__init__.py +8 -0
  122. tf_keras-2.14.1/tf_keras/api/_v2/keras/estimator/__init__.py +3 -0
  123. tf_keras-2.14.1/tf_keras/api/_v2/keras/experimental/__init__.py +8 -0
  124. tf_keras-2.14.1/tf_keras/api/_v2/keras/export/__init__.py +3 -0
  125. tf_keras-2.14.1/tf_keras/api/_v2/keras/initializers/__init__.py +36 -0
  126. tf_keras-2.14.1/tf_keras/api/_v2/keras/layers/__init__.py +147 -0
  127. tf_keras-2.14.1/tf_keras/api/_v2/keras/layers/experimental/__init__.py +6 -0
  128. tf_keras-2.14.1/tf_keras/api/_v2/keras/layers/experimental/preprocessing/__init__.py +22 -0
  129. tf_keras-2.14.1/tf_keras/api/_v2/keras/losses/__init__.py +53 -0
  130. tf_keras-2.14.1/tf_keras/api/_v2/keras/metrics/__init__.py +83 -0
  131. tf_keras-2.14.1/tf_keras/api/_v2/keras/metrics/experimental/__init__.py +3 -0
  132. tf_keras-2.14.1/tf_keras/api/_v2/keras/mixed_precision/__init__.py +6 -0
  133. tf_keras-2.14.1/tf_keras/api/_v2/keras/models/__init__.py +11 -0
  134. tf_keras-2.14.1/tf_keras/api/_v2/keras/models/experimental/__init__.py +3 -0
  135. tf_keras-2.14.1/tf_keras/api/_v2/keras/optimizers/__init__.py +20 -0
  136. tf_keras-2.14.1/tf_keras/api/_v2/keras/optimizers/experimental/__init__.py +13 -0
  137. tf_keras-2.14.1/tf_keras/api/_v2/keras/optimizers/legacy/__init__.py +11 -0
  138. tf_keras-2.14.1/tf_keras/api/_v2/keras/optimizers/schedules/__init__.py +11 -0
  139. tf_keras-2.14.1/tf_keras/api/_v2/keras/preprocessing/__init__.py +8 -0
  140. tf_keras-2.14.1/tf_keras/api/_v2/keras/preprocessing/image/__init__.py +20 -0
  141. tf_keras-2.14.1/tf_keras/api/_v2/keras/preprocessing/sequence/__init__.py +6 -0
  142. tf_keras-2.14.1/tf_keras/api/_v2/keras/preprocessing/text/__init__.py +7 -0
  143. tf_keras-2.14.1/tf_keras/api/_v2/keras/regularizers/__init__.py +14 -0
  144. tf_keras-2.14.1/tf_keras/api/_v2/keras/saving/__init__.py +11 -0
  145. tf_keras-2.14.1/tf_keras/api/_v2/keras/utils/__init__.py +45 -0
  146. tf_keras-2.14.1/tf_keras/api/_v2/keras/utils/experimental/__init__.py +3 -0
  147. tf_keras-2.14.1/tf_keras/api/_v2/keras/utils/legacy/__init__.py +4 -0
  148. tf_keras-2.14.1/tf_keras/applications/__init__.py +92 -0
  149. tf_keras-2.14.1/tf_keras/applications/convnext/__init__.py +9 -0
  150. tf_keras-2.14.1/tf_keras/applications/densenet/__init__.py +7 -0
  151. tf_keras-2.14.1/tf_keras/applications/efficientnet/__init__.py +12 -0
  152. tf_keras-2.14.1/tf_keras/applications/efficientnet_v2/__init__.py +11 -0
  153. tf_keras-2.14.1/tf_keras/applications/imagenet_utils/__init__.py +4 -0
  154. tf_keras-2.14.1/tf_keras/applications/inception_resnet_v2/__init__.py +5 -0
  155. tf_keras-2.14.1/tf_keras/applications/inception_v3/__init__.py +5 -0
  156. tf_keras-2.14.1/tf_keras/applications/mobilenet/__init__.py +5 -0
  157. tf_keras-2.14.1/tf_keras/applications/mobilenet_v2/__init__.py +5 -0
  158. tf_keras-2.14.1/tf_keras/applications/mobilenet_v3/__init__.py +4 -0
  159. tf_keras-2.14.1/tf_keras/applications/nasnet/__init__.py +6 -0
  160. tf_keras-2.14.1/tf_keras/applications/regnet/__init__.py +28 -0
  161. tf_keras-2.14.1/tf_keras/applications/resnet/__init__.py +7 -0
  162. tf_keras-2.14.1/tf_keras/applications/resnet50/__init__.py +5 -0
  163. tf_keras-2.14.1/tf_keras/applications/resnet_rs/__init__.py +11 -0
  164. tf_keras-2.14.1/tf_keras/applications/resnet_v2/__init__.py +7 -0
  165. tf_keras-2.14.1/tf_keras/applications/vgg16/__init__.py +5 -0
  166. tf_keras-2.14.1/tf_keras/applications/vgg19/__init__.py +5 -0
  167. tf_keras-2.14.1/tf_keras/applications/xception/__init__.py +5 -0
  168. tf_keras-2.14.1/tf_keras/backend/__init__.py +150 -0
  169. tf_keras-2.14.1/tf_keras/backend/experimental/__init__.py +5 -0
  170. tf_keras-2.14.1/tf_keras/callbacks/__init__.py +19 -0
  171. tf_keras-2.14.1/tf_keras/callbacks/experimental/__init__.py +3 -0
  172. tf_keras-2.14.1/tf_keras/constraints/__init__.py +16 -0
  173. tf_keras-2.14.1/tf_keras/datasets/__init__.py +9 -0
  174. tf_keras-2.14.1/tf_keras/datasets/boston_housing/__init__.py +3 -0
  175. tf_keras-2.14.1/tf_keras/datasets/cifar10/__init__.py +3 -0
  176. tf_keras-2.14.1/tf_keras/datasets/cifar100/__init__.py +3 -0
  177. tf_keras-2.14.1/tf_keras/datasets/fashion_mnist/__init__.py +3 -0
  178. tf_keras-2.14.1/tf_keras/datasets/imdb/__init__.py +4 -0
  179. tf_keras-2.14.1/tf_keras/datasets/mnist/__init__.py +3 -0
  180. tf_keras-2.14.1/tf_keras/datasets/reuters/__init__.py +5 -0
  181. tf_keras-2.14.1/tf_keras/dtensor/__init__.py +3 -0
  182. tf_keras-2.14.1/tf_keras/dtensor/experimental/__init__.py +4 -0
  183. tf_keras-2.14.1/tf_keras/dtensor/experimental/optimizers/__init__.py +8 -0
  184. tf_keras-2.14.1/tf_keras/estimator/__init__.py +3 -0
  185. tf_keras-2.14.1/tf_keras/experimental/__init__.py +8 -0
  186. tf_keras-2.14.1/tf_keras/export/__init__.py +3 -0
  187. tf_keras-2.14.1/tf_keras/initializers/__init__.py +36 -0
  188. tf_keras-2.14.1/tf_keras/layers/__init__.py +147 -0
  189. tf_keras-2.14.1/tf_keras/layers/experimental/__init__.py +6 -0
  190. tf_keras-2.14.1/tf_keras/layers/experimental/preprocessing/__init__.py +22 -0
  191. tf_keras-2.14.1/tf_keras/losses/__init__.py +53 -0
  192. tf_keras-2.14.1/tf_keras/metrics/__init__.py +83 -0
  193. tf_keras-2.14.1/tf_keras/metrics/experimental/__init__.py +3 -0
  194. tf_keras-2.14.1/tf_keras/mixed_precision/__init__.py +6 -0
  195. tf_keras-2.14.1/tf_keras/models/__init__.py +11 -0
  196. tf_keras-2.14.1/tf_keras/models/experimental/__init__.py +3 -0
  197. tf_keras-2.14.1/tf_keras/optimizers/__init__.py +20 -0
  198. tf_keras-2.14.1/tf_keras/optimizers/experimental/__init__.py +13 -0
  199. tf_keras-2.14.1/tf_keras/optimizers/legacy/__init__.py +11 -0
  200. tf_keras-2.14.1/tf_keras/optimizers/schedules/__init__.py +11 -0
  201. tf_keras-2.14.1/tf_keras/preprocessing/__init__.py +8 -0
  202. tf_keras-2.14.1/tf_keras/preprocessing/image/__init__.py +20 -0
  203. tf_keras-2.14.1/tf_keras/preprocessing/sequence/__init__.py +6 -0
  204. tf_keras-2.14.1/tf_keras/preprocessing/text/__init__.py +7 -0
  205. tf_keras-2.14.1/tf_keras/protobuf/__init__.py +0 -0
  206. tf_keras-2.14.1/tf_keras/protobuf/projector_config_pb2.py +29 -0
  207. tf_keras-2.14.1/tf_keras/protobuf/saved_metadata_pb2.py +28 -0
  208. tf_keras-2.14.1/tf_keras/protobuf/versions_pb2.py +25 -0
  209. tf_keras-2.14.1/tf_keras/regularizers/__init__.py +14 -0
  210. tf_keras-2.14.1/tf_keras/saving/__init__.py +11 -0
  211. tf_keras-2.14.1/tf_keras/src/__init__.py +37 -0
  212. tf_keras-2.14.1/tf_keras/src/activations.py +697 -0
  213. tf_keras-2.14.1/tf_keras/src/applications/__init__.py +65 -0
  214. tf_keras-2.14.1/tf_keras/src/applications/convnext.py +775 -0
  215. tf_keras-2.14.1/tf_keras/src/applications/densenet.py +497 -0
  216. tf_keras-2.14.1/tf_keras/src/applications/efficientnet.py +872 -0
  217. tf_keras-2.14.1/tf_keras/src/applications/efficientnet_v2.py +1363 -0
  218. tf_keras-2.14.1/tf_keras/src/applications/imagenet_utils.py +482 -0
  219. tf_keras-2.14.1/tf_keras/src/applications/inception_resnet_v2.py +439 -0
  220. tf_keras-2.14.1/tf_keras/src/applications/inception_v3.py +464 -0
  221. tf_keras-2.14.1/tf_keras/src/applications/mobilenet.py +491 -0
  222. tf_keras-2.14.1/tf_keras/src/applications/mobilenet_v2.py +591 -0
  223. tf_keras-2.14.1/tf_keras/src/applications/mobilenet_v3.py +698 -0
  224. tf_keras-2.14.1/tf_keras/src/applications/nasnet.py +914 -0
  225. tf_keras-2.14.1/tf_keras/src/applications/regnet.py +1839 -0
  226. tf_keras-2.14.1/tf_keras/src/applications/resnet.py +694 -0
  227. tf_keras-2.14.1/tf_keras/src/applications/resnet_rs.py +987 -0
  228. tf_keras-2.14.1/tf_keras/src/applications/resnet_v2.py +216 -0
  229. tf_keras-2.14.1/tf_keras/src/applications/vgg16.py +273 -0
  230. tf_keras-2.14.1/tf_keras/src/applications/vgg19.py +281 -0
  231. tf_keras-2.14.1/tf_keras/src/applications/xception.py +382 -0
  232. tf_keras-2.14.1/tf_keras/src/backend.py +7575 -0
  233. tf_keras-2.14.1/tf_keras/src/backend_config.py +158 -0
  234. tf_keras-2.14.1/tf_keras/src/benchmarks/__init__.py +16 -0
  235. tf_keras-2.14.1/tf_keras/src/benchmarks/benchmark_util.py +225 -0
  236. tf_keras-2.14.1/tf_keras/src/benchmarks/distribution_util.py +200 -0
  237. tf_keras-2.14.1/tf_keras/src/benchmarks/model_memory_profile.py +74 -0
  238. tf_keras-2.14.1/tf_keras/src/callbacks.py +3312 -0
  239. tf_keras-2.14.1/tf_keras/src/callbacks_v1.py +527 -0
  240. tf_keras-2.14.1/tf_keras/src/constraints.py +410 -0
  241. tf_keras-2.14.1/tf_keras/src/datasets/__init__.py +2 -0
  242. tf_keras-2.14.1/tf_keras/src/datasets/boston_housing.py +89 -0
  243. tf_keras-2.14.1/tf_keras/src/datasets/cifar.py +43 -0
  244. tf_keras-2.14.1/tf_keras/src/datasets/cifar10.py +116 -0
  245. tf_keras-2.14.1/tf_keras/src/datasets/cifar100.py +101 -0
  246. tf_keras-2.14.1/tf_keras/src/datasets/fashion_mnist.py +112 -0
  247. tf_keras-2.14.1/tf_keras/src/datasets/imdb.py +218 -0
  248. tf_keras-2.14.1/tf_keras/src/datasets/mnist.py +87 -0
  249. tf_keras-2.14.1/tf_keras/src/datasets/reuters.py +250 -0
  250. tf_keras-2.14.1/tf_keras/src/distribute/__init__.py +16 -0
  251. tf_keras-2.14.1/tf_keras/src/distribute/dataset_creator_model_fit_test_base.py +266 -0
  252. tf_keras-2.14.1/tf_keras/src/distribute/distribute_coordinator_utils.py +782 -0
  253. tf_keras-2.14.1/tf_keras/src/distribute/distributed_file_utils.py +181 -0
  254. tf_keras-2.14.1/tf_keras/src/distribute/distributed_training_utils.py +142 -0
  255. tf_keras-2.14.1/tf_keras/src/distribute/distributed_training_utils_v1.py +1266 -0
  256. tf_keras-2.14.1/tf_keras/src/distribute/keras_correctness_test_base.py +713 -0
  257. tf_keras-2.14.1/tf_keras/src/distribute/model_collection_base.py +43 -0
  258. tf_keras-2.14.1/tf_keras/src/distribute/model_combinations.py +36 -0
  259. tf_keras-2.14.1/tf_keras/src/distribute/multi_worker_testing_utils.py +273 -0
  260. tf_keras-2.14.1/tf_keras/src/distribute/optimizer_combinations.py +137 -0
  261. tf_keras-2.14.1/tf_keras/src/distribute/saved_model_test_base.py +287 -0
  262. tf_keras-2.14.1/tf_keras/src/distribute/simple_models.py +129 -0
  263. tf_keras-2.14.1/tf_keras/src/distribute/strategy_combinations.py +69 -0
  264. tf_keras-2.14.1/tf_keras/src/distribute/test_example.py +109 -0
  265. tf_keras-2.14.1/tf_keras/src/distribute/tpu_strategy_test_utils.py +40 -0
  266. tf_keras-2.14.1/tf_keras/src/distribute/worker_training_state.py +226 -0
  267. tf_keras-2.14.1/tf_keras/src/dtensor/__init__.py +19 -0
  268. tf_keras-2.14.1/tf_keras/src/dtensor/integration_test_utils.py +176 -0
  269. tf_keras-2.14.1/tf_keras/src/dtensor/layout_map.py +598 -0
  270. tf_keras-2.14.1/tf_keras/src/dtensor/lazy_variable.py +260 -0
  271. tf_keras-2.14.1/tf_keras/src/dtensor/test_util.py +151 -0
  272. tf_keras-2.14.1/tf_keras/src/dtensor/utils.py +187 -0
  273. tf_keras-2.14.1/tf_keras/src/engine/__init__.py +1 -0
  274. tf_keras-2.14.1/tf_keras/src/engine/base_layer.py +3829 -0
  275. tf_keras-2.14.1/tf_keras/src/engine/base_layer_utils.py +962 -0
  276. tf_keras-2.14.1/tf_keras/src/engine/base_layer_v1.py +2471 -0
  277. tf_keras-2.14.1/tf_keras/src/engine/base_preprocessing_layer.py +306 -0
  278. tf_keras-2.14.1/tf_keras/src/engine/compile_utils.py +881 -0
  279. tf_keras-2.14.1/tf_keras/src/engine/data_adapter.py +2001 -0
  280. tf_keras-2.14.1/tf_keras/src/engine/functional.py +1703 -0
  281. tf_keras-2.14.1/tf_keras/src/engine/functional_utils.py +261 -0
  282. tf_keras-2.14.1/tf_keras/src/engine/input_layer.py +464 -0
  283. tf_keras-2.14.1/tf_keras/src/engine/input_spec.py +317 -0
  284. tf_keras-2.14.1/tf_keras/src/engine/keras_tensor.py +726 -0
  285. tf_keras-2.14.1/tf_keras/src/engine/node.py +345 -0
  286. tf_keras-2.14.1/tf_keras/src/engine/partial_batch_padding_handler.py +115 -0
  287. tf_keras-2.14.1/tf_keras/src/engine/saving.py +22 -0
  288. tf_keras-2.14.1/tf_keras/src/engine/sequential.py +552 -0
  289. tf_keras-2.14.1/tf_keras/src/engine/training.py +4476 -0
  290. tf_keras-2.14.1/tf_keras/src/engine/training_arrays_v1.py +808 -0
  291. tf_keras-2.14.1/tf_keras/src/engine/training_distributed_v1.py +924 -0
  292. tf_keras-2.14.1/tf_keras/src/engine/training_eager_v1.py +406 -0
  293. tf_keras-2.14.1/tf_keras/src/engine/training_generator_v1.py +954 -0
  294. tf_keras-2.14.1/tf_keras/src/engine/training_utils.py +239 -0
  295. tf_keras-2.14.1/tf_keras/src/engine/training_utils_v1.py +2226 -0
  296. tf_keras-2.14.1/tf_keras/src/engine/training_v1.py +3628 -0
  297. tf_keras-2.14.1/tf_keras/src/estimator/__init__.py +381 -0
  298. tf_keras-2.14.1/tf_keras/src/export/__init__.py +17 -0
  299. tf_keras-2.14.1/tf_keras/src/export/export_lib.py +588 -0
  300. tf_keras-2.14.1/tf_keras/src/feature_column/__init__.py +1 -0
  301. tf_keras-2.14.1/tf_keras/src/feature_column/base_feature_layer.py +243 -0
  302. tf_keras-2.14.1/tf_keras/src/feature_column/dense_features.py +192 -0
  303. tf_keras-2.14.1/tf_keras/src/feature_column/dense_features_v2.py +165 -0
  304. tf_keras-2.14.1/tf_keras/src/feature_column/sequence_feature_column.py +196 -0
  305. tf_keras-2.14.1/tf_keras/src/initializers/__init__.py +226 -0
  306. tf_keras-2.14.1/tf_keras/src/initializers/initializers.py +1193 -0
  307. tf_keras-2.14.1/tf_keras/src/initializers/initializers_v1.py +477 -0
  308. tf_keras-2.14.1/tf_keras/src/layers/__init__.py +309 -0
  309. tf_keras-2.14.1/tf_keras/src/layers/activation/__init__.py +24 -0
  310. tf_keras-2.14.1/tf_keras/src/layers/activation/elu.py +70 -0
  311. tf_keras-2.14.1/tf_keras/src/layers/activation/leaky_relu.py +82 -0
  312. tf_keras-2.14.1/tf_keras/src/layers/activation/prelu.py +125 -0
  313. tf_keras-2.14.1/tf_keras/src/layers/activation/relu.py +125 -0
  314. tf_keras-2.14.1/tf_keras/src/layers/activation/softmax.py +118 -0
  315. tf_keras-2.14.1/tf_keras/src/layers/activation/thresholded_relu.py +78 -0
  316. tf_keras-2.14.1/tf_keras/src/layers/attention/__init__.py +21 -0
  317. tf_keras-2.14.1/tf_keras/src/layers/attention/additive_attention.py +178 -0
  318. tf_keras-2.14.1/tf_keras/src/layers/attention/attention.py +205 -0
  319. tf_keras-2.14.1/tf_keras/src/layers/attention/base_dense_attention.py +263 -0
  320. tf_keras-2.14.1/tf_keras/src/layers/attention/multi_head_attention.py +732 -0
  321. tf_keras-2.14.1/tf_keras/src/layers/convolutional/__init__.py +67 -0
  322. tf_keras-2.14.1/tf_keras/src/layers/convolutional/base_conv.py +431 -0
  323. tf_keras-2.14.1/tf_keras/src/layers/convolutional/base_depthwise_conv.py +227 -0
  324. tf_keras-2.14.1/tf_keras/src/layers/convolutional/base_separable_conv.py +249 -0
  325. tf_keras-2.14.1/tf_keras/src/layers/convolutional/conv1d.py +181 -0
  326. tf_keras-2.14.1/tf_keras/src/layers/convolutional/conv1d_transpose.py +305 -0
  327. tf_keras-2.14.1/tf_keras/src/layers/convolutional/conv2d.py +204 -0
  328. tf_keras-2.14.1/tf_keras/src/layers/convolutional/conv2d_transpose.py +368 -0
  329. tf_keras-2.14.1/tf_keras/src/layers/convolutional/conv3d.py +188 -0
  330. tf_keras-2.14.1/tf_keras/src/layers/convolutional/conv3d_transpose.py +393 -0
  331. tf_keras-2.14.1/tf_keras/src/layers/convolutional/depthwise_conv1d.py +218 -0
  332. tf_keras-2.14.1/tf_keras/src/layers/convolutional/depthwise_conv2d.py +210 -0
  333. tf_keras-2.14.1/tf_keras/src/layers/convolutional/separable_conv1d.py +223 -0
  334. tf_keras-2.14.1/tf_keras/src/layers/convolutional/separable_conv2d.py +217 -0
  335. tf_keras-2.14.1/tf_keras/src/layers/core/__init__.py +48 -0
  336. tf_keras-2.14.1/tf_keras/src/layers/core/activation.py +68 -0
  337. tf_keras-2.14.1/tf_keras/src/layers/core/dense.py +302 -0
  338. tf_keras-2.14.1/tf_keras/src/layers/core/einsum_dense.py +362 -0
  339. tf_keras-2.14.1/tf_keras/src/layers/core/embedding.py +319 -0
  340. tf_keras-2.14.1/tf_keras/src/layers/core/identity.py +39 -0
  341. tf_keras-2.14.1/tf_keras/src/layers/core/lambda_layer.py +417 -0
  342. tf_keras-2.14.1/tf_keras/src/layers/core/masking.py +92 -0
  343. tf_keras-2.14.1/tf_keras/src/layers/core/tf_op_layer.py +582 -0
  344. tf_keras-2.14.1/tf_keras/src/layers/kernelized.py +287 -0
  345. tf_keras-2.14.1/tf_keras/src/layers/locally_connected/__init__.py +23 -0
  346. tf_keras-2.14.1/tf_keras/src/layers/locally_connected/locally_connected1d.py +372 -0
  347. tf_keras-2.14.1/tf_keras/src/layers/locally_connected/locally_connected2d.py +401 -0
  348. tf_keras-2.14.1/tf_keras/src/layers/locally_connected/locally_connected_utils.py +207 -0
  349. tf_keras-2.14.1/tf_keras/src/layers/merging/__init__.py +36 -0
  350. tf_keras-2.14.1/tf_keras/src/layers/merging/add.py +93 -0
  351. tf_keras-2.14.1/tf_keras/src/layers/merging/average.py +95 -0
  352. tf_keras-2.14.1/tf_keras/src/layers/merging/base_merge.py +243 -0
  353. tf_keras-2.14.1/tf_keras/src/layers/merging/concatenate.py +232 -0
  354. tf_keras-2.14.1/tf_keras/src/layers/merging/dot.py +227 -0
  355. tf_keras-2.14.1/tf_keras/src/layers/merging/maximum.py +86 -0
  356. tf_keras-2.14.1/tf_keras/src/layers/merging/minimum.py +68 -0
  357. tf_keras-2.14.1/tf_keras/src/layers/merging/multiply.py +85 -0
  358. tf_keras-2.14.1/tf_keras/src/layers/merging/subtract.py +94 -0
  359. tf_keras-2.14.1/tf_keras/src/layers/noise.py +29 -0
  360. tf_keras-2.14.1/tf_keras/src/layers/normalization/__init__.py +1 -0
  361. tf_keras-2.14.1/tf_keras/src/layers/normalization/batch_normalization.py +1597 -0
  362. tf_keras-2.14.1/tf_keras/src/layers/normalization/batch_normalization_v1.py +32 -0
  363. tf_keras-2.14.1/tf_keras/src/layers/normalization/group_normalization.py +270 -0
  364. tf_keras-2.14.1/tf_keras/src/layers/normalization/layer_normalization.py +370 -0
  365. tf_keras-2.14.1/tf_keras/src/layers/normalization/spectral_normalization.py +142 -0
  366. tf_keras-2.14.1/tf_keras/src/layers/normalization/unit_normalization.py +76 -0
  367. tf_keras-2.14.1/tf_keras/src/layers/pooling/__init__.py +50 -0
  368. tf_keras-2.14.1/tf_keras/src/layers/pooling/average_pooling1d.py +149 -0
  369. tf_keras-2.14.1/tf_keras/src/layers/pooling/average_pooling2d.py +150 -0
  370. tf_keras-2.14.1/tf_keras/src/layers/pooling/average_pooling3d.py +107 -0
  371. tf_keras-2.14.1/tf_keras/src/layers/pooling/base_global_pooling1d.py +69 -0
  372. tf_keras-2.14.1/tf_keras/src/layers/pooling/base_global_pooling2d.py +69 -0
  373. tf_keras-2.14.1/tf_keras/src/layers/pooling/base_global_pooling3d.py +69 -0
  374. tf_keras-2.14.1/tf_keras/src/layers/pooling/base_pooling1d.py +110 -0
  375. tf_keras-2.14.1/tf_keras/src/layers/pooling/base_pooling2d.py +121 -0
  376. tf_keras-2.14.1/tf_keras/src/layers/pooling/base_pooling3d.py +136 -0
  377. tf_keras-2.14.1/tf_keras/src/layers/pooling/global_average_pooling1d.py +104 -0
  378. tf_keras-2.14.1/tf_keras/src/layers/pooling/global_average_pooling2d.py +83 -0
  379. tf_keras-2.14.1/tf_keras/src/layers/pooling/global_average_pooling3d.py +78 -0
  380. tf_keras-2.14.1/tf_keras/src/layers/pooling/global_max_pooling1d.py +89 -0
  381. tf_keras-2.14.1/tf_keras/src/layers/pooling/global_max_pooling2d.py +82 -0
  382. tf_keras-2.14.1/tf_keras/src/layers/pooling/global_max_pooling3d.py +76 -0
  383. tf_keras-2.14.1/tf_keras/src/layers/pooling/max_pooling1d.py +128 -0
  384. tf_keras-2.14.1/tf_keras/src/layers/pooling/max_pooling2d.py +173 -0
  385. tf_keras-2.14.1/tf_keras/src/layers/pooling/max_pooling3d.py +107 -0
  386. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/__init__.py +1 -0
  387. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/__init__.py +1 -0
  388. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/bucketized_column_dense_benchmark.py +85 -0
  389. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/category_encoding_benchmark.py +84 -0
  390. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/category_hash_dense_benchmark.py +89 -0
  391. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/category_hash_varlen_benchmark.py +89 -0
  392. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/category_vocab_file_dense_benchmark.py +110 -0
  393. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/category_vocab_file_varlen_benchmark.py +103 -0
  394. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/category_vocab_list_dense_benchmark.py +87 -0
  395. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/category_vocab_list_indicator_dense_benchmark.py +96 -0
  396. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/category_vocab_list_indicator_varlen_benchmark.py +96 -0
  397. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/category_vocab_list_varlen_benchmark.py +87 -0
  398. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/discretization_adapt_benchmark.py +109 -0
  399. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/embedding_dense_benchmark.py +86 -0
  400. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/embedding_varlen_benchmark.py +89 -0
  401. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/feature_column_benchmark.py +155 -0
  402. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/hashed_crossing_benchmark.py +90 -0
  403. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/hashing_benchmark.py +105 -0
  404. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/image_preproc_benchmark.py +159 -0
  405. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/index_lookup_adapt_benchmark.py +135 -0
  406. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/index_lookup_forward_benchmark.py +144 -0
  407. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/normalization_adapt_benchmark.py +124 -0
  408. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/benchmarks/weighted_embedding_varlen_benchmark.py +99 -0
  409. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/category_encoding.py +228 -0
  410. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/discretization.py +442 -0
  411. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/hashed_crossing.py +224 -0
  412. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/hashing.py +297 -0
  413. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/image_preprocessing.py +1733 -0
  414. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/index_lookup.py +1000 -0
  415. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/integer_lookup.py +460 -0
  416. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/normalization.py +391 -0
  417. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/preprocessing_stage.py +283 -0
  418. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/preprocessing_test_utils.py +204 -0
  419. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/preprocessing_utils.py +167 -0
  420. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/string_lookup.py +414 -0
  421. tf_keras-2.14.1/tf_keras/src/layers/preprocessing/text_vectorization.py +680 -0
  422. tf_keras-2.14.1/tf_keras/src/layers/regularization/__init__.py +28 -0
  423. tf_keras-2.14.1/tf_keras/src/layers/regularization/activity_regularization.py +57 -0
  424. tf_keras-2.14.1/tf_keras/src/layers/regularization/alpha_dropout.py +105 -0
  425. tf_keras-2.14.1/tf_keras/src/layers/regularization/dropout.py +136 -0
  426. tf_keras-2.14.1/tf_keras/src/layers/regularization/gaussian_dropout.py +84 -0
  427. tf_keras-2.14.1/tf_keras/src/layers/regularization/gaussian_noise.py +82 -0
  428. tf_keras-2.14.1/tf_keras/src/layers/regularization/spatial_dropout1d.py +60 -0
  429. tf_keras-2.14.1/tf_keras/src/layers/regularization/spatial_dropout2d.py +80 -0
  430. tf_keras-2.14.1/tf_keras/src/layers/regularization/spatial_dropout3d.py +80 -0
  431. tf_keras-2.14.1/tf_keras/src/layers/reshaping/__init__.py +30 -0
  432. tf_keras-2.14.1/tf_keras/src/layers/reshaping/cropping1d.py +98 -0
  433. tf_keras-2.14.1/tf_keras/src/layers/reshaping/cropping2d.py +219 -0
  434. tf_keras-2.14.1/tf_keras/src/layers/reshaping/cropping3d.py +313 -0
  435. tf_keras-2.14.1/tf_keras/src/layers/reshaping/flatten.py +123 -0
  436. tf_keras-2.14.1/tf_keras/src/layers/reshaping/permute.py +86 -0
  437. tf_keras-2.14.1/tf_keras/src/layers/reshaping/repeat_vector.py +70 -0
  438. tf_keras-2.14.1/tf_keras/src/layers/reshaping/reshape.py +149 -0
  439. tf_keras-2.14.1/tf_keras/src/layers/reshaping/up_sampling1d.py +85 -0
  440. tf_keras-2.14.1/tf_keras/src/layers/reshaping/up_sampling2d.py +148 -0
  441. tf_keras-2.14.1/tf_keras/src/layers/reshaping/up_sampling3d.py +132 -0
  442. tf_keras-2.14.1/tf_keras/src/layers/reshaping/zero_padding1d.py +95 -0
  443. tf_keras-2.14.1/tf_keras/src/layers/reshaping/zero_padding2d.py +157 -0
  444. tf_keras-2.14.1/tf_keras/src/layers/reshaping/zero_padding3d.py +165 -0
  445. tf_keras-2.14.1/tf_keras/src/layers/rnn/__init__.py +74 -0
  446. tf_keras-2.14.1/tf_keras/src/layers/rnn/abstract_rnn_cell.py +117 -0
  447. tf_keras-2.14.1/tf_keras/src/layers/rnn/base_conv_lstm.py +643 -0
  448. tf_keras-2.14.1/tf_keras/src/layers/rnn/base_conv_rnn.py +438 -0
  449. tf_keras-2.14.1/tf_keras/src/layers/rnn/base_cudnn_rnn.py +151 -0
  450. tf_keras-2.14.1/tf_keras/src/layers/rnn/base_rnn.py +981 -0
  451. tf_keras-2.14.1/tf_keras/src/layers/rnn/base_wrapper.py +93 -0
  452. tf_keras-2.14.1/tf_keras/src/layers/rnn/bidirectional.py +534 -0
  453. tf_keras-2.14.1/tf_keras/src/layers/rnn/cell_wrappers.py +704 -0
  454. tf_keras-2.14.1/tf_keras/src/layers/rnn/conv_lstm1d.py +190 -0
  455. tf_keras-2.14.1/tf_keras/src/layers/rnn/conv_lstm2d.py +192 -0
  456. tf_keras-2.14.1/tf_keras/src/layers/rnn/conv_lstm3d.py +192 -0
  457. tf_keras-2.14.1/tf_keras/src/layers/rnn/cudnn_gru.py +225 -0
  458. tf_keras-2.14.1/tf_keras/src/layers/rnn/cudnn_lstm.py +258 -0
  459. tf_keras-2.14.1/tf_keras/src/layers/rnn/dropout_rnn_cell_mixin.py +180 -0
  460. tf_keras-2.14.1/tf_keras/src/layers/rnn/gru.py +1303 -0
  461. tf_keras-2.14.1/tf_keras/src/layers/rnn/gru_lstm_utils.py +276 -0
  462. tf_keras-2.14.1/tf_keras/src/layers/rnn/gru_v1.py +405 -0
  463. tf_keras-2.14.1/tf_keras/src/layers/rnn/legacy_cell_wrappers.py +668 -0
  464. tf_keras-2.14.1/tf_keras/src/layers/rnn/legacy_cells.py +1357 -0
  465. tf_keras-2.14.1/tf_keras/src/layers/rnn/lstm.py +1347 -0
  466. tf_keras-2.14.1/tf_keras/src/layers/rnn/lstm_v1.py +405 -0
  467. tf_keras-2.14.1/tf_keras/src/layers/rnn/rnn_utils.py +196 -0
  468. tf_keras-2.14.1/tf_keras/src/layers/rnn/simple_rnn.py +513 -0
  469. tf_keras-2.14.1/tf_keras/src/layers/rnn/stacked_rnn_cells.py +218 -0
  470. tf_keras-2.14.1/tf_keras/src/layers/rnn/time_distributed.py +353 -0
  471. tf_keras-2.14.1/tf_keras/src/layers/serialization.py +300 -0
  472. tf_keras-2.14.1/tf_keras/src/legacy_tf_layers/__init__.py +4 -0
  473. tf_keras-2.14.1/tf_keras/src/legacy_tf_layers/base.py +670 -0
  474. tf_keras-2.14.1/tf_keras/src/legacy_tf_layers/convolutional.py +2057 -0
  475. tf_keras-2.14.1/tf_keras/src/legacy_tf_layers/core.py +557 -0
  476. tf_keras-2.14.1/tf_keras/src/legacy_tf_layers/migration_utils.py +117 -0
  477. tf_keras-2.14.1/tf_keras/src/legacy_tf_layers/normalization.py +481 -0
  478. tf_keras-2.14.1/tf_keras/src/legacy_tf_layers/pooling.py +1005 -0
  479. tf_keras-2.14.1/tf_keras/src/legacy_tf_layers/variable_scope_shim.py +1087 -0
  480. tf_keras-2.14.1/tf_keras/src/losses.py +2979 -0
  481. tf_keras-2.14.1/tf_keras/src/metrics/__init__.py +227 -0
  482. tf_keras-2.14.1/tf_keras/src/metrics/accuracy_metrics.py +528 -0
  483. tf_keras-2.14.1/tf_keras/src/metrics/base_metric.py +994 -0
  484. tf_keras-2.14.1/tf_keras/src/metrics/confusion_metrics.py +1708 -0
  485. tf_keras-2.14.1/tf_keras/src/metrics/f_score_metrics.py +324 -0
  486. tf_keras-2.14.1/tf_keras/src/metrics/hinge_metrics.py +137 -0
  487. tf_keras-2.14.1/tf_keras/src/metrics/iou_metrics.py +759 -0
  488. tf_keras-2.14.1/tf_keras/src/metrics/probabilistic_metrics.py +347 -0
  489. tf_keras-2.14.1/tf_keras/src/metrics/py_metric.py +192 -0
  490. tf_keras-2.14.1/tf_keras/src/metrics/regression_metrics.py +627 -0
  491. tf_keras-2.14.1/tf_keras/src/mixed_precision/__init__.py +26 -0
  492. tf_keras-2.14.1/tf_keras/src/mixed_precision/autocast_variable.py +636 -0
  493. tf_keras-2.14.1/tf_keras/src/mixed_precision/device_compatibility_check.py +167 -0
  494. tf_keras-2.14.1/tf_keras/src/mixed_precision/loss_scale_optimizer.py +1617 -0
  495. tf_keras-2.14.1/tf_keras/src/mixed_precision/policy.py +556 -0
  496. tf_keras-2.14.1/tf_keras/src/mixed_precision/test_util.py +243 -0
  497. tf_keras-2.14.1/tf_keras/src/models/__init__.py +39 -0
  498. tf_keras-2.14.1/tf_keras/src/models/cloning.py +902 -0
  499. tf_keras-2.14.1/tf_keras/src/models/sharpness_aware_minimization.py +192 -0
  500. tf_keras-2.14.1/tf_keras/src/optimizers/__init__.py +337 -0
  501. tf_keras-2.14.1/tf_keras/src/optimizers/adadelta.py +172 -0
  502. tf_keras-2.14.1/tf_keras/src/optimizers/adafactor.py +232 -0
  503. tf_keras-2.14.1/tf_keras/src/optimizers/adagrad.py +151 -0
  504. tf_keras-2.14.1/tf_keras/src/optimizers/adam.py +226 -0
  505. tf_keras-2.14.1/tf_keras/src/optimizers/adamax.py +189 -0
  506. tf_keras-2.14.1/tf_keras/src/optimizers/adamw.py +231 -0
  507. tf_keras-2.14.1/tf_keras/src/optimizers/ftrl.py +259 -0
  508. tf_keras-2.14.1/tf_keras/src/optimizers/legacy/__init__.py +15 -0
  509. tf_keras-2.14.1/tf_keras/src/optimizers/legacy/adadelta.py +165 -0
  510. tf_keras-2.14.1/tf_keras/src/optimizers/legacy/adagrad.py +186 -0
  511. tf_keras-2.14.1/tf_keras/src/optimizers/legacy/adam.py +527 -0
  512. tf_keras-2.14.1/tf_keras/src/optimizers/legacy/adamax.py +202 -0
  513. tf_keras-2.14.1/tf_keras/src/optimizers/legacy/ftrl.py +310 -0
  514. tf_keras-2.14.1/tf_keras/src/optimizers/legacy/gradient_descent.py +223 -0
  515. tf_keras-2.14.1/tf_keras/src/optimizers/legacy/nadam.py +255 -0
  516. tf_keras-2.14.1/tf_keras/src/optimizers/legacy/optimizer_v2.py +1737 -0
  517. tf_keras-2.14.1/tf_keras/src/optimizers/legacy/rmsprop.py +350 -0
  518. tf_keras-2.14.1/tf_keras/src/optimizers/legacy_learning_rate_decay.py +814 -0
  519. tf_keras-2.14.1/tf_keras/src/optimizers/lion.py +168 -0
  520. tf_keras-2.14.1/tf_keras/src/optimizers/nadam.py +208 -0
  521. tf_keras-2.14.1/tf_keras/src/optimizers/optimizer.py +1420 -0
  522. tf_keras-2.14.1/tf_keras/src/optimizers/optimizer_v1.py +931 -0
  523. tf_keras-2.14.1/tf_keras/src/optimizers/rmsprop.py +219 -0
  524. tf_keras-2.14.1/tf_keras/src/optimizers/schedules/__init__.py +27 -0
  525. tf_keras-2.14.1/tf_keras/src/optimizers/schedules/learning_rate_schedule.py +1261 -0
  526. tf_keras-2.14.1/tf_keras/src/optimizers/sgd.py +208 -0
  527. tf_keras-2.14.1/tf_keras/src/optimizers/utils.py +175 -0
  528. tf_keras-2.14.1/tf_keras/src/premade_models/__init__.py +19 -0
  529. tf_keras-2.14.1/tf_keras/src/premade_models/linear.py +218 -0
  530. tf_keras-2.14.1/tf_keras/src/premade_models/wide_deep.py +240 -0
  531. tf_keras-2.14.1/tf_keras/src/preprocessing/__init__.py +34 -0
  532. tf_keras-2.14.1/tf_keras/src/preprocessing/image.py +2624 -0
  533. tf_keras-2.14.1/tf_keras/src/preprocessing/sequence.py +385 -0
  534. tf_keras-2.14.1/tf_keras/src/preprocessing/text.py +614 -0
  535. tf_keras-2.14.1/tf_keras/src/regularizers.py +474 -0
  536. tf_keras-2.14.1/tf_keras/src/saving/__init__.py +1 -0
  537. tf_keras-2.14.1/tf_keras/src/saving/legacy/__init__.py +1 -0
  538. tf_keras-2.14.1/tf_keras/src/saving/legacy/hdf5_format.py +1120 -0
  539. tf_keras-2.14.1/tf_keras/src/saving/legacy/model_config.py +126 -0
  540. tf_keras-2.14.1/tf_keras/src/saving/legacy/save.py +548 -0
  541. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/__init__.py +1 -0
  542. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/base_serialization.py +143 -0
  543. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/constants.py +48 -0
  544. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/create_test_saved_model.py +37 -0
  545. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/json_utils.py +240 -0
  546. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/layer_serialization.py +211 -0
  547. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/load.py +1383 -0
  548. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/load_context.py +69 -0
  549. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/metric_serialization.py +48 -0
  550. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/model_serialization.py +68 -0
  551. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/network_serialization.py +28 -0
  552. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/order_preserving_set.py +94 -0
  553. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/save.py +158 -0
  554. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/save_impl.py +785 -0
  555. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/serialized_attributes.py +377 -0
  556. tf_keras-2.14.1/tf_keras/src/saving/legacy/saved_model/utils.py +290 -0
  557. tf_keras-2.14.1/tf_keras/src/saving/legacy/saving_utils.py +373 -0
  558. tf_keras-2.14.1/tf_keras/src/saving/legacy/serialization.py +573 -0
  559. tf_keras-2.14.1/tf_keras/src/saving/object_registration.py +229 -0
  560. tf_keras-2.14.1/tf_keras/src/saving/pickle_utils.py +78 -0
  561. tf_keras-2.14.1/tf_keras/src/saving/saving_api.py +350 -0
  562. tf_keras-2.14.1/tf_keras/src/saving/saving_lib.py +731 -0
  563. tf_keras-2.14.1/tf_keras/src/saving/serialization_lib.py +840 -0
  564. tf_keras-2.14.1/tf_keras/src/testing_infra/__init__.py +15 -0
  565. tf_keras-2.14.1/tf_keras/src/testing_infra/keras_doctest_lib.py +224 -0
  566. tf_keras-2.14.1/tf_keras/src/testing_infra/test_combinations.py +593 -0
  567. tf_keras-2.14.1/tf_keras/src/testing_infra/test_utils.py +1189 -0
  568. tf_keras-2.14.1/tf_keras/src/tests/__init__.py +1 -0
  569. tf_keras-2.14.1/tf_keras/src/tests/get_config_samples.py +446 -0
  570. tf_keras-2.14.1/tf_keras/src/tests/keras_doctest.py +159 -0
  571. tf_keras-2.14.1/tf_keras/src/tests/model_architectures.py +316 -0
  572. tf_keras-2.14.1/tf_keras/src/tests/model_subclassing_test_util.py +159 -0
  573. tf_keras-2.14.1/tf_keras/src/utils/__init__.py +75 -0
  574. tf_keras-2.14.1/tf_keras/src/utils/audio_dataset.py +443 -0
  575. tf_keras-2.14.1/tf_keras/src/utils/control_flow_util.py +139 -0
  576. tf_keras-2.14.1/tf_keras/src/utils/conv_utils.py +582 -0
  577. tf_keras-2.14.1/tf_keras/src/utils/data_utils.py +1147 -0
  578. tf_keras-2.14.1/tf_keras/src/utils/dataset_creator.py +117 -0
  579. tf_keras-2.14.1/tf_keras/src/utils/dataset_utils.py +751 -0
  580. tf_keras-2.14.1/tf_keras/src/utils/feature_space.py +773 -0
  581. tf_keras-2.14.1/tf_keras/src/utils/generic_utils.py +557 -0
  582. tf_keras-2.14.1/tf_keras/src/utils/image_dataset.py +379 -0
  583. tf_keras-2.14.1/tf_keras/src/utils/image_utils.py +481 -0
  584. tf_keras-2.14.1/tf_keras/src/utils/io_utils.py +129 -0
  585. tf_keras-2.14.1/tf_keras/src/utils/keras_logging.py +20 -0
  586. tf_keras-2.14.1/tf_keras/src/utils/kernelized_utils.py +113 -0
  587. tf_keras-2.14.1/tf_keras/src/utils/kpl_test_utils.py +206 -0
  588. tf_keras-2.14.1/tf_keras/src/utils/layer_utils.py +1114 -0
  589. tf_keras-2.14.1/tf_keras/src/utils/legacy/__init__.py +22 -0
  590. tf_keras-2.14.1/tf_keras/src/utils/losses_utils.py +434 -0
  591. tf_keras-2.14.1/tf_keras/src/utils/metrics_utils.py +1014 -0
  592. tf_keras-2.14.1/tf_keras/src/utils/mode_keys.py +21 -0
  593. tf_keras-2.14.1/tf_keras/src/utils/np_utils.py +143 -0
  594. tf_keras-2.14.1/tf_keras/src/utils/object_identity.py +253 -0
  595. tf_keras-2.14.1/tf_keras/src/utils/sidecar_evaluator.py +433 -0
  596. tf_keras-2.14.1/tf_keras/src/utils/steps_per_execution_tuning.py +265 -0
  597. tf_keras-2.14.1/tf_keras/src/utils/text_dataset.py +286 -0
  598. tf_keras-2.14.1/tf_keras/src/utils/tf_contextlib.py +36 -0
  599. tf_keras-2.14.1/tf_keras/src/utils/tf_inspect.py +443 -0
  600. tf_keras-2.14.1/tf_keras/src/utils/tf_utils.py +756 -0
  601. tf_keras-2.14.1/tf_keras/src/utils/timed_threads.py +149 -0
  602. tf_keras-2.14.1/tf_keras/src/utils/timeseries_dataset.py +278 -0
  603. tf_keras-2.14.1/tf_keras/src/utils/traceback_utils.py +169 -0
  604. tf_keras-2.14.1/tf_keras/src/utils/version_utils.py +133 -0
  605. tf_keras-2.14.1/tf_keras/src/utils/vis_utils.py +498 -0
  606. tf_keras-2.14.1/tf_keras/utils/__init__.py +45 -0
  607. tf_keras-2.14.1/tf_keras/utils/experimental/__init__.py +3 -0
  608. tf_keras-2.14.1/tf_keras/utils/legacy/__init__.py +4 -0
  609. tf_keras-2.14.1/tf_keras.egg-info/PKG-INFO +36 -0
  610. tf_keras-2.14.1/tf_keras.egg-info/SOURCES.txt +610 -0
  611. tf_keras-2.14.1/tf_keras.egg-info/dependency_links.txt +1 -0
  612. tf_keras-2.14.1/tf_keras.egg-info/top_level.txt +1 -0
@@ -0,0 +1,36 @@
1
+ Metadata-Version: 2.1
2
+ Name: tf_keras
3
+ Version: 2.14.1
4
+ Summary: Deep learning for humans.
5
+ Home-page: https://keras.io/
6
+ Download-URL: https://github.com/keras-team/tf-keras/tags
7
+ Author: Keras team
8
+ Author-email: keras-users@googlegroups.com
9
+ License: Apache 2.0
10
+ Keywords: keras,tensorflow,machine learning,deep learning
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Intended Audience :: Education
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: License :: OSI Approved :: Apache Software License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.8
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3 :: Only
22
+ Classifier: Topic :: Scientific/Engineering
23
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
24
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
25
+ Classifier: Topic :: Software Development
26
+ Classifier: Topic :: Software Development :: Libraries
27
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
+ Requires-Python: >=3.8
29
+
30
+ TF-Keras is a deep learning API written in Python,
31
+ running on top of the machine learning platform TensorFlow.
32
+
33
+ It was developed with a focus on enabling fast experimentation and
34
+ providing a delightful developer experience.
35
+ The purpose of TF-Keras is to give an *unfair advantage* to any developer
36
+ looking to ship ML-powered apps.
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,77 @@
1
+ # Copyright 2023 The TensorFlow Authors. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # ==============================================================================
15
+ """Setup script for the TF-Keras pip package."""
16
+
17
+ import os
18
+
19
+ import setuptools
20
+
21
+ DESCRIPTION = """TF-Keras is a deep learning API written in Python,
22
+ running on top of the machine learning platform TensorFlow.
23
+
24
+ It was developed with a focus on enabling fast experimentation and
25
+ providing a delightful developer experience.
26
+ The purpose of TF-Keras is to give an *unfair advantage* to any developer
27
+ looking to ship ML-powered apps.
28
+ """
29
+
30
+ with open(os.path.abspath(__file__)) as f:
31
+ contents = f.read()
32
+ if contents.count("{PACKAGE}") > 1 or contents.count("{VERSION}") > 1:
33
+ raise ValueError(
34
+ "You must fill the 'PACKAGE' and 'VERSION' "
35
+ "tags before running setup.py. If you are trying to "
36
+ "build a fresh package, you should be using "
37
+ "`pip_build.py` instead of `setup.py`."
38
+ )
39
+
40
+ setuptools.setup(
41
+ name="tf_keras",
42
+ # Version strings with `-` characters are semver compatible,
43
+ # but incompatible with pip. For pip, we will remove all `-`` characters.
44
+ version="2.14.1",
45
+ description="Deep learning for humans.",
46
+ long_description=DESCRIPTION,
47
+ url="https://keras.io/",
48
+ download_url="https://github.com/keras-team/tf-keras/tags",
49
+ author="Keras team",
50
+ author_email="keras-users@googlegroups.com",
51
+ packages=setuptools.find_packages(),
52
+ install_requires=[],
53
+ # Supported Python versions
54
+ python_requires=">=3.8",
55
+ # PyPI package information.
56
+ classifiers=[
57
+ "Development Status :: 5 - Production/Stable",
58
+ "Intended Audience :: Developers",
59
+ "Intended Audience :: Education",
60
+ "Intended Audience :: Science/Research",
61
+ "License :: OSI Approved :: Apache Software License",
62
+ "Programming Language :: Python :: 3",
63
+ "Programming Language :: Python :: 3.8",
64
+ "Programming Language :: Python :: 3.9",
65
+ "Programming Language :: Python :: 3.10",
66
+ "Programming Language :: Python :: 3.11",
67
+ "Programming Language :: Python :: 3 :: Only",
68
+ "Topic :: Scientific/Engineering",
69
+ "Topic :: Scientific/Engineering :: Mathematics",
70
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
71
+ "Topic :: Software Development",
72
+ "Topic :: Software Development :: Libraries",
73
+ "Topic :: Software Development :: Libraries :: Python Modules",
74
+ ],
75
+ license="Apache 2.0",
76
+ keywords=["keras", "tensorflow", "machine learning", "deep learning"],
77
+ )
@@ -0,0 +1,30 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras import __internal__
4
+ from tf_keras import activations
5
+ from tf_keras import applications
6
+ from tf_keras import backend
7
+ from tf_keras import callbacks
8
+ from tf_keras import constraints
9
+ from tf_keras import datasets
10
+ from tf_keras import dtensor
11
+ from tf_keras import estimator
12
+ from tf_keras import experimental
13
+ from tf_keras import export
14
+ from tf_keras import initializers
15
+ from tf_keras import layers
16
+ from tf_keras import losses
17
+ from tf_keras import metrics
18
+ from tf_keras import mixed_precision
19
+ from tf_keras import models
20
+ from tf_keras import optimizers
21
+ from tf_keras import preprocessing
22
+ from tf_keras import regularizers
23
+ from tf_keras import saving
24
+ from tf_keras import utils
25
+ from tf_keras.src.engine.input_layer import Input
26
+ from tf_keras.src.engine.sequential import Sequential
27
+ from tf_keras.src.engine.training import Model
28
+
29
+
30
+ __version__ = "2.14.1"
@@ -0,0 +1,13 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.__internal__ import backend
4
+ from tf_keras.__internal__ import layers
5
+ from tf_keras.__internal__ import losses
6
+ from tf_keras.__internal__ import models
7
+ from tf_keras.__internal__ import optimizers
8
+ from tf_keras.__internal__ import utils
9
+ from tf_keras.src.engine.base_layer import _apply_name_scope_on_model_declaration as apply_name_scope_on_model_declaration
10
+ from tf_keras.src.engine.keras_tensor import KerasTensor
11
+ from tf_keras.src.engine.keras_tensor import RaggedKerasTensor
12
+ from tf_keras.src.engine.keras_tensor import SparseKerasTensor
13
+ from tf_keras.src.saving.serialization_lib import enable_unsafe_deserialization
@@ -0,0 +1,4 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.backend import _initialize_variables as initialize_variables
4
+ from tf_keras.src.backend import track_variable
@@ -0,0 +1,4 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.engine.base_layer import BaseRandomLayer
4
+ from tf_keras.src.layers.attention.base_dense_attention import BaseDenseAttention
@@ -0,0 +1,4 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.losses import LossFunctionWrapper
4
+ from tf_keras.src.utils.losses_utils import compute_weighted_loss
@@ -0,0 +1,4 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.models.cloning import clone_and_build_model
4
+ from tf_keras.src.models.cloning import in_place_subclassed_model_state_restoration
@@ -0,0 +1,3 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.optimizers import convert_to_legacy_optimizer
@@ -0,0 +1,4 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.engine.data_adapter import get_data_handler
4
+ from tf_keras.src.utils.tf_utils import register_symbolic_tensor_type
@@ -0,0 +1,19 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.activations import deserialize
4
+ from tf_keras.src.activations import elu
5
+ from tf_keras.src.activations import exponential
6
+ from tf_keras.src.activations import gelu
7
+ from tf_keras.src.activations import get
8
+ from tf_keras.src.activations import hard_sigmoid
9
+ from tf_keras.src.activations import linear
10
+ from tf_keras.src.activations import mish
11
+ from tf_keras.src.activations import relu
12
+ from tf_keras.src.activations import selu
13
+ from tf_keras.src.activations import serialize
14
+ from tf_keras.src.activations import sigmoid
15
+ from tf_keras.src.activations import softmax
16
+ from tf_keras.src.activations import softplus
17
+ from tf_keras.src.activations import softsign
18
+ from tf_keras.src.activations import swish
19
+ from tf_keras.src.activations import tanh
File without changes
File without changes
@@ -0,0 +1,26 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.api._v1.keras import __internal__
4
+ from tf_keras.api._v1.keras import activations
5
+ from tf_keras.api._v1.keras import applications
6
+ from tf_keras.api._v1.keras import backend
7
+ from tf_keras.api._v1.keras import callbacks
8
+ from tf_keras.api._v1.keras import constraints
9
+ from tf_keras.api._v1.keras import datasets
10
+ from tf_keras.api._v1.keras import estimator
11
+ from tf_keras.api._v1.keras import experimental
12
+ from tf_keras.api._v1.keras import export
13
+ from tf_keras.api._v1.keras import initializers
14
+ from tf_keras.api._v1.keras import layers
15
+ from tf_keras.api._v1.keras import losses
16
+ from tf_keras.api._v1.keras import metrics
17
+ from tf_keras.api._v1.keras import mixed_precision
18
+ from tf_keras.api._v1.keras import models
19
+ from tf_keras.api._v1.keras import optimizers
20
+ from tf_keras.api._v1.keras import preprocessing
21
+ from tf_keras.api._v1.keras import regularizers
22
+ from tf_keras.api._v1.keras import saving
23
+ from tf_keras.api._v1.keras import utils
24
+ from tf_keras.src.engine.input_layer import Input
25
+ from tf_keras.src.engine.sequential import Sequential
26
+ from tf_keras.src.engine.training import Model
@@ -0,0 +1,5 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.api._v1.keras.__internal__ import layers
4
+ from tf_keras.api._v1.keras.__internal__ import legacy
5
+ from tf_keras.src.saving.serialization_lib import enable_unsafe_deserialization
@@ -0,0 +1,3 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.engine.base_layer import BaseRandomLayer
@@ -0,0 +1,4 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.api._v1.keras.__internal__.legacy import layers
4
+ from tf_keras.api._v1.keras.__internal__.legacy import rnn_cell
@@ -0,0 +1,39 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.api._v1.keras.__internal__.legacy.layers import experimental
4
+ from tf_keras.src.engine.input_spec import InputSpec
5
+ from tf_keras.src.legacy_tf_layers.base import Layer
6
+ from tf_keras.src.legacy_tf_layers.convolutional import Conv1D
7
+ from tf_keras.src.legacy_tf_layers.convolutional import Conv2D
8
+ from tf_keras.src.legacy_tf_layers.convolutional import Conv2DTranspose
9
+ from tf_keras.src.legacy_tf_layers.convolutional import Conv3D
10
+ from tf_keras.src.legacy_tf_layers.convolutional import Conv3DTranspose
11
+ from tf_keras.src.legacy_tf_layers.convolutional import SeparableConv1D
12
+ from tf_keras.src.legacy_tf_layers.convolutional import SeparableConv2D
13
+ from tf_keras.src.legacy_tf_layers.convolutional import conv1d
14
+ from tf_keras.src.legacy_tf_layers.convolutional import conv2d
15
+ from tf_keras.src.legacy_tf_layers.convolutional import conv2d_transpose
16
+ from tf_keras.src.legacy_tf_layers.convolutional import conv3d
17
+ from tf_keras.src.legacy_tf_layers.convolutional import conv3d_transpose
18
+ from tf_keras.src.legacy_tf_layers.convolutional import separable_conv1d
19
+ from tf_keras.src.legacy_tf_layers.convolutional import separable_conv2d
20
+ from tf_keras.src.legacy_tf_layers.core import Dense
21
+ from tf_keras.src.legacy_tf_layers.core import Dropout
22
+ from tf_keras.src.legacy_tf_layers.core import Flatten
23
+ from tf_keras.src.legacy_tf_layers.core import dense
24
+ from tf_keras.src.legacy_tf_layers.core import dropout
25
+ from tf_keras.src.legacy_tf_layers.core import flatten
26
+ from tf_keras.src.legacy_tf_layers.normalization import BatchNormalization
27
+ from tf_keras.src.legacy_tf_layers.normalization import batch_normalization
28
+ from tf_keras.src.legacy_tf_layers.pooling import AveragePooling1D
29
+ from tf_keras.src.legacy_tf_layers.pooling import AveragePooling2D
30
+ from tf_keras.src.legacy_tf_layers.pooling import AveragePooling3D
31
+ from tf_keras.src.legacy_tf_layers.pooling import MaxPooling1D
32
+ from tf_keras.src.legacy_tf_layers.pooling import MaxPooling2D
33
+ from tf_keras.src.legacy_tf_layers.pooling import MaxPooling3D
34
+ from tf_keras.src.legacy_tf_layers.pooling import average_pooling1d
35
+ from tf_keras.src.legacy_tf_layers.pooling import average_pooling2d
36
+ from tf_keras.src.legacy_tf_layers.pooling import average_pooling3d
37
+ from tf_keras.src.legacy_tf_layers.pooling import max_pooling1d
38
+ from tf_keras.src.legacy_tf_layers.pooling import max_pooling2d
39
+ from tf_keras.src.legacy_tf_layers.pooling import max_pooling3d
@@ -0,0 +1,4 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.legacy_tf_layers.base import keras_style_scope
4
+ from tf_keras.src.legacy_tf_layers.base import set_keras_style
@@ -0,0 +1,12 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.layers.rnn.legacy_cell_wrappers import DeviceWrapper
4
+ from tf_keras.src.layers.rnn.legacy_cell_wrappers import DropoutWrapper
5
+ from tf_keras.src.layers.rnn.legacy_cell_wrappers import ResidualWrapper
6
+ from tf_keras.src.layers.rnn.legacy_cells import BasicLSTMCell
7
+ from tf_keras.src.layers.rnn.legacy_cells import BasicRNNCell
8
+ from tf_keras.src.layers.rnn.legacy_cells import GRUCell
9
+ from tf_keras.src.layers.rnn.legacy_cells import LSTMCell
10
+ from tf_keras.src.layers.rnn.legacy_cells import LSTMStateTuple
11
+ from tf_keras.src.layers.rnn.legacy_cells import MultiRNNCell
12
+ from tf_keras.src.layers.rnn.legacy_cells import RNNCell
@@ -0,0 +1,18 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.activations import deserialize
4
+ from tf_keras.src.activations import elu
5
+ from tf_keras.src.activations import exponential
6
+ from tf_keras.src.activations import get
7
+ from tf_keras.src.activations import hard_sigmoid
8
+ from tf_keras.src.activations import linear
9
+ from tf_keras.src.activations import mish
10
+ from tf_keras.src.activations import relu
11
+ from tf_keras.src.activations import selu
12
+ from tf_keras.src.activations import serialize
13
+ from tf_keras.src.activations import sigmoid
14
+ from tf_keras.src.activations import softmax
15
+ from tf_keras.src.activations import softplus
16
+ from tf_keras.src.activations import softsign
17
+ from tf_keras.src.activations import swish
18
+ from tf_keras.src.activations import tanh
@@ -0,0 +1,92 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.api._v1.keras.applications import convnext
4
+ from tf_keras.api._v1.keras.applications import densenet
5
+ from tf_keras.api._v1.keras.applications import efficientnet
6
+ from tf_keras.api._v1.keras.applications import efficientnet_v2
7
+ from tf_keras.api._v1.keras.applications import imagenet_utils
8
+ from tf_keras.api._v1.keras.applications import inception_resnet_v2
9
+ from tf_keras.api._v1.keras.applications import inception_v3
10
+ from tf_keras.api._v1.keras.applications import mobilenet
11
+ from tf_keras.api._v1.keras.applications import mobilenet_v2
12
+ from tf_keras.api._v1.keras.applications import mobilenet_v3
13
+ from tf_keras.api._v1.keras.applications import nasnet
14
+ from tf_keras.api._v1.keras.applications import regnet
15
+ from tf_keras.api._v1.keras.applications import resnet
16
+ from tf_keras.api._v1.keras.applications import resnet50
17
+ from tf_keras.api._v1.keras.applications import resnet_rs
18
+ from tf_keras.api._v1.keras.applications import resnet_v2
19
+ from tf_keras.api._v1.keras.applications import vgg16
20
+ from tf_keras.api._v1.keras.applications import vgg19
21
+ from tf_keras.api._v1.keras.applications import xception
22
+ from tf_keras.src.applications.convnext import ConvNeXtBase
23
+ from tf_keras.src.applications.convnext import ConvNeXtLarge
24
+ from tf_keras.src.applications.convnext import ConvNeXtSmall
25
+ from tf_keras.src.applications.convnext import ConvNeXtTiny
26
+ from tf_keras.src.applications.convnext import ConvNeXtXLarge
27
+ from tf_keras.src.applications.densenet import DenseNet121
28
+ from tf_keras.src.applications.densenet import DenseNet169
29
+ from tf_keras.src.applications.densenet import DenseNet201
30
+ from tf_keras.src.applications.efficientnet import EfficientNetB0
31
+ from tf_keras.src.applications.efficientnet import EfficientNetB1
32
+ from tf_keras.src.applications.efficientnet import EfficientNetB2
33
+ from tf_keras.src.applications.efficientnet import EfficientNetB3
34
+ from tf_keras.src.applications.efficientnet import EfficientNetB4
35
+ from tf_keras.src.applications.efficientnet import EfficientNetB5
36
+ from tf_keras.src.applications.efficientnet import EfficientNetB6
37
+ from tf_keras.src.applications.efficientnet import EfficientNetB7
38
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2B0
39
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2B1
40
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2B2
41
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2B3
42
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2L
43
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2M
44
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2S
45
+ from tf_keras.src.applications.inception_resnet_v2 import InceptionResNetV2
46
+ from tf_keras.src.applications.inception_v3 import InceptionV3
47
+ from tf_keras.src.applications.mobilenet import MobileNet
48
+ from tf_keras.src.applications.mobilenet_v2 import MobileNetV2
49
+ from tf_keras.src.applications.mobilenet_v3 import MobileNetV3Large
50
+ from tf_keras.src.applications.mobilenet_v3 import MobileNetV3Small
51
+ from tf_keras.src.applications.nasnet import NASNetLarge
52
+ from tf_keras.src.applications.nasnet import NASNetMobile
53
+ from tf_keras.src.applications.regnet import RegNetX002
54
+ from tf_keras.src.applications.regnet import RegNetX004
55
+ from tf_keras.src.applications.regnet import RegNetX006
56
+ from tf_keras.src.applications.regnet import RegNetX008
57
+ from tf_keras.src.applications.regnet import RegNetX016
58
+ from tf_keras.src.applications.regnet import RegNetX032
59
+ from tf_keras.src.applications.regnet import RegNetX040
60
+ from tf_keras.src.applications.regnet import RegNetX064
61
+ from tf_keras.src.applications.regnet import RegNetX080
62
+ from tf_keras.src.applications.regnet import RegNetX120
63
+ from tf_keras.src.applications.regnet import RegNetX160
64
+ from tf_keras.src.applications.regnet import RegNetX320
65
+ from tf_keras.src.applications.regnet import RegNetY002
66
+ from tf_keras.src.applications.regnet import RegNetY004
67
+ from tf_keras.src.applications.regnet import RegNetY006
68
+ from tf_keras.src.applications.regnet import RegNetY008
69
+ from tf_keras.src.applications.regnet import RegNetY016
70
+ from tf_keras.src.applications.regnet import RegNetY032
71
+ from tf_keras.src.applications.regnet import RegNetY040
72
+ from tf_keras.src.applications.regnet import RegNetY064
73
+ from tf_keras.src.applications.regnet import RegNetY080
74
+ from tf_keras.src.applications.regnet import RegNetY120
75
+ from tf_keras.src.applications.regnet import RegNetY160
76
+ from tf_keras.src.applications.regnet import RegNetY320
77
+ from tf_keras.src.applications.resnet import ResNet101
78
+ from tf_keras.src.applications.resnet import ResNet152
79
+ from tf_keras.src.applications.resnet import ResNet50
80
+ from tf_keras.src.applications.resnet_rs import ResNetRS101
81
+ from tf_keras.src.applications.resnet_rs import ResNetRS152
82
+ from tf_keras.src.applications.resnet_rs import ResNetRS200
83
+ from tf_keras.src.applications.resnet_rs import ResNetRS270
84
+ from tf_keras.src.applications.resnet_rs import ResNetRS350
85
+ from tf_keras.src.applications.resnet_rs import ResNetRS420
86
+ from tf_keras.src.applications.resnet_rs import ResNetRS50
87
+ from tf_keras.src.applications.resnet_v2 import ResNet101V2
88
+ from tf_keras.src.applications.resnet_v2 import ResNet152V2
89
+ from tf_keras.src.applications.resnet_v2 import ResNet50V2
90
+ from tf_keras.src.applications.vgg16 import VGG16
91
+ from tf_keras.src.applications.vgg19 import VGG19
92
+ from tf_keras.src.applications.xception import Xception
@@ -0,0 +1,9 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.convnext import ConvNeXtBase
4
+ from tf_keras.src.applications.convnext import ConvNeXtLarge
5
+ from tf_keras.src.applications.convnext import ConvNeXtSmall
6
+ from tf_keras.src.applications.convnext import ConvNeXtTiny
7
+ from tf_keras.src.applications.convnext import ConvNeXtXLarge
8
+ from tf_keras.src.applications.convnext import decode_predictions
9
+ from tf_keras.src.applications.convnext import preprocess_input
@@ -0,0 +1,7 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.densenet import DenseNet121
4
+ from tf_keras.src.applications.densenet import DenseNet169
5
+ from tf_keras.src.applications.densenet import DenseNet201
6
+ from tf_keras.src.applications.densenet import decode_predictions
7
+ from tf_keras.src.applications.densenet import preprocess_input
@@ -0,0 +1,12 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.efficientnet import EfficientNetB0
4
+ from tf_keras.src.applications.efficientnet import EfficientNetB1
5
+ from tf_keras.src.applications.efficientnet import EfficientNetB2
6
+ from tf_keras.src.applications.efficientnet import EfficientNetB3
7
+ from tf_keras.src.applications.efficientnet import EfficientNetB4
8
+ from tf_keras.src.applications.efficientnet import EfficientNetB5
9
+ from tf_keras.src.applications.efficientnet import EfficientNetB6
10
+ from tf_keras.src.applications.efficientnet import EfficientNetB7
11
+ from tf_keras.src.applications.efficientnet import decode_predictions
12
+ from tf_keras.src.applications.efficientnet import preprocess_input
@@ -0,0 +1,11 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2B0
4
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2B1
5
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2B2
6
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2B3
7
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2L
8
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2M
9
+ from tf_keras.src.applications.efficientnet_v2 import EfficientNetV2S
10
+ from tf_keras.src.applications.efficientnet_v2 import decode_predictions
11
+ from tf_keras.src.applications.efficientnet_v2 import preprocess_input
@@ -0,0 +1,4 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.imagenet_utils import decode_predictions
4
+ from tf_keras.src.applications.imagenet_utils import preprocess_input
@@ -0,0 +1,5 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.inception_resnet_v2 import InceptionResNetV2
4
+ from tf_keras.src.applications.inception_resnet_v2 import decode_predictions
5
+ from tf_keras.src.applications.inception_resnet_v2 import preprocess_input
@@ -0,0 +1,5 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.inception_v3 import InceptionV3
4
+ from tf_keras.src.applications.inception_v3 import decode_predictions
5
+ from tf_keras.src.applications.inception_v3 import preprocess_input
@@ -0,0 +1,5 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.mobilenet import MobileNet
4
+ from tf_keras.src.applications.mobilenet import decode_predictions
5
+ from tf_keras.src.applications.mobilenet import preprocess_input
@@ -0,0 +1,5 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.mobilenet_v2 import MobileNetV2
4
+ from tf_keras.src.applications.mobilenet_v2 import decode_predictions
5
+ from tf_keras.src.applications.mobilenet_v2 import preprocess_input
@@ -0,0 +1,4 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.mobilenet_v3 import decode_predictions
4
+ from tf_keras.src.applications.mobilenet_v3 import preprocess_input
@@ -0,0 +1,6 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.nasnet import NASNetLarge
4
+ from tf_keras.src.applications.nasnet import NASNetMobile
5
+ from tf_keras.src.applications.nasnet import decode_predictions
6
+ from tf_keras.src.applications.nasnet import preprocess_input
@@ -0,0 +1,28 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.regnet import RegNetX002
4
+ from tf_keras.src.applications.regnet import RegNetX004
5
+ from tf_keras.src.applications.regnet import RegNetX006
6
+ from tf_keras.src.applications.regnet import RegNetX008
7
+ from tf_keras.src.applications.regnet import RegNetX016
8
+ from tf_keras.src.applications.regnet import RegNetX032
9
+ from tf_keras.src.applications.regnet import RegNetX040
10
+ from tf_keras.src.applications.regnet import RegNetX064
11
+ from tf_keras.src.applications.regnet import RegNetX080
12
+ from tf_keras.src.applications.regnet import RegNetX120
13
+ from tf_keras.src.applications.regnet import RegNetX160
14
+ from tf_keras.src.applications.regnet import RegNetX320
15
+ from tf_keras.src.applications.regnet import RegNetY002
16
+ from tf_keras.src.applications.regnet import RegNetY004
17
+ from tf_keras.src.applications.regnet import RegNetY006
18
+ from tf_keras.src.applications.regnet import RegNetY008
19
+ from tf_keras.src.applications.regnet import RegNetY016
20
+ from tf_keras.src.applications.regnet import RegNetY032
21
+ from tf_keras.src.applications.regnet import RegNetY040
22
+ from tf_keras.src.applications.regnet import RegNetY064
23
+ from tf_keras.src.applications.regnet import RegNetY080
24
+ from tf_keras.src.applications.regnet import RegNetY120
25
+ from tf_keras.src.applications.regnet import RegNetY160
26
+ from tf_keras.src.applications.regnet import RegNetY320
27
+ from tf_keras.src.applications.regnet import decode_predictions
28
+ from tf_keras.src.applications.regnet import preprocess_input
@@ -0,0 +1,7 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.resnet import ResNet101
4
+ from tf_keras.src.applications.resnet import ResNet152
5
+ from tf_keras.src.applications.resnet import ResNet50
6
+ from tf_keras.src.applications.resnet import decode_predictions
7
+ from tf_keras.src.applications.resnet import preprocess_input
@@ -0,0 +1,5 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.resnet import ResNet50
4
+ from tf_keras.src.applications.resnet import decode_predictions
5
+ from tf_keras.src.applications.resnet import preprocess_input
@@ -0,0 +1,11 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.resnet_rs import ResNetRS101
4
+ from tf_keras.src.applications.resnet_rs import ResNetRS152
5
+ from tf_keras.src.applications.resnet_rs import ResNetRS200
6
+ from tf_keras.src.applications.resnet_rs import ResNetRS270
7
+ from tf_keras.src.applications.resnet_rs import ResNetRS350
8
+ from tf_keras.src.applications.resnet_rs import ResNetRS420
9
+ from tf_keras.src.applications.resnet_rs import ResNetRS50
10
+ from tf_keras.src.applications.resnet_rs import decode_predictions
11
+ from tf_keras.src.applications.resnet_rs import preprocess_input
@@ -0,0 +1,7 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.resnet_v2 import ResNet101V2
4
+ from tf_keras.src.applications.resnet_v2 import ResNet152V2
5
+ from tf_keras.src.applications.resnet_v2 import ResNet50V2
6
+ from tf_keras.src.applications.resnet_v2 import decode_predictions
7
+ from tf_keras.src.applications.resnet_v2 import preprocess_input
@@ -0,0 +1,5 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.vgg16 import VGG16
4
+ from tf_keras.src.applications.vgg16 import decode_predictions
5
+ from tf_keras.src.applications.vgg16 import preprocess_input
@@ -0,0 +1,5 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.vgg19 import VGG19
4
+ from tf_keras.src.applications.vgg19 import decode_predictions
5
+ from tf_keras.src.applications.vgg19 import preprocess_input
@@ -0,0 +1,5 @@
1
+ """AUTOGENERATED. DO NOT EDIT."""
2
+
3
+ from tf_keras.src.applications.xception import Xception
4
+ from tf_keras.src.applications.xception import decode_predictions
5
+ from tf_keras.src.applications.xception import preprocess_input