def get_sox_option_t(i=2): r"""Get enum of sox_option_t 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_option_default`` or ``2``) Returns: sox_option_t: A sox_option_t type """ if i is None: return _torch_sox.sox_option_t else: return _torch_sox.sox_option_t(i)
def get_sox_option_t(i=2): """Get enum of sox_option_t 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_option_default. Returns: sox_option_t: a sox_option_t type """ if i is None: return _torch_sox.sox_option_t else: return _torch_sox.sox_option_t(i)