def _get_relative(self, relative_type, node):
        redis_key = self._gen_key(node, [relative_type, ])

        self.logger.debug("get %(relative_type)s of node %(node)s, "\
            "requested key: %(key)s" % {
            'relative_type': relative_type,
            'node' : node,
            'key' : redis_key
            }
        )

        return self._encode_set(self.connexion.smembers(redis_key))
Sets the weights of the layer.
dataset/ETHPy150Open kakwa/pygraph_redis/pygraph_redis/directed_graph.py/Directed_graph._get_relative--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/mlp.py/Layer.set_weights