


def 							_lowercase    (		SCREAMING_SNAKE_CASE_   :		int       ,  SCREAMING_SNAKE_CASE_   :		int	):





			"""simple docstring"""




			return int((input_a, input_a).count(0	) == 0	)






def 							_lowercase    (		):





			"""simple docstring"""




			assert and_gate(0       ,  0	) == 0
			assert and_gate(0       ,  1	) == 0
			assert and_gate(1       ,  0	) == 0
			assert and_gate(1       ,  1	) == 1


if __name__ == "__main__":
			test_and_gate()
			print(and_gate(1, 0))
			print(and_gate(0, 0))
			print(and_gate(0, 1))
			print(and_gate(1, 1))








from ...utils import is_torch_available, is_transformers_available


if is_transformers_available() and is_torch_available():
			from .pipeline_vq_diffusion import LearnedClassifierFreeSamplingEmbeddings, VQDiffusionPipeline




