GRATIS: Deep Learning Graph Representation with Task-specific Topology and Multi-dimensional Edge Features