import tensorflow as tf

  Parameters
  ----------
  shape: Tuple of integers, shape of returned Keras variable
  dtype: Tensorflow dtype 
  name: String, name of returned Keras variable

  Returns
  -------
  A variable (including Keras metadata), filled with `0.0`.
  """
  shape = tuple(map(int, shape))
  return tf.Variable(
      tf.constant_initializer(0., dtype=dtype)(shape), dtype, name)


def cosine_distances(test, support):
  """Computes pairwise cosine distances between provided tensors

  Parameters
  ----------
  test: tf.Tensor
    Of shape (n_test, n_feat)
  support: tf.Tensor
    Of shape (n_support, n_feat)
