code: def test_slice_with_inferred_static_axis():
      x = C.input_variable(
          shape=(C.InferredDimension, C.InferredDimension, 3)
      )
      padding_shape = (3, C.InferredDimension, 3)
      y = C.splice(C.constant(value=0, shape=padding_shape), x, axis=0)
      assert y.shape == (-1, -1, 3)
      y = C.splice(x, C.constant(value=0, shape=padding_shape), axis=0)
      assert y.shape == (-1, -1, 3)
  
imports: import numpy
  import pytest
  import cntk
  from cntk.ops.functions import Function, UserFunction
  from .ops_test_utils import AA
label_desc: Use image node_id 6 for calling a global function with example usage: test_slice_with_inferred_static_axis() without return types