implement EpisodeNnxnnMatcher