Ejemplo n.º 1
0
def _is_deterministic():
    r"""Returns True if the global deterministic flag is turned on and
    operations are being forced to use a deterministic implementation.

    .. warning::
        This feature is experimental and not complete. The above docstring
        represents what the future behavior is intended to be. Right now,
        the global deterministic flag will only affect `torch.bmm` and
        convolution operators.
    """
    return _C._get_deterministic()
Ejemplo n.º 2
0
def is_deterministic():
    r"""Returns True if the global deterministic flag is turned on. Refer to
    :func:`torch.set_deterministic` documentation for more details.
    """
    return _C._get_deterministic()
Ejemplo n.º 3
0
def is_deterministic():
    r"""Returns True if the global deterministic flag is turned on and
    operations are being forced to use a deterministic implementation.
    """
    return _C._get_deterministic()