tensorflow

tensor.get_shape()--获取tensor形状   tensor.get_shape().as_list()--将元组转化成list形式

原文地址:https://www.cnblogs.com/dolphin-bamboo/p/10237550.html