complete trainable RNTN