code: def test_sequence_past_future_delay_value():
      v = C.sequence.input_variable(shape=(2))
      seq_data = np.array(
          [[1.0, 1.0], [2.0, 2.0], [3.0, 3.0]], dtype=np.float32
      )
      future_seq_data = np.array(
          [[2.0, 2.0], [3.0, 3.0], [0.0, 0.0]], dtype=np.float32
      )
      past_seq_data = np.array(
          [[0.0, 0.0], [1.0, 1.0], [2.0, 2.0]], dtype=np.float32
      )
  
      future_v = C.sequence.future_value(v, initial_state=0)
      past_v = C.sequence.past_value(v, initial_state=0)
  
      assert np.allclose(future_v.eval({v: seq_data}), future_seq_data)
      assert np.allclose(past_v.eval({v: seq_data}), past_seq_data)
  
      future_v = C.sequence.delay(v, initial_state=0, time_step=-1)
      past_v = C.sequence.delay(v, initial_state=0, time_step=1)
  
      assert np.allclose(future_v.eval({v: seq_data}), future_seq_data)
      assert np.allclose(past_v.eval({v: seq_data}), past_seq_data)
  
imports: from __future__ import division
  import numpy
  import pytest
  import cntk
  from .ops_test_utils import cntk_device
  from cntk.tests.test_utils import _to_dense, _to_csr
  from .ops_test_utils import unittest_helper, _test_unary_op, _test_binary_op, AA, precision, PRECISION_TO_TYPE, cntk_device
  from cntk import Value
  from cntk.axis import Axis
  from cntk.internal import sanitize_dtype_cntk
  from ..None import constant
label_desc: Use image node_id 7 for calling a global function with example usage: test_sequence_past_future_delay_value() without return types