We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def __getitem__(self, index): feat_id = index // self.tot_len s_begin = index % self.tot_len s_end = s_begin + self.seq_len r_begin = s_end - self.label_len r_end = r_begin + self.label_len + self.pred_len seq_x = self.data_x[s_begin:s_end, feat_id:feat_id + 1] seq_y = self.data_y[r_begin:r_end, feat_id:feat_id + 1] seq_x_mark = self.data_stamp[s_begin:s_end] seq_y_mark = self.data_stamp[r_begin:r_end] return seq_x, seq_y, seq_x_mark, seq_y_mark
这一段没有看懂
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这一段没有看懂
The text was updated successfully, but these errors were encountered: