@@ -0,0 +1,788 @@
+#!/usr/bin/env python%0A# -*- coding: utf-8 -*-%0A# File: dispatcher.py%0A# Author: Yuxin Wu %3Cppwwyyxxc@gmail.com%3E%0Afrom ..tfutils.common import get_op_tensor_name%0A%0A__all__ = %5B'OutputTensorDispatcer'%5D%0A%0Aclass OutputTensorDispatcer(object):%0A    def __init__(self):%0A        self._names = %5B%5D%0A        self._idxs = %5B%5D%0A%0A    def add_entry(self, names):%0A        v = %5B%5D%0A        for n in names:%0A            tensorname = get_op_tensor_name(n)%5B1%5D%0A            if tensorname in self._names:%0A                v.append(self._names.index(tensorname))%0A            else:%0A                self._names.append(tensorname)%0A                v.append(len(self._names) - 1)%0A        self._idxs.append(v)%0A%0A    def get_all_names(self):%0A        return self._names%0A%0A    def get_idx_for_each_entry(self):%0A        return self._idxs%0A

add missing file