code: def out_shape(W, S, stride, dil, pad):
      Q = W - 4
      Q = ((Q + (2 * pad)) - (((S - 1) * dil) + 1)) // stride
      return Q
  
imports: from __future__ import print_function
  import itertools
  import numpy
  from neon.backends import gen_backend
  from neon.layers import Conv, Affine, GeneralizedCost
  from neon.models import Model
  from neon.initializers.initializer import Gaussian
  from neon.transforms import CrossEntropyBinary
  from neon.optimizers import GradientDescentMomentum
  from utils import allclose_with_out
  from neon import NervanaObject
label_desc: Use image node_id 8 for calling a global function with example usage: out_shape(W, S, stride, dil, pad) and returns: Q