I run a code to test oneflow.var, when I use it to a 2 dimensions tensor, and I set dim parameter equals to -3, core dumped occurs.
Code to reproduce bug
import oneflow as flow
import numpy as np
a = flow.tensor([[1,2,3],[1,2,3]],dtype=flow.float32)
print(a)
dim = -3
variance_a = flow.var(a, dim)
print(variance_a)
Summary
I run a code to test oneflow.var, when I use it to a 2 dimensions tensor, and I set dim parameter equals to -3, core dumped occurs.
Code to reproduce bug
System Information