code: def _pack_into_int_7_28(value):
      """Implementation of `pack_into_int` for specific bitranges.
  
      This method corresponts to `(input_bitrange, target_bitrange)` form the
      `pack_into_int` method equal to `(7, 28)`. This method relies on the fact that
      4 values in 7-bit bitrange can be packed into 1 value in 28-bitrange
      (4 = least_common_multiple(7, 28) / 7).
  
      It reshapes the input into matrix of 4 columns and performs operations on the
      columns of the matrix, thus vectorizing the operations and avoiding memory
      overhead of an earlier general implementation.
  
      Args:
        value: An integer Tensor to be packed with values in [0, 2**7 - 1].
  
      Returns:
        An integer Tensor representing `value` of the same dtype as `value`.
      """
      value = tf.reshape(value, [-1])
      extra_zeros = tf.zeros(
          tf.math.mod(-tf.shape(value), 4), value.dtype
      )
      val = tf.reshape(tf.concat([value, extra_zeros], 0), [-1, 4])
  
      packed_val = (
          val[:, 0]
          + val[:, 1] * 2**7
          + val[:, 2] * 2**14
          + val[:, 3] * 2**21
      )
  
      return tf.reshape(packed_val, [-1, 1])
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import logging
  import math
  import numpy
  import tensorflow
label_desc: Use image node_id 12 for calling a global function with example usage: _pack_into_int_7_28(value) and returns: tf