Measuring Compositionality in Representation Learning