tf2.6.0没有'random_uniform'吗
时间: 2023-05-30 21:02:03 浏览: 84
WindTerm_2.6.0_Prerelease_1_Windows_Portable_x86_64.zip
5星 · 资源好评率100%
TensorFlow 2.6.0 中有 "random_uniform" 函数,可以通过以下方式导入:
```python
from tensorflow.keras.initializers import random_uniform
```
或者:
```python
from tensorflow.keras import backend as K
K.random_uniform(...)
```
阅读全文