tensorflow2.x实现Variable,Tensor转化为Numpy

Variable或者Tensor或许有numpy这个属性,直接tensor_name.numpy()或许就可以了。

你可能感兴趣的:(tensorflow应用)