```py
fashion_model.compile(
    loss = keras.losses.categorical_crossentropy,
    optimizer = tf.keras.optimizers.Adam(),
    metrics = ['accuracy']
)

```

When I execute this line of code I am facing the error 

> 
> module 'tensorflow' has no attribute 'log'
> 
> 
> 

and my tensorflow version is 2.0