code: def test_unsupported_layer():
      layer = Layer()
      with pytest.raises(TypeError):
          layer.allocate(accumulate_updates=True)
  
      with pytest.raises(BufferError):
          layer.set_acc_on(True)
  
imports: from utils import tensors_allclose, allclose_with_out
  import numpy
  import pytest
  from neon import NervanaObject
  from neon.initializers.initializer import Uniform
  from neon.layers.layer import Convolution, Deconvolution, Layer, Linear, Bias, BatchNorm
  from neon.layers.container import Sequential
label_desc: Use image node_id 7 for calling a global function with example usage: test_unsupported_layer() without return types