加一句
from tensorflow.python.ops import array_ops_stack
相应的代码:
packed_shape = array_ops.stack(shape)
改为:
packed_shape = array_ops_stack.stack(shape)
加一句
from tensorflow.python.ops import array_ops_stack
相应的代码:
packed_shape = array_ops.stack(shape)
改为:
packed_shape = array_ops_stack.stack(shape)