code: def test_times_transpose_sequence_param(device_id, precision):
      dt_precision = PRECISION_TO_TYPE[precision]
  
      from cntk import times_transpose, parameter, sequence, Value
  
      dim = 5
      num_sequences = 2
      seq = [i for i in range(dim)]
      identity = np.identity(dim, dtype=dt_precision)
      input_data = Value.one_hot(
          [seq] * num_sequences, dim, dtype=dt_precision
      )
      input_var = sequence.input_variable(
          shape=(dim), needs_gradient=True, dtype=dt_precision
      )
      e = parameter(shape=(dim,), init=1, dtype=dt_precision)
      z = times_transpose(e, input_var)
      e_grad = z.grad({input_var: input_data}, [e, input_var])
  
imports: from __future__ import division
  import numpy
  import pytest
  import cntk
  from .ops_test_utils import unittest_helper, _test_unary_op, _test_binary_op, AA, precision, PRECISION_TO_TYPE, cntk_device
  from cntk.internal import sanitize_dtype_cntk
  from cntk.internal.utils import _ones_like, eval
label_desc: Use image node_id 14 for calling a global function with example usage: test_times_transpose_sequence_param(device_id, precision) without return types