def _is_equal_to_enumatom(self, enumatom):

        return (self.enum == enumatom.enum and self.shape == enumatom.shape
                and numpy.all(self.dflt == enumatom.dflt)
                and self.base == enumatom.base)

    # Special methods
    # ~~~~~~~~~~~~~~~
L2 norm (a.k.a. Euclidean norm) squared.
dataset/ETHPy150Open PyTables/PyTables/tables/atom.py/EnumAtom._is_equal_to_enumatom--crossover with--dataset/ETHPy150Open pfnet/chainer/chainer/functions/math/batch_l2_norm_squared.py/batch_l2_norm_squared