INNER CODE UNIT · Python

__call__

IDSIA/sacred · sacred/run.py:196

    def __call__(self, *args):
        r"""Start this run.

        Parameters
        ----------
        \*args
            parameters passed to the main function

        Returns
        -------
            the return value of the main function

        """
        if self.start_time is not None:
            raise RuntimeError(
                "A run can only be started once. "
                "(Last start was {})".format(self.start_time)
            )

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…