『TensorFlow』lookup.index_table_from_tensor查找表映射函数

原文:分布式 tensorflow 源码解读 3:lookup.index_table_from_tensor

将众多Tensor映射为标量0~n(Tensor数目)的方法,返回对象支持对新的Tensor映射到n~更多数目的功能。实现细节见原文。