Skip to content

dimensionless_feynman_function

Bases: function_dataloader

A dataloader class for dimensionless Feynman equations.

This class extends the function_dataloader to handle dimensionless Feynman equations.

Attributes:

Name Type Description
name str, default = 'dimensionless_feynman_function'

The name of the dataloader instance.

function_list list, default = Dimensionless_Feynman_Equations

The list of dimensionless Feynman equations.

Methods:

Name Description
__init__

Initializes the dataloader for dimensionless Feynman equations.

Source code in tinybig/data/feynman_dataloader.py
class dimensionless_feynman_function(function_dataloader):
    """
    A dataloader class for dimensionless Feynman equations.

    This class extends the `function_dataloader` to handle dimensionless Feynman equations.

    Attributes
    ----------
    name: str, default = 'dimensionless_feynman_function'
        The name of the dataloader instance.
    function_list: list, default = Dimensionless_Feynman_Equations
        The list of dimensionless Feynman equations.

    Methods
    -------
    __init__(name='dimensionless_feynman_function', ...)
        Initializes the dataloader for dimensionless Feynman equations.
    """
    def __init__(self, name='dimensionless_feynman_function', function_list: list = Dimensionless_Feynman_Equations, *args, **kwargs):
        """
        Initializes the dataloader for dimensionless Feynman equations.

        Parameters
        ----------
        name: str, default = 'dimensionless_feynman_function'
            The name of the dataloader instance.
        function_list: list, default = Dimensionless_Feynman_Equations
            The list of dimensionless Feynman equations.

        Returns
        -------
        None
        """
        super().__init__(name=name, function_list=function_list, *args, **kwargs)

__init__(name='dimensionless_feynman_function', function_list=Dimensionless_Feynman_Equations, *args, **kwargs)

Initializes the dataloader for dimensionless Feynman equations.

Parameters:

Name Type Description Default
name

The name of the dataloader instance.

'dimensionless_feynman_function'
function_list list

The list of dimensionless Feynman equations.

Dimensionless_Feynman_Equations

Returns:

Type Description
None
Source code in tinybig/data/feynman_dataloader.py
def __init__(self, name='dimensionless_feynman_function', function_list: list = Dimensionless_Feynman_Equations, *args, **kwargs):
    """
    Initializes the dataloader for dimensionless Feynman equations.

    Parameters
    ----------
    name: str, default = 'dimensionless_feynman_function'
        The name of the dataloader instance.
    function_list: list, default = Dimensionless_Feynman_Equations
        The list of dimensionless Feynman equations.

    Returns
    -------
    None
    """
    super().__init__(name=name, function_list=function_list, *args, **kwargs)