Djsopnet: support explicit slice and segment test in front-end