提交 a219fdb0 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Update generated Python Op docs.

Change: 125400645
上级 4093a847
......@@ -2403,9 +2403,9 @@ estimator = LinearClassifier(
))
# Input builders
def input_fn_train: # returns x, y, where y is a tensor of dimension 1
def input_fn_train: # returns x, y
...
def input_fn_eval: # returns x, y, where y is a tensor of dimension 1
def input_fn_eval: # returns x, y
...
estimator.fit(input_fn=input_fn_train)
estimator.evaluate(input_fn=input_fn_eval)
......@@ -2767,9 +2767,9 @@ estimator = LinearRegressor(
feature_columns=[occupation, education_x_occupation])
# Input builders
def input_fn_train: # returns x, y, where y is a tensor of dimension 1
def input_fn_train: # returns x, y
...
def input_fn_eval: # returns x, y, where y is a tensor of dimension 1
def input_fn_eval: # returns x, y
...
estimator.fit(input_fn=input_fn_train)
estimator.evaluate(input_fn=input_fn_eval)
......
......@@ -18,9 +18,9 @@ estimator = LinearRegressor(
feature_columns=[occupation, education_x_occupation])
# Input builders
def input_fn_train: # returns x, y, where y is a tensor of dimension 1
def input_fn_train: # returns x, y
...
def input_fn_eval: # returns x, y, where y is a tensor of dimension 1
def input_fn_eval: # returns x, y
...
estimator.fit(input_fn=input_fn_train)
estimator.evaluate(input_fn=input_fn_eval)
......
......@@ -35,9 +35,9 @@ estimator = LinearClassifier(
))
# Input builders
def input_fn_train: # returns x, y, where y is a tensor of dimension 1
def input_fn_train: # returns x, y
...
def input_fn_eval: # returns x, y, where y is a tensor of dimension 1
def input_fn_eval: # returns x, y
...
estimator.fit(input_fn=input_fn_train)
estimator.evaluate(input_fn=input_fn_eval)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册