def phi(self, s, terminal):
        if terminal or self.features_num == 0:
            return np.zeros(self.features_num, 'bool')
        else:
            return self.phi_nonTerminal(s)
Returns :py:meth:`~rlpy.Representations.Representation.Representation.phi_nonTerminal`
dataset/ETHPy150Open rlpy/rlpy/rlpy/Representations/Representation.py/Representation.phi