'''simple docstring'''






from dataclasses import dataclass
from typing import List, Optional, Union

import numpy as np
import PIL
from PIL import Image

from ...utils import BaseOutput, is_torch_available, is_transformers_available







@dataclass
# Copied from diffusers.pipelines.stable_diffusion.__init__.StableDiffusionPipelineOutput with Stable->Alt
class lowercase_					(		lowerCAmelCase_ ):







   """simple docstring"""

   __lowerCAmelCase    						=      42
   __lowerCAmelCase    						=      42


if is_transformers_available() and is_torch_available():
   from .modeling_roberta_series import RobertaSeriesModelWithTransformation
   from .pipeline_alt_diffusion import AltDiffusionPipeline
   from .pipeline_alt_diffusion_imgaimg import AltDiffusionImgaImgPipeline




'''simple docstring'''






from sklearn.neural_network import MLPClassifier

_UpperCAmelCase						:    str     					=					[[0.0, 0.0], [1.0, 1.0], [1.0, 0.0], [0.0, 1.0]]
_UpperCAmelCase						:    Any     					=					[0, 1, 0, 0]


_UpperCAmelCase						:    List[Any]     					=					MLPClassifier(
    solver='''lbfgs''', alpha=1E-5, hidden_layer_sizes=(5, 2), random_state=1
)

clf.fit(X, y)


_UpperCAmelCase						:    Optional[Any]     					=					[[0.0, 0.0], [0.0, 1.0], [1.0, 1.0]]
_UpperCAmelCase						:    Tuple     					=					clf.predict(test)





def    _SCREAMING_SNAKE_CASE		(			__snake_case       : Optional[Any]							):
     return list(__snake_case							)


if __name__ == "__main__":
   import doctest

   doctest.testmod()



