MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / params

Function params

tools/api.py:662–670  ·  view source on GitHub ↗
(virtual: Optional[Dict[str, str]] = None,
           **kwargs)

Source from the content-addressed store, hash-verified

660
661
662def params(virtual: Optional[Dict[str, str]] = None,
663 **kwargs) -> List[Parameter]:
664 result = []
665 v: Dict[str, str] = virtual or {}
666 for name in v:
667 result.append(Parameter(name, v[name]))
668 for name in kwargs:
669 result.append(Parameter(name, kwargs[name]))
670 return result
671
672
673gparams = params

Callers 1

add_handleFunction · 0.70

Calls 2

ParameterClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected