code: def build_toy_dataset(N, w, noise_std=0.1):
      D = len(w)
      x = np.random.randn(N, D).astype(np.float32)
      y = np.dot(x, w) + np.random.normal(0, noise_std, size=N)
      return x, y
  
file_path: edward/tests/inferences/laplace_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import edward
  import numpy
  import tensorflow
  from edward.models import MultivariateNormalDiag, MultivariateNormalTriL, Normal
label_desc: Use image node_id 1 for calling a global function with example usage: build_toy_dataset(N, w, noise_std) and returns: x,  y