MCPcopy
hub / github.com/huggingface/transformers / update

Method update

src/transformers/utils/generic.py:486–487  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

484 raise Exception(f"You cannot use ``pop`` on a {self.__class__.__name__} instance.")
485
486 def update(self, *args, **kwargs):
487 raise Exception(f"You cannot use ``update`` on a {self.__class__.__name__} instance.")
488
489 def __getitem__(self, k):
490 if isinstance(k, str):

Callers 15

propagate_frozensetFunction · 0.45
_merge_args_dictsFunction · 0.45
auto_class_docstringFunction · 0.45
__setitem__Method · 0.45
registerMethod · 0.45
_sanitize_parametersMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
preprocessMethod · 0.45
_sanitize_parametersMethod · 0.45
_sanitize_parametersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected