Home
last modified time | relevance | path

Searched refs:is_parameter (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mindspore/tests/ut/python/parallel/
Dtest_stridedslice.py26 …(self, weight, w2, begin, end, strides, strategy1=None, strategy2=None, is_parameter=True, mask=0): argument
30 if is_parameter:
82 … net = Net(_w1, _w2, (0, 0, 0), (128, 64, 32), (1, 1, 1), strategy1, strategy2, is_parameter=True)
91 … net = Net(_w1, _w2, (0, 0, 0), (128, 64, 32), (1, 1, 2), strategy1, strategy2, is_parameter=True)
100 …net = Net(_w1, _w2, (0, 0, 0), (128, 64, 32), (1, 1, 1), strategy1, strategy2, is_parameter=True, …
109 net = Net(_w1, _w2, (0, 0), (128, 64), (1, 1), strategy1, strategy2, is_parameter=True)
117 … net = Net(_w1, _w2, (0, 0, 0), (128, 64, 32), (1, 1, 1), strategy1, strategy2, is_parameter=True)
125 … net = Net(_w1, _w2, (0, 0, 0), (128, 64, 32), (1, 1, 1), strategy1, strategy2, is_parameter=False)
133 … net = Net(_w1, _w2, (0, 0, 0), (128, 64, 32), (1, 1, 1), strategy1, strategy2, is_parameter=True)
Dtest_o2_level.py48 …(self, weight, w2, begin, end, strides, strategy1=None, strategy2=None, is_parameter=True, mask=0): argument
52 if is_parameter:
109 strategy1, strategy2, is_parameter=True)
120 strategy1, strategy2, is_parameter=True)
131 strategy1, strategy2, is_parameter=True, mask=1)
142 strategy1, strategy2, is_parameter=True)
152 strategy1, strategy2, is_parameter=True)
162 strategy1, strategy2, is_parameter=False)
172 strategy1, strategy2, is_parameter=True)
Dtest_tile.py25 def __init__(self, weight, weight2, strategy1=None, strategy2=None, is_parameter=True): argument
29 if is_parameter:
56 def __init__(self, weight, strategy1=None, strategy2=None, is_parameter=True): argument
60 if is_parameter:
93 net = Net(_w1, _w2, strategy1, strategy2, is_parameter=True)
101 net = Net(_w1, _w2, strategy1, strategy2, is_parameter=True)
109 net = Net(_w1, _w2, strategy1, strategy2, is_parameter=False)
117 net = Net(_w1, _w2, strategy1, strategy2, is_parameter=False)
Dtest_concat.py24 def __init__(self, weight, weight2, strategy1=None, strategy2=None, is_parameter=True): argument
27 if is_parameter:
54 def __init__(self, weight, weight2, weight3, strategy1=None, strategy2=None, is_parameter=True): argument
57 if is_parameter:
95 net = Net(_w1, _w2, strategy1, strategy2, is_parameter=True)
103 net = Net(_w1, _w2, strategy1, strategy2, is_parameter=True)
111 net = Net(_w1, _w2, strategy1, strategy2, is_parameter=False)
Dtest_model_without_loss.py47 def __init__(self, weight, weight2, strategy1=None, strategy2=None, is_parameter=True): argument
50 if is_parameter:
77 def __init__(self, weight, weight2, weight3, strategy1=None, strategy2=None, is_parameter=True): argument
80 if is_parameter:
121 net = Net(_w1, _w2, strategy1, strategy2, is_parameter=True)
130 net = Net(_w1, _w2, strategy1, strategy2, is_parameter=True)
139 net = Net(_w1, _w2, strategy1, strategy2, is_parameter=False)
Dtest_slice.py26 def __init__(self, weight, w2, begin, end, strategy1=None, strategy2=None, is_parameter=True): argument
30 if is_parameter:
80 net = Net(_w1, _w2, (0, 0, 0), (128, 64, 32), strategy1, strategy2, is_parameter=True)
96 net = Net(_w1, _w2, (0, 0, 0), (128, 64, 32), strategy1, strategy2, is_parameter=False)
104 net = Net(_w1, _w2, (0, 0, 0), (128, 64, 32), strategy1, strategy2, is_parameter=True)
Dtest_broadcast_to.py26 def __init__(self, weight1, strategy1=None, strategy2=None, is_parameter=True): argument
31 if is_parameter:
43 def __init__(self, weight1, strategy1=None, strategy2=None, strategy3=None, is_parameter=True): argument
49 if is_parameter:
Dtest_pack.py27 def __init__(self, weight1, weight2, axis=0, strategy1=None, strategy2=None, is_parameter=True): argument
31 if is_parameter:
58 …init__(self, weight1, weight2, weight3, axis=0, strategy1=None, strategy2=None, is_parameter=True): argument
62 if is_parameter:
/third_party/mindspore/tests/st/debugger/
Dtest_sync_trans_true_read_tensor.py45 slot=0, iteration=2, device_id=0, root_graph_id=0, is_parameter=True)
48 slot=0, iteration=2, device_id=0, root_graph_id=0, is_parameter=False)
51 slot=1, iteration=2, device_id=0, root_graph_id=0, is_parameter=False)
76 f_write.write("is_parameter = " + str(tensor_info[x].is_parameter) + "\n")
Dtest_sync_trans_false_read_tensors.py45 slot=0, iteration=2, device_id=0, root_graph_id=0, is_parameter=True)
48 slot=0, iteration=2, device_id=0, root_graph_id=0, is_parameter=False)
51 slot=1, iteration=2, device_id=0, root_graph_id=0, is_parameter=False)
76 f_write.write("is_parameter = " + str(tensor_info[x].is_parameter) + "\n")
Dtest_async_sink_mode_true_read_tensors.py44 slot=0, iteration=2, device_id=0, root_graph_id=1, is_parameter=False)
48 slot=1, iteration=2, device_id=0, root_graph_id=1, is_parameter=False)
73 f_write.write("is_parameter = " + str(tensor_info[x].is_parameter) + "\n")
/third_party/mindspore/tests/st/debugger/golden/
Dsync_trans_true_read_tensors.expected8 is_parameter = True
50 is_parameter = False
92 is_parameter = False
Dsync_trans_false_read_tensors.expected8 is_parameter = True
50 is_parameter = False
67 is_parameter = False
Dasync_sink_mode_true_read_tensors.expected8 is_parameter = False
22 is_parameter = False
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dnode_info.cc64 std::vector<bool> is_parameter; in ExtractInputParameterByNode() local
88 is_parameter.push_back(ParameterRequireGrad(input_parameter)); in ExtractInputParameterByNode()
90 is_parameter.push_back(false); in ExtractInputParameterByNode()
93 return is_parameter; in ExtractInputParameterByNode()
/third_party/mindspore/tests/ut/python/pipeline/parse/
Dtest_isinstance.py48 is_parameter = isinstance(self.weight, Parameter)
66 return is_int, is_float, is_bool, bool_is_int, is_string, is_parameter, \
/third_party/python/Lib/test/
Dtest_symtable.py140 self.assertTrue(self.spam.lookup(sym).is_parameter())
141 self.assertFalse(self.spam.lookup("x").is_parameter())
/third_party/mindspore/mindspore/core/ir/
Dmeta_tensor.h172 bool is_parameter() const { return is_parameter_; } in is_parameter() function
/third_party/python/Lib/
Dsymtable.py242 def is_parameter(self): member in Symbol
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Doperator_info.cc1511 Status OperatorInfo::set_is_parameter(const std::vector<bool> &is_parameter) { in set_is_parameter() argument
1512 if (is_parameter.size() != inputs_shape_.size()) { in set_is_parameter()
1513 MS_LOG(ERROR) << "Is_parameter: " << is_parameter.size() in set_is_parameter()
1517 is_parameter_ = is_parameter; in set_is_parameter()
1518 operator_cost()->set_is_parameter(is_parameter); in set_is_parameter()
Doperator_info.h75 Status set_is_parameter(const std::vector<bool> &is_parameter);
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dtflite_lstm_cell_fusion.cc304 auto is_parameter = std::make_shared<CondVar>(IsParameterNode); in DefinePattern() local
305 MS_CHECK_TRUE_RET(is_parameter != nullptr, {}); in DefinePattern()
306 VectorRef tensor_list_stack_node = VectorRef({is_tensor_list_stack, while_output, is_parameter}); in DefinePattern()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_auto_parallel.cc789 std::vector<bool> is_parameter; in AugmentCostGraph() local
792 is_parameter.push_back(ParameterRequireGrad(casted_target_parameter)); in AugmentCostGraph()
793 if (tmp_identity_ptr->set_is_parameter(is_parameter) != SUCCESS) { in AugmentCostGraph()
/third_party/python/Doc/library/
Dsymtable.rst139 .. method:: is_parameter()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp6702 bool is_parameter = true; in PrepareObjects() local
6704 while (is_parameter) in PrepareObjects()
6706 is_parameter = false; in PrepareObjects()
6728 is_parameter = true; in PrepareObjects()
7045 bool is_parameter = true; in PrepareObjects() local
7047 while (is_parameter) in PrepareObjects()
7049 is_parameter = false; in PrepareObjects()
7073 is_parameter = true; in PrepareObjects()
9684 bool is_parameter = true; in PrepareObjects() local
9686 while (is_parameter) in PrepareObjects()
[all …]

12