In the CoffeeRoastingNumpy lab, the ‘adapt()’ is a new function I wasn’t aware of, and to fully grasp the implementation, I created a (4,2) array, then applied the adapt function to learn the variance and mean, when I printed out the result I got an error .

Error Message:

Failed to find data adapter that can handle input: <class ‘NoneType’>, <class ‘NoneType’>

The code:

```
import numpy as np
x = np.array([[10, 20, 50,100],[1,2,3,4]])
x = x.transpose()
from keras import layers
import tensorflow as tf
x_norm = tf.keras.layers.Normalization(axis=-1)
x_norm.adapt(x)
xn = x_norm(x)
```