flash/data/base_viz.py
def show(self, batch: Dict[str, Any], running_stage: RunningStage, func_names_list: List[str]) -> None:
        """
        Override this function when you want to visualize a composition.
        """
        # filter out the functions to visualise
        func_names_set: Set[str] = set(func_names_list) & set(_CALLBACK_FUNCS)
        if len(func_names_set) == 0:
            raise MisconfigurationException(f"Invalid function names: {func_names_list}.")

        for func_name in func_names_set:
            hook_name = f"show_{func_name}"
            if _is_overriden(hook_name, self, BaseVisualization):
                getattr(self, hook_name)(batch[func_name], running_stage)

        Override this function when you want to visualize a composition.
        
Override this function when you want to visualize a composition.
Override this function when you want to visualize a composition .
def show(self, batch: Dict[str, Any], running_stage: RunningStage, func_names_list: List[str]) -> None:
        func_names_set: Set[str] = set(func_names_list) & set(_CALLBACK_FUNCS)
        if len(func_names_set) == 0:
            raise MisconfigurationException(f"Invalid function names: {func_names_list}.")
        for func_name in func_names_set:
            hook_name = f"show_{func_name}"
            if _is_overriden(hook_name, self, BaseVisualization):
                getattr(self, hook_name)(batch[func_name], running_stage)
def show ( self , batch : Dict [ str , Any ] , running_stage : RunningStage , func_names_list : List [ str ] ) -> None : func_names_set : Set [ str ] = set ( func_names_list ) & set ( _CALLBACK_FUNCS ) if len ( func_names_set ) == 0 : raise MisconfigurationException ( f"Invalid function names: {func_names_list}." ) for func_name in func_names_set : hook_name = f"show_{func_name}" if _is_overriden ( hook_name , self , BaseVisualization ) : getattr ( self , hook_name ) ( batch [ func_name ] , running_stage )
Override this function when you want to visualize a composition.
Override this function when you want to visualize a composition .
"""
        Override this function when you want to visualize a composition.
        """ # filter out the functions to visualise
self
batch
Dict[str, Any]
running_stage
RunningStage
func_names_list
List[str]