Closed boknilev closed 5 years ago
What would activations.dim() == 1
mean? I was under the impression that activations
was either a shape (nlayer, len(sent), nneuron)
or (len(sent), nneuron)
tensor.
Because I don't know what this would even mean, my code doesn't handle this case (simply removing the exception may lead to surprises).
Makes sense.
I think it's possible that
activations.dim() == 1
. The new commit excludes this option: https://github.com/johnmwu/contextual-corr-analysis/commit/1a57e51260915b5b9978d683392831c35012f6f8#diff-6956be0ba493db843ef9076f20ff4e3dR42, which existed before. Please double-check.