






'''simple docstring'''





import requests
from bsa import BeautifulSoup



def        __snake_case						(__UpperCAmelCase       ,	__UpperCAmelCase    ):





	"""simple docstring"""
	lowerCamelCase_					:  Any						=    BeautifulSoup(requests.get(__UpperCAmelCase       ,	params=__UpperCAmelCase    ).content       ,	'''html.parser'''    )
	lowerCamelCase_					:  Optional[Any]						=    soup.find('''div'''       ,	attrs={'''class''': '''gs_ri'''}    )
	lowerCamelCase_					:  List[str]						=    div.find('''div'''       ,	attrs={'''class''': '''gs_fl'''}    ).find_all('''a'''    )
	return anchors[2].get_text()


if __name__ == "__main__":
			__lowerCamelCase						:    List[Any]     				=  {
			    """title""": (
			        """Precisely geometry controlled microsupercapacitors for ultrahigh areal """
			        """capacitance, volumetric capacitance, and energy density"""
			    ),
			    """journal""": """Chem. Mater.""",
			    """volume""": 30,
			    """pages""": """3979-3990""",
			    """year""": 2018,
			    """hl""": """en""",
			}
			print(get_citation("""https://scholar.google.com/scholar_lookup""", params=params))












'''simple docstring'''







from torch import nn







def 						_A      ( UpperCAmelCase						):






   '''simple docstring'''







   if act_fn in ["swish", "silu"]:
      return nn.SiLU()
   elif act_fn == "mish":
      return nn.Mish()
   elif act_fn == "gelu":
      return nn.GELU()
   else:
      raise ValueError(F"""Unsupported activation function: {act_fn}"""						)


