TensorFlow 1.4文档提供了演示Dataset.from_generator的用法的代码。当我运行的代码,我得到一个InvalidArgumentError:0-th value returned by pyfunc_0 is int32, but expects int64。 我使用Python 3.6.1。这里的代码: def gen():
for i in itertoo
def model_fn(features, labels, mode, params):
"""Model function for Estimator."""
# Connect the first hidden layer to input layer
# (features["x"]) with relu activation
first_hidd