Neural networks with capsule units that learn hierarchical relationships and spatial properties better than traditional convolutional layers.