class_docstr: FaceStylizer for building face stylization model.
  
  Attributes:
    w_avg: An average face latent code to regularize face generation in face
      stylization.
docstr: Creates the components of face stylizer.
docstr_tok: ["Creates","the","components","of","face","stylizer","."]
code: def _create_model(self):
      """Creates the components of face stylizer."""
      self._encoder = model_util.load_keras_model(
          constants.FACE_STYLIZER_ENCODER_MODEL_FILES.get_path()
      )
      self._decoder = model_util.load_keras_model(
          constants.FACE_STYLIZER_DECODER_MODEL_FILES.get_path()
      )
      self._mapping_network = model_util.load_keras_model(
          constants.FACE_STYLIZER_MAPPING_MODEL_FILES.get_path()
      )
      self._discriminator = model_util.load_keras_model(
          constants.FACE_STYLIZER_DISCRIMINATOR_MODEL_FILES.get_path()
      )
      with tf.io.gfile.GFile(
          constants.FACE_STYLIZER_W_FILES.get_path(), "rb"
      ) as f:
          w_avg = np.load(f)
  
      self.w_avg = w_avg[: self._model_spec.style_block_num][np.newaxis]
  
imports: import logging
  import os
  from typing import Any, Callable, Optional
  import zipfile
  import numpy
  import tensorflow
  from mediapipe.model_maker.python.core.data import classification_dataset
  from mediapipe.model_maker.python.core.utils import loss_functions
  from mediapipe.model_maker.python.core.utils import model_util
  from mediapipe.model_maker.python.vision.core import image_preprocessing
  from mediapipe.model_maker.python.vision.face_stylizer import constants
  from mediapipe.model_maker.python.vision.face_stylizer import face_stylizer_options
  from mediapipe.model_maker.python.vision.face_stylizer import hyperparameters
  from mediapipe.model_maker.python.vision.face_stylizer import model_options
  from mediapipe.model_maker.python.vision.face_stylizer import model_spec
  from mediapipe.tasks.python.metadata.metadata_writers import face_stylizer
label_desc: Use image node_id 5 for calling the FaceStylizer obj's underlying member method code with example usage: obj._create_model() without return types