human
Give me a Python code to create a random Gaussian distribution noise.
assistant
Here is a Python code to create a random Gaussian distribution noise

import numpy as np

def gaussian_noise(x, mean=0, std=1):
    """Adds gaussian noise to the input."""
    return x + np.random.normal(mean, std, x.shape)

# Enter the matrix
matrix = np.array([[1,2,3],[4,5,6],[7,8,9]])

# Calling the function
print((gaussian_noise(matrix)))

#Example Output

# [[ 2.09743818  3.12087774  3.43034171]
#  [ 4.24370661  4.17469919  6.17390235]
#  [ 8.4264821  10.24042728  9.28104082]]

#Remember to inspect code for bugs.