赞
踩
1.更新tensorflow的版本
2.更新keras的版本
3.import tensorflow as tf
4.
train_dataset = tf.keras.preprocessing.timeseries_dataset_from_array(
raw_data[:-delay],
targets=temperature[delay:],
sampling_rate=sampling_rate,
sequence_length=sequence_length,
shuffle=True,
batch_size=batch_size,
start_index=0,
end_index=num_train_samples
)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。