code: def get_correct_span_mask(self, correct_index, token_size):
      span_mask = np.zeros((1, token_size))
      span_mask[0, correct_index] = 1
      span_mask = tf.constant(span_mask, dtype="float32")
      return span_mask
  
file_path: neuralqa/neuralqa/reader/bertreader.py
imports: from neuralqa.reader import Reader
  import tensorflow
  import numpy
  import time
  import logging
label_desc: Use image node_id 6 for calling the BERTReader obj's underlying member method code with example usage: obj.get_correct_span_mask(correct_index, token_size) and returns: span_mask