updated: tried the code and still got the same error: import tensorflow as tf x = tf.placeholder(dtype, shape=shape, name=name) And then this error shows up. TypeError: ‘NoneType’ object is not callable dtype, shape, name Continue reading...