Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix IT
  • Loading branch information
ycycse committed May 12, 2025
commit f357f15052c1c1cc473ca5f208ccbc9fd39641b2
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ public void testInformationSchema() throws SQLException {
"model_id,",
new HashSet<>(
Arrays.asList(
"_STLForecaster,", "_NaiveForecaster,", "_ARIMA,", "_ExponentialSmoothing,")));
"_timerxl,","_STLForecaster,", "_NaiveForecaster,", "_ARIMA,", "_ExponentialSmoothing,")));

TestUtils.assertResultSetEqual(
statement.executeQuery(
Expand Down
2 changes: 1 addition & 1 deletion iotdb-core/ainode/ainode/core/manager/inference_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def infer(self, full_data, window_interval=None, window_step=None, **kwargs):
if window_interval <= 0 or window_step <= 0 or window_interval > length:
raise InvalidWindowArgumentError(window_interval, window_step, length)

data = torch.tensor(dataset, dtype=torch.float32).unsqueeze(-1)
data = torch.tensor(dataset, dtype=torch.float32).unsqueeze(0)

times = int((length - window_interval) // window_step + 1)
results = []
Expand Down