def inference(self, x, w, relaxed=None, return_energy=False):
        self.inference_calls += 1
        scores = np.dot(w.reshape(self.n_states, -1), x)
        if return_energy:
            return np.argmax(scores), np.max(scores)
        return np.argmax(scores)
Return a dict that describes this supershape.
dataset/ETHPy150Open pystruct/pystruct/pystruct/models/unstructured_svm.py/MultiClassClf.inference--crossover with--dataset/ETHPy150Open kobejohn/polymaze/polymaze/shapes.py/Square._make_specification