def __pow__(self, other):
assert np.all(self._all_dims_active == range(self.input_dim)), "<STR_LIT>"<EOL>assert np.all(other._all_dims_active == range(other.input_dim)), "<STR_LIT>"<EOL>other._all_dims_active += self.input_dim<EOL>return self.prod(other)<EOL>
Shortcut for tensor `prod`.