Searched refs:reserve_class_name_in_scope (Results 1 – 6 of 6) sorted by relevance
90 def reserve_class_name_in_scope(self): member in _ThreadLocalInfo94 @reserve_class_name_in_scope.setter95 def reserve_class_name_in_scope(self, reserve_class_name_in_scope): member in _ThreadLocalInfo97 if not isinstance(reserve_class_name_in_scope, bool):100 self._reserve_class_name_in_scope = reserve_class_name_in_scope298 def reserve_class_name_in_scope(self): member in _Context300 return self._thread_local_info.reserve_class_name_in_scope302 @reserve_class_name_in_scope.setter303 def reserve_class_name_in_scope(self, reserve_class_name_in_scope): member in _Context305 self._thread_local_info.reserve_class_name_in_scope = reserve_class_name_in_scope[all …]
158 context.set_context(reserve_class_name_in_scope=False, enable_auto_mixed_precision=False)
147 context.set_context(reserve_class_name_in_scope=False)
183 …ext.set_context(mode=context.GRAPH_MODE, device_target="Ascend", reserve_class_name_in_scope=False)
179 …ext.set_context(mode=context.GRAPH_MODE, device_target="Ascend", reserve_class_name_in_scope=False)
1085 reserve_class_name_in_scope = context.get_context("reserve_class_name_in_scope")1089 if reserve_class_name_in_scope else ""), cell1094 … if reserve_class_name_in_scope else "")):