np.array(y_data),...) importpandasaspd#pandasinput_fn.my_input_fn=tf.estimator.inputs.pandas_input_fn(x=pd.DataFrame