MCPcopy Create free account
hub / github.com/apple/axlearn / compile

Method compile

axlearn/common/debug_utils.py:32–37  ·  view source on GitHub ↗

Compile the function with provided options.

(
        self, compiler_options: Optional[dict[str, Union[str, bool]]] = None
    )

Source from the content-addressed store, hash-verified

30 self._lowered = lowered
31
32 def compile(
33 self, compiler_options: Optional[dict[str, Union[str, bool]]] = None
34 ) -> _CheckifyCompiledFnWrapper:
35 """Compile the function with provided options."""
36 compiled = self._lowered.compile(compiler_options=compiler_options)
37 return _CheckifyCompiledFnWrapper(compiled)
38
39
40class CheckifyJitFnWrapper:

Callers 15

bastion.pyFile · 0.80
__init__Method · 0.80
utils.pyFile · 0.80
parse_known_argsMethod · 0.80
metrics_vqa.pyFile · 0.80
__init__Method · 0.80
_parse_axesFunction · 0.80
regex_compileFunction · 0.80

Calls 1