Breaking changes in Spconv 2.x for spconv 1.x users
spconv.xxx
move tospconv.pytorch.xxx
, change allimport spconv
toimport spconv.pytorch as spconv
and fromspconv.xxx import
tofrom spconv.pytorch.xxx import
.use_hash
andfused_bn
in Sparse Convolution is removed, we only use hash table in 2.x.x.features = F.relu(x.features)
now raise error. usex = x.replace_feature(F.relu(x.features))
instead.- weight layout has been changed to RSKC (native algorithm) or KRSC (implicit gemm), no longer RSCK (spconv 1.x). RS is kernel size, C is input channel, K is output channel. 权重布局已更改为 RSKC(本机算法)或 KRSC(隐式 gemm),不再是 RSCK(spconv 1.x)。RS是内核大小,C是输入通道,K是输出通道。
- all util ops are