Home
last modified time | relevance | path

Searched refs:reserve_class_name_in_scope (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/
Dcontext.py90 def reserve_class_name_in_scope(self): member in _ThreadLocalInfo
94 @reserve_class_name_in_scope.setter
95 def reserve_class_name_in_scope(self, reserve_class_name_in_scope): member in _ThreadLocalInfo
97 if not isinstance(reserve_class_name_in_scope, bool):
100 self._reserve_class_name_in_scope = reserve_class_name_in_scope
298 def reserve_class_name_in_scope(self): member in _Context
300 return self._thread_local_info.reserve_class_name_in_scope
302 @reserve_class_name_in_scope.setter
303 def reserve_class_name_in_scope(self, reserve_class_name_in_scope): member in _Context
305 self._thread_local_info.reserve_class_name_in_scope = reserve_class_name_in_scope
[all …]
/third_party/mindspore/tests/st/model_zoo_tests/transformer/
Dtest_transformer.py158 context.set_context(reserve_class_name_in_scope=False, enable_auto_mixed_precision=False)
/third_party/mindspore/tests/st/networks/models/bert/bert_performance/
Dtest_bert_thor.py147 context.set_context(reserve_class_name_in_scope=False)
Dtest_bert_tdt_lossscale.py183 …ext.set_context(mode=context.GRAPH_MODE, device_target="Ascend", reserve_class_name_in_scope=False)
/third_party/mindspore/tests/st/networks/models/bert/bert_precision/
Dtest_bert_tdt_lossscale.py179 …ext.set_context(mode=context.GRAPH_MODE, device_target="Ascend", reserve_class_name_in_scope=False)
/third_party/mindspore/mindspore/nn/
Dcell.py1085 reserve_class_name_in_scope = context.get_context("reserve_class_name_in_scope")
1089 if reserve_class_name_in_scope else ""), cell
1094 … if reserve_class_name_in_scope else "")):