def get_action_feature(self, action):
        ''' For some environments such as DouDizhu, we can have action features

        Returns:
            (numpy.array): The action features
        '''
        # By default we use one-hot encoding
        feature = np.zeros(self.num_actions, dtype=np.int8)
        feature[action] = 1
        return feature
 For some environments such as DouDizhu, we can have action features

        Returns:
            (numpy.array): The action features
        
rlcard/envs/env.py