
    1Vhd                        d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z  ddl!m"Z"  ejF                  e$      Z% ejL                  d      ejN                  ejP                  ejR                  ejT                  ejV                  e
jX                  ejZ                  ej\                  ej^                  ej`                  ejb                  ejd                  ejf                  e jh                  e"jj                  gZ6d Z7d Z8d Z9y)a  Collection of first-party plugins.

This module exists to isolate tensorboard.program from the potentially
heavyweight build dependencies for first-party plugins. This way people
doing custom builds of TensorBoard have the option to only pay for the
dependencies they want.

This module also grants the flexibility to those doing custom builds, to
automatically inherit the centrally-maintained list of standard plugins,
for less repetition.
    N)audio_plugin)core_plugin)custom_scalars_plugin)debugger_v2_plugin)distributions_plugin)graphs_plugin)histograms_plugin)hparams_plugin)images_plugin)metrics_plugin)pr_curves_plugin)profile_redirect_plugin)scalars_plugin)text_plugin)mesh_plugin)wit_redirect_pluginT)include_debug_infoc                  ,    t               t               z   S )a  Returns a list specifying all known TensorBoard plugins.

    This includes both first-party, statically bundled plugins and
    dynamic plugins.

    This list can be passed to the `tensorboard.program.TensorBoard` API.

    Returns:
      The list of default first-party plugins.
    )get_static_pluginsget_dynamic_plugins     C/home/dcms/DCMS/lib/python3.12/site-packages/tensorboard/default.pyget_pluginsr   K   s     "5"777r   c                      t         dd S )a  Returns a list specifying TensorBoard's default first-party plugins.

    Plugins are specified in this list either via a TBLoader instance to load the
    plugin, or the TBPlugin class itself which will be loaded using a BasicLoader.

    This list can be passed to the `tensorboard.program.TensorBoard` API.

    Returns:
      The list of default first-party plugins.

    :rtype: list[Type[base_plugin.TBLoader] | Type[base_plugin.TBPlugin]]
    N)_PLUGINSr   r   r   r   r   Y   s     A;r   c                  n    t        j                  d      D  cg c]  } | j                          c} S c c} w )a  Returns a list specifying TensorBoard's dynamically loaded plugins.

    A dynamic TensorBoard plugin is specified using entry_points [1] and it is
    the robust way to integrate plugins into TensorBoard.

    This list can be passed to the `tensorboard.program.TensorBoard` API.

    Returns:
      The list of dynamic plugins.

    :rtype: list[Type[base_plugin.TBLoader] | Type[base_plugin.TBPlugin]]

    [1]: https://packaging.python.org/specifications/entry-points/
    tensorboard_plugins)pkg_resourcesiter_entry_pointsresolve)entry_points    r   r   r   j   s;    " )::!
 	  s   2):__doc__loggingr   tensorboard.plugins.audior   tensorboard.plugins.corer   !tensorboard.plugins.custom_scalarr   tensorboard.plugins.debugger_v2r    tensorboard.plugins.distributionr   tensorboard.plugins.graphr   tensorboard.plugins.histogramr	   tensorboard.plugins.hparamsr
   tensorboard.plugins.imager   tensorboard.plugins.metricsr   tensorboard.plugins.pr_curver   $tensorboard.plugins.profile_redirectr   tensorboard.plugins.scalarr   tensorboard.plugins.textr   tensorboard.plugins.meshr    tensorboard.plugins.wit_redirectr   	getLogger__name__loggerCorePluginLoaderMetricsPluginScalarsPluginCustomScalarsPluginImagesPluginAudioPluginDebuggerV2PluginGraphsPluginDistributionsPluginHistogramsPlugin
TextPluginPrCurvesPluginProfileRedirectPluginLoaderHParamsPlugin
MeshPluginWITRedirectPluginLoaderr   r   r   r   r   r   r   <module>rH      s  
   2 0 C > A 3 ; 6 3 6 9 H 5 0 0 @ 
		8	$ !K  D9    --'',,&&##77  //!(8"r   