def get_initializers(self):
    """Tensorflow initializers for all relation parameters.

    Returns:
      a list of Tensorflow ops.
    """
    result = super(DistributedNeuralQueryContext, self).get_initializers()
    for rel_name in self.get_relation_names():
      ps = self.get_underlying_parameters(rel_name)
      result.extend([p.initializer for p in ps if p is not None])
    return result
Tensorflow initializers for all relation parameters.

    Returns:
      a list of Tensorflow ops.
    
language/nql/nql/dist.py