This function drops the last dimension of a NeuroVec object if it is of length 1.
This function drops the last dimension of a NeuroVec object if it is of length 1.
Value
If the last dimension of the NeuroVec object is of length 1, a DenseNeuroVol object is returned. Otherwise, the original NeuroVec object is returned.
If the last dimension of the NeuroVec object is of length 1, a DenseNeuroVol object is returned. Otherwise, the original NeuroVec object is returned.