code: def _int64_feature(value: Union[int, Iterable[int]]) -> "Feature":
      """Inserts int64 features into Example proto."""
      import tensorflow as tf
  
      if not isinstance(value, list):
          value = [value]  # type: ignore
      return tf.train.Feature(
          int64_list=tf.train.Int64List(value=value)
      )
  
imports: import math
  import os
  import random
  from typing import TYPE_CHECKING, Iterable, List, Mapping, Union, Tuple
  from bigdl.dllib.utils.log4Error import invalidInputError
label_desc: Use image node_id 6 for calling a global function with example usage: _int64_feature(value) and returns: tf