code: def test_summary_invalid_input(self):
      model = self.model
      with self.assertRaises(ToolkitError):
          model.summary(model.summary("invalid"))
  
      with self.assertRaises(ToolkitError):
          model.summary(model.summary(0))
  
      with self.assertRaises(ToolkitError):
          model.summary(model.summary({}))
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from .util import TempDirectory
  from copy import copy
  import math
  from os import mkdir
  import unittest
  import pytest
  import numpy
  import sys
  import turicreate
  from turicreate.toolkits._internal_utils import _raise_error_if_not_sarray
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits._internal_utils import _mac_ver
label_desc: Use image node_id 17 for calling the ClassifierTestTwoClassesStringLabels obj's underlying member method code with example usage: obj.test_summary_invalid_input() without return types