def get_sox_bool(i=0): """Get enum of sox_bool for sox encodinginfo options. Args: i (int, optional): choose type or get a dict with all possible options use `__members__` to see all options when not specified. Defaults to sox_false. Returns: sox_bool: a sox_bool type """ if i is None: return _torch_sox.sox_bool else: return _torch_sox.sox_bool(i)
def get_sox_bool(i=0): r"""Get enum of sox_bool for sox encodinginfo options. Args: i (int, optional): Choose type or get a dict with all possible options use ``__members__`` to see all options when not specified. (Default: ``sox_false`` or ``0``) Returns: sox_bool: A sox_bool type """ if i is None: return _torch_sox.sox_bool else: return _torch_sox.sox_bool(i)