reshape (t, [-1])表示将张量t展平为一维def reshape(tensor, shape, name=None): ... 一直以为reshape(-1,)会变成一维的,然后变成一个标量; import tensorflow as tf ...
確定! 回上一頁