I'm using Tensorflow v2.1.0 which is compiled from source. How can I import any function from conv_utils
module? E.g. convert_data_format()
, conv_output_length()
, normalize_tuple()
, etc.
I wanna create my own convolution/pooling layer. "Everything" almost looks different when I wanna migrate from import keras
to from tensorflow import keras
.
This is what I did
> python -c "from tensorflow.keras.utils import conv_utils"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name 'conv_utils' from 'tensorflow.keras.utils' ...
Thank you.
Try this:
from tensorflow.python.keras.utils import conv_utils
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With