Home
last modified time | relevance | path

Searched refs:guarded_code (Results 1 – 5 of 5) sorted by relevance

/external/pytorch/torch/csrc/dynamo/
Dcache_entry.cpp7 CacheEntry::CacheEntry(const py::handle& guarded_code, PyObject* backend) in CacheEntry() argument
9 this->check_fn = guarded_code.attr("check_fn"); in CacheEntry()
10 this->code = guarded_code.attr("code"); in CacheEntry()
11 this->compile_id = guarded_code.attr("compile_id"); in CacheEntry()
Dextra_state.cpp158 PyObject* guarded_code, in create_cache_entry() argument
160 extra_state->cache_entry_list.emplace_front(guarded_code, backend); in create_cache_entry()
166 py::handle check_fn = py::handle(guarded_code).attr("check_fn"); in create_cache_entry()
Dcache_entry.h55 CacheEntry(const py::handle& guarded_code, PyObject* backend);
/external/pytorch/torch/_dynamo/
Dmutation_guard.py33 def track(self, guarded_code): argument
34 self.watchers.append(weakref.ref(guarded_code))
37 def watch(obj, guarded_code): argument
44 tracker.track(guarded_code)
Dconvert_frame.py801 guarded_code = GuardedCode(out_code, check_fn.check_fn, compile_id)
811 return guarded_code
922 guarded_code = None
924 guarded_code = compile_inner(code, one_graph, hooks, transform)
925 return guarded_code
1035 guarded_code is not None,