[Fix] loading model on machine with different accelerator #2207
Annotations
5 errors and 1 warning
pyright:
neuralprophet/df_utils.py#L511
No overloads for "__getitem__" match the provided arguments (reportGeneralTypeIssues)
|
pyright:
neuralprophet/df_utils.py#L511
Argument of type "DataFrame" cannot be assigned to parameter "idx" of type "tuple[Scalar, slice]" in function "__getitem__"
"DataFrame" is incompatible with "tuple[Scalar, slice]" (reportGeneralTypeIssues)
|
pyright:
neuralprophet/df_utils.py#L517
No overloads for "__getitem__" match the provided arguments (reportGeneralTypeIssues)
|
pyright:
neuralprophet/df_utils.py#L517
Argument of type "DataFrame" cannot be assigned to parameter "idx" of type "tuple[Scalar, slice]" in function "__getitem__"
"DataFrame" is incompatible with "tuple[Scalar, slice]" (reportGeneralTypeIssues)
|
pyright
4 errors
|
pyright:
neuralprophet/forecaster.py#L1008
Expression value is unused (reportUnusedExpression)
|