code: def testInTop2Tie(self):
      # Class 2 and 3 tie for 2nd, so both are considered in top 2.
      predictions = [[0.1, 0.3, 0.2, 0.2], [0.1, 0.3, 0.2, 0.2]]
      target = [2, 3]
      self._validateInTopK(predictions, target, 2, [True, True])
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/math_ops/in_topk_op_test.py
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the InTopKTest obj's underlying member method code with example usage: obj.testInTop2Tie() without return types