print网络模型中的某一层输出为tensor形式,怎么查看这个tensor的详细数据?
想看看网络的详细参数。
def call(self, x): x = self.c1(x) print('c1:',x)
输出:
Tensor("le_net5/conv2d/Sigmoid:0", shape=(32, 24, 24, 6), dtype=float32)
想查看shape中的参数,使用什么函数查看?
print网络模型中的某一层输出为tensor形式,怎么查看这个tensor的详细数据?
想看看网络的详细参数。
def call(self, x): x = self.c1(x) print('c1:',x)
输出:
Tensor("le_net5/conv2d/Sigmoid:0", shape=(32, 24, 24, 6), dtype=float32)
想查看shape中的参数,使用什么函数查看?