Home
last modified time | relevance | path

Searched defs:num_directions (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/core/ops/
Dlstm.cc55 int64_t num_directions = GetValue<int64_t>(primitive->GetAttr(kNumDirections)); in LstmInfer() local
139 void LSTM::set_num_directions(const int64_t num_directions) { in set_num_directions()
/third_party/mindspore/mindspore/lite/tools/converter/parser/
Dlstm_adjust_pass.cc70 TypeId data_type, bool is_bias = false, size_t num_directions = 1) { in InitLstmWeight()
153 size_t num_directions = primitive_c->get_bidirectional() ? kBirectionalNums : 1; in ReplaceLstmNode() local
/third_party/mindspore/tests/st/ops/ascend/
Dtest_rnn_op.py50 … def __init__(self, num_layers, has_bias, input_size, num_directions, hidden_size, bidirectional): argument
Dtest_gru_op.py50 … def __init__(self, num_layers, has_bias, input_size, num_directions, hidden_size, bidirectional): argument
Dtest_lstm_op.py51 def __init__(self, num_layers, has_bias, input_s, num_directions, hidden_s, bidirectional): argument
/third_party/mindspore/mindspore/core/ops/grad/
Dlstm_grad.cc67 void LSTMGrad::set_num_directions(const int64_t num_directions) { in set_num_directions()