code: def sweep_based_schedule_fails():
      with pytest.raises(Exception):
          learning_rate_schedule(
              [1], unit=UnitType.sample, epoch_size=0
          )
  
imports: from __future__ import division, print_function
  import numpy
  import cntk
  from cntk import parameter
  import pytest
  import sys
  import itertools
  from cntk.logging import ProgressPrinter
  from cntk.learners import sgd, learning_rate_schedule, learning_parameter_schedule, UnitType, universal
  from cntk.layers import Dense, Sequential
label_desc: Use image node_id 3 for calling a global function with example usage: sweep_based_schedule_fails() without return types