class_docstr: [`GroupViTConfig`] is the configuration class to store the configuration of a [`GroupViTModel`]. It is used to
  instantiate a GroupViT model according to the specified arguments, defining the text model and vision model
  configs. Instantiating a configuration with the defaults will yield a similar configuration to that of the GroupViT
  [nvidia/groupvit-gcc-yfcc](https://huggingface.co/nvidia/groupvit-gcc-yfcc) architecture.
  
  Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
  documentation from [`PretrainedConfig`] for more information.
  
  Args:
      text_config (`dict`, *optional*):
          Dictionary of configuration options used to initialize [`GroupViTTextConfig`].
      vision_config (`dict`, *optional*):
          Dictionary of configuration options used to initialize [`GroupViTVisionConfig`].
      projection_dim (`int`, *optional*, defaults to 256):
          Dimentionality of text and vision projection layers.
      projection_intermediate_dim (`int`, *optional*, defaults to 4096):
          Dimentionality of intermediate layer of text and vision projection layers.
      logit_scale_init_value (`float`, *optional*, defaults to 2.6592):
          The inital value of the *logit_scale* parameter. Default is used as per the original GroupViT
          implementation.
      kwargs (*optional*):
          Dictionary of keyword arguments.
docstr: Instantiate a [`GroupViTConfig`] (or a derived class) from groupvit text model configuration and groupvit
  vision model configuration.
  
  Returns:
      [`GroupViTConfig`]: An instance of a configuration object
docstr_tok: ["Instantiate","a","[","`","GroupViTConfig","`","]","(","or","a","derived","class",")","from","groupvit","text","model","configuration","and","groupvit","vision","model","configuration",".","Returns",":","[","`","GroupViTConfig","`","]",":","An","instance","of","a","configuration","object"]
code: def from_text_vision_configs(
      cls,
      text_config: GroupViTTextConfig,
      vision_config: GroupViTVisionConfig,
      **kwargs,
  ):
      r"""
      Instantiate a [`GroupViTConfig`] (or a derived class) from groupvit text model configuration and groupvit
      vision model configuration.
  
      Returns:
          [`GroupViTConfig`]: An instance of a configuration object
      """
  
      return cls(
          text_config=text_config.to_dict(),
          vision_config=vision_config.to_dict(),
          **kwargs,
      )
  
imports: import os
  from collections import OrderedDict
  from typing import TYPE_CHECKING, Any, Mapping, Optional, Union
  from ...configuration_utils import PretrainedConfig
  from ...onnx import OnnxConfig
  from ...utils import logging
label_desc: Use image node_id 2 for calling the GroupViTConfig obj's underlying member method code with example usage: obj.from_text_vision_configs(cls, text_config, vision_config) and returns: cls