Searched refs:t_size (Results 1 – 5 of 5) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/ |
D | dynamic_gru_v2_grad_fission.cc | 35 size_t t_size = 0; variable 80 if (cur_t < t_size - 1) { in CreateGRUV2HiddenGradCellNode() 125 for (size_t i = 0; i < t_size; ++i) { in AddTLoopNode() 159 …unc_graph, dynamic_gru_v2_grad_cnode, last_hidden_grad_node, last_matmul_node, gate_order, t_size); in AddTLoopNode() 169 for (size_t i = 0; i < t_size; i++) { in AddTConcatNode() 170 auto gru_hidden_grad_node_i = gru_hidden_grad_nodes[t_size - 1 - i]; in AddTConcatNode() 179 std::vector<size_t> concat_output_shape = {t_size, out_dims[kDim1], out_dims[kDim2]}; in AddTConcatNode() 182 AnfAlgo::SetNodeAttr(kAttrN, MakeValue(SizeToLong(t_size)), concat_t_node); in AddTConcatNode() 183 …AnfAlgo::SetNodeAttr(kAttrDynInputSizes, MakeValue(std::vector<int64_t>{SizeToLong(t_size)}), conc… in AddTConcatNode() 201 if (t_size > 1) { in AddGRUHiddenGradNode() [all …]
|
D | dynamic_rnn_grad_fission_v2.cc | 48 size_t t_size = AnfAlgo::GetOutputInferShape(dynamic_rnn_grad_cnode->input(kIndex9), 0)[0]; in CreateTLoopNode() local 51 for (size_t i = 0; i < t_size; ++i) { in CreateTLoopNode() 485 auto t_size = origin_input7_shape[0]; in CreateValueNode() local 488 std::vector<size_t> shape = {t_size, IntToSize(1), n_size}; in CreateValueNode() 489 std::vector<int64_t> output_shape = {SizeToLong(t_size), SizeToLong(1), SizeToLong(n_size)}; in CreateValueNode() 490 std::vector<int64_t> output_tensor = {SizeToLong(t_size) * SizeToLong(n_size)}; in CreateValueNode() 542 size_t t_size = AnfAlgo::GetOutputInferShape(dynamic_rnn_grad_cnode->input(kIndex7), 0)[0]; in Process() local 549 if (t_size != 1) { in Process() 559 if (t_size != 1) { in Process()
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
D | glX_proto_recv.py | 163 t_size = te.get_element_size() 165 if t_size > 1 and t.glx_name: 171 real_name = self.real_types[t_size] 177 print ' x.dst = bswap_%u(*(%s *) src);' % (t_size * 8, real_name)
|
/third_party/python/Python/ |
D | suggestions.c | 68 size_t t_size = a_size; a_size = b_size; b_size = t_size; in levenshtein_distance() local
|
/third_party/python/Objects/ |
D | typeobject.c | 2218 size_t t_size = type->tp_basicsize; in extra_ivars() local 2221 assert(t_size >= b_size); /* Else type smaller than base! */ in extra_ivars() 2224 return t_size != b_size || in extra_ivars() 2228 type->tp_weaklistoffset + sizeof(PyObject *) == t_size && in extra_ivars() 2230 t_size -= sizeof(PyObject *); in extra_ivars() 2232 type->tp_dictoffset + sizeof(PyObject *) == t_size && in extra_ivars() 2234 t_size -= sizeof(PyObject *); in extra_ivars() 2236 return t_size != b_size; in extra_ivars()
|