



from ..utils import DummyObject, requires_backends



class 						_snake_case					(	metaclass=__snake_case ):





 """simple docstring"""



 lowerCamelCase_								=	['tensorflow_text']
 def __init__(  self		,			*a		,			**a    )		->							Union[str, Any]:




   """simple docstring"""







   requires_backends(self		,			['''tensorflow_text''']    )
from typing import TypeVar

from .arrow_dataset import Dataset, _split_by_node_map_style_dataset
from .iterable_dataset import IterableDataset, _split_by_node_iterable_dataset


lowerCamelCase_				:		List[Any]       						=       TypeVar("""DatasetType""", Dataset, IterableDataset)
def 							lowerCAmelCase(	__lowerCamelCase      ,				__lowerCamelCase      ,				__lowerCamelCase						):
					if isinstance(__lowerCamelCase      ,				__lowerCamelCase						):
										return _split_by_node_map_style_dataset(__lowerCamelCase      ,				rank=__lowerCamelCase      ,				world_size=__lowerCamelCase						)
					else:
										return _split_by_node_iterable_dataset(__lowerCamelCase      ,				rank=__lowerCamelCase      ,				world_size=__lowerCamelCase						)




