code: def identity_features(input, name):
      """Extract features from a face recongnition networks including
      intermadiate activations.
      """
      with tf.variable_scope(name, reuse=True):
          input, embedding, content = arcface50.KitModel(
              "models/fr_models/arcface50.npy", input * 255
          )
          emb_norm = tf.nn.l2_normalize(embedding, 1)
      vars = tf.get_collection(
          tf.GraphKeys.GLOBAL_VARIABLES, scope=name
      )
      return emb_norm, content, embedding, vars
  
file_path: insightface/reconstruction/ostec/core/arcface_handler.py
imports: import tensorflow
  import numpy
  from external import arcface50
  from skimage import transform
label_desc: Use image node_id 3 for calling a global function with example usage: identity_features(input, name) and returns: emb_norm,  content,  embedding,  vars