class_docstr: Test functionality of SkorchDoctor using a simple model
class_docstr_tok: ["Test","functionality","of","SkorchDoctor","using","a","simple","model"]
code: def test_score(self, doctor, data):
      X, y = data
      score_doctor = doctor.score(X, y)
      score_net = doctor.net.score(X, y)
      np.testing.assert_allclose(score_doctor, score_net)
  
imports: import itertools
  from unittest import mock
  import numpy
  import pytest
  import torch
  from torch import nn
label_desc: Use image node_id 22 for calling the TestSkorchDoctorSimple obj's underlying member method code with example usage: obj.test_score(doctor, data) without return types