code: def container_setup(layer, in_shape, deltas_buffer):
      """
      Generic layer setup
      """
      layer.configure([in_shape, in_shape])
      layer.prev_layer = True
      with pytest.raises(BufferError):
          layer.set_acc_on(True)
      layer.allocate(accumulate_updates=True)
  
      layer.allocate_deltas(deltas_buffer)
      deltas_buffer.allocate_buffers()
      layer.set_deltas(deltas_buffer)
  
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 3 for calling a global function with example usage: container_setup(layer, in_shape, deltas_buffer) without return types