Home
last modified time | relevance | path

Searched refs:bidirectional (Results 1 – 25 of 212) sorted by relevance

123456789

/third_party/boost/libs/iostreams/test/
Dcombine_test.cpp35 chain<bidirectional> ch; in combine_test()
49 chain<bidirectional> ch; in combine_test()
52 closable_device<bidirectional>( in combine_test()
56 closable_device<bidirectional>( in combine_test()
69 chain<bidirectional> ch; in combine_test()
83 chain<bidirectional> ch; in combine_test()
91 closable_device<bidirectional>( in combine_test()
103 chain<bidirectional> ch; in combine_test()
106 closable_filter<bidirectional>( in combine_test()
110 closable_filter<bidirectional>( in combine_test()
[all …]
Dclose_test.cpp65 closable_filter<bidirectional>( in input_chain_test()
71 closable_device<bidirectional>( in input_chain_test()
82 closable_device<bidirectional>( in input_chain_test()
93 closable_device<bidirectional>( in input_chain_test()
277 closable_filter<bidirectional>( in output_chain_test()
283 closable_device<bidirectional>( in output_chain_test()
294 closable_device<bidirectional>( in output_chain_test()
305 closable_device<bidirectional>( in output_chain_test()
461 filtering_streambuf<bidirectional> ch; in bidirectional_chain_test()
465 closable_filter<bidirectional>( in bidirectional_chain_test()
[all …]
Dwrite_bidir_filter_test.hpp33 filtering_stream<bidirectional> out; in write_bidirectional_filter_test()
51 filtering_stream<bidirectional> out; in write_bidirectional_filter_test()
68 filtering_stream<bidirectional> out; in write_bidirectional_filter_test()
85 filtering_stream<bidirectional> out; in write_bidirectional_filter_test()
102 filtering_stream<bidirectional> out; in write_bidirectional_filter_test()
119 filtering_stream<bidirectional> out; in write_bidirectional_filter_test()
Dwrite_bidir_streambuf_test.hpp31 filtering_stream<bidirectional> out(dest, 0); in write_bidirectional_streambuf_test()
46 filtering_stream<bidirectional> out(dest, 0); in write_bidirectional_streambuf_test()
61 filtering_stream<bidirectional> out(dest); in write_bidirectional_streambuf_test()
76 filtering_stream<bidirectional> out(dest); in write_bidirectional_streambuf_test()
Dread_bidir_streambuf_test.hpp31 filtering_stream<bidirectional> first(fb, 0); in read_bidirectional_streambuf_test()
43 filtering_stream<bidirectional> first(fb, 0); in read_bidirectional_streambuf_test()
55 filtering_stream<bidirectional> first(fb); in read_bidirectional_streambuf_test()
67 filtering_stream<bidirectional> first(fb); in read_bidirectional_streambuf_test()
Dread_bidir_test.hpp31 filtering_stream<bidirectional> first( in read_bidirectional_test()
45 filtering_stream<bidirectional> first( in read_bidirectional_test()
59 filtering_stream<bidirectional> first( in read_bidirectional_test()
73 filtering_stream<bidirectional> first( in read_bidirectional_test()
Dcompose_test.cpp131 closable_filter<bidirectional>( in close_composite_device()
194 closable_filter<bidirectional>( in close_composite_device()
240 chain<bidirectional> ch; in close_composite_device()
243 closable_filter<bidirectional>( in close_composite_device()
247 closable_device<bidirectional>( in close_composite_device()
295 closable_filter<bidirectional>( in close_composite_filter()
362 closable_filter<bidirectional>( in close_composite_filter()
411 chain<bidirectional> ch; in close_composite_filter()
414 closable_filter<bidirectional>( in close_composite_filter()
418 closable_filter<bidirectional>( in close_composite_filter()
[all …]
Dwrite_bidir_test.hpp31 filtering_stream<bidirectional> out( in write_bidirectional_test()
46 filtering_stream<bidirectional> out( in write_bidirectional_test()
61 filtering_stream<bidirectional> out( in write_bidirectional_test()
76 filtering_stream<bidirectional> out( in write_bidirectional_test()
Dtee_test.cpp177 closable_device<bidirectional>( in close_test()
181 closable_device<bidirectional>( in close_test()
221 closable_device<bidirectional>( in close_test()
328 closable_filter<bidirectional>( in tee_composite_test()
332 closable_device<bidirectional>( in tee_composite_test()
386 closable_filter<bidirectional>( in tee_composite_test()
390 closable_device<bidirectional>( in tee_composite_test()
/third_party/mindspore/tests/ut/python/nn/
Dtest_lstm.py27 def __init__(self, input_size, hidden_size, num_layers, has_bias, batch_first, bidirectional): argument
34 bidirectional=bidirectional,
43 'cell': LstmTestNet(10, 12, 2, has_bias=True, batch_first=False, bidirectional=False),
47 'cell': LstmTestNet(10, 12, 2, has_bias=False, batch_first=False, bidirectional=False),
51 'cell': LstmTestNet(10, 12, 2, has_bias=True, batch_first=False, bidirectional=True),
55 'cell': LstmTestNet(10, 12, 2, has_bias=False, batch_first=False, bidirectional=True),
59 'cell': LstmTestNet(10, 12, 2, has_bias=True, batch_first=True, bidirectional=False),
63 'cell': LstmTestNet(10, 12, 2, has_bias=False, batch_first=True, bidirectional=False),
67 'cell': LstmTestNet(10, 12, 2, has_bias=True, batch_first=True, bidirectional=True),
71 'cell': LstmTestNet(10, 12, 2, has_bias=False, batch_first=True, bidirectional=True),
/third_party/mindspore/tests/st/ops/ascend/
Dtest_lstm_op.py41 … def __init__(self, input_s, hidden_s, num_layers, has_bias, batch_first, bidirectional, dropout): argument
44 batch_first=batch_first, bidirectional=bidirectional, dropout=dropout)
51 def __init__(self, num_layers, has_bias, input_s, num_directions, hidden_s, bidirectional): argument
57 self.bidirectional = bidirectional
78 if self.bidirectional:
98 bidirectional = False
102 fact = LSTMWeightBias(num_layers, has_bias, input_s, num_directions, hidden_s, bidirectional)
112 bidirectional=bidirectional, dropout=0.0)
120 bidirectional=bidirectional, dropout=0.0)
138 bidirectional = False
[all …]
Dtest_gru_op.py40 …def __init__(self, input_size, hidden_size, num_layers, has_bias, batch_first, bidirectional, drop… argument
43 batch_first=batch_first, bidirectional=bidirectional, dropout=dropout)
50 … def __init__(self, num_layers, has_bias, input_size, num_directions, hidden_size, bidirectional): argument
56 self.bidirectional = bidirectional
99 bidirectional = False
103 … fact = GRUWeightBias(num_layers, has_bias, input_size, num_directions, hidden_size, bidirectional)
112 bidirectional=bidirectional, dropout=0.0)
122 batch_first=False, bidirectional=bidirectional, dropout=0.0)
140 bidirectional = False
144 … fact = GRUWeightBias(num_layers, has_bias, input_size, num_directions, hidden_size, bidirectional)
[all …]
Dtest_rnn_op.py40 …def __init__(self, input_size, hidden_size, num_layers, has_bias, batch_first, bidirectional, drop… argument
43 batch_first=batch_first, bidirectional=bidirectional, dropout=dropout)
50 … def __init__(self, num_layers, has_bias, input_size, num_directions, hidden_size, bidirectional): argument
56 self.bidirectional = bidirectional
99 bidirectional = False
103 … fact = RNNWeightBias(num_layers, has_bias, input_size, num_directions, hidden_size, bidirectional)
112 bidirectional=bidirectional, dropout=0.0)
122 batch_first=False, bidirectional=bidirectional, dropout=0.0)
140 bidirectional = False
144 … fact = RNNWeightBias(num_layers, has_bias, input_size, num_directions, hidden_size, bidirectional)
[all …]
/third_party/mindspore/tests/st/networks/
Dtest_gpu_lstm.py31 def InitialLstmWeight(input_size, hidden_size, num_layers, bidirectional, has_bias=False): argument
33 if bidirectional:
63 bidirectional, weight, labels, batch_size): argument
67 self.bidirectional = bidirectional
74 … self.h, self.c, self.w = InitialLstmWeight(embed_size, num_hiddens, num_layers, bidirectional)
77 bidirectional=self.bidirectional, dropout=0.0)
79 if self.bidirectional:
89 if bidirectional:
116 bidirectional = True
125 bidirectional=bidirectional, weight=weight,
/third_party/mindspore/tests/st/ops/cpu/
Dtest_lstm_op.py43 bidirectional=False): argument
50 num_directions = 2 if bidirectional else 1
64 bidirectional=bidirectional,
102 …def __init__(self, batch_size, input_size, hidden_size, num_layers, has_bias, bidirectional, dropo… argument
106 if bidirectional:
109 self.lstm = StackLSTM(input_size, hidden_size, num_layers, has_bias, bidirectional, dropout)
161 bidirectional = False
164 if bidirectional:
166 net = LstmNet(batch_size, input_size, hidden_size, num_layers, has_bias, bidirectional, dropout)
205 …def __init__(self, batch_size, input_size, hidden_size, num_layers, has_bias, bidirectional, dropo… argument
[all …]
/third_party/mindspore/tests/st/ops/gpu/
Dtest_lstm_op.py32 …(self, seq_len, batch_size, input_size, hidden_size, num_layers, has_bias, bidirectional, dropout): argument
36 if bidirectional:
39 self.lstm = P.LSTM(input_size, hidden_size, num_layers, has_bias, bidirectional, dropout)
119 bidirectional = False
123 if bidirectional:
126 …net = LstmNet(seq_len, batch_size, input_size, hidden_size, num_layers, has_bias, bidirectional, d…
164 …(self, seq_len, batch_size, input_size, hidden_size, num_layers, has_bias, bidirectional, dropout): argument
168 if bidirectional:
171 self.lstm = P.LSTM(input_size, hidden_size, num_layers, has_bias, bidirectional, dropout)
269 bidirectional = True
[all …]
/third_party/mindspore/mindspore/core/ops/
Dgru.cc21 void GRU::Init(bool bidirectional) { this->set_bidirectional(bidirectional); } in Init() argument
23 void GRU::set_bidirectional(bool bidirectional) { (void)AddAttr(kBidirectional, MakeValue(bidirecti… in set_bidirectional() argument
Dgru.h51 void Init(bool bidirectional = false);
56 void set_bidirectional(bool bidirectional);
Dlstm.cc134 void LSTM::set_bidirectional(const bool bidirectional) { (void)AddAttr(kBidirectional, MakeValue(bi… in set_bidirectional() argument
152 …const float dropout, const bool bidirectional, const float zoneout_cell, const float zoneout_hidde… in Init() argument
158 this->set_bidirectional(bidirectional); in Init()
159 if (bidirectional) { in Init()
/third_party/boost/libs/stl_interfaces/test/
Dbidirectional.cpp231 using bidirectional = bidirectional_iter<int>; typedef
235 bidirectional, std::bidirectional_iterator)
237 bidirectional,
444 bidirectional first(ints.data()); in main()
445 bidirectional last(ints.data() + ints.size()); in main()
465 bidirectional first(ints.data()); in main()
466 bidirectional last(ints.data() + ints.size()); in main()
499 bidirectional first(ints.data()); in main()
500 bidirectional last(ints.data() + ints.size()); in main()
506 bidirectional first(ints.data()); in main()
[all …]
/third_party/mindspore/mindspore/core/ops/grad/
Dlstm_grad.cc62 …d LSTMGrad::set_bidirectional(const bool bidirectional) { (void)AddAttr(kBidirectional, MakeValue( in set_bidirectional() argument
80 const float dropout, const bool bidirectional, const float zoneout_cell, in Init() argument
87 this->set_bidirectional(bidirectional); in Init()
88 if (bidirectional) { in Init()
/third_party/mindspore/mindspore/nn/layer/
Dlstm.py139 bidirectional=False): argument
150 self.bidirectional = bidirectional
156 bidirectional=bidirectional,
162 num_directions = 2 if bidirectional else 1
192 if bidirectional:
273 if self.bidirectional:
382 bidirectional=False): argument
391 bidirectional=bidirectional,
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_lstm_parser.cc30 bool bidirectional = direction == "bidirectional"; in Parse() local
31 prim->set_bidirectional(bidirectional); in Parse()
32 if (bidirectional) { in Parse()
/third_party/boost/boost/iostreams/
Dcategories.hpp29 struct bidirectional : virtual input, virtual output, detail::two_sequence { }; struct
45 bidirectional, detail::two_head
67 struct bidirectional_device_tag : device_tag, bidirectional { };
72 struct bidirectional_filter_tag : filter_tag, bidirectional { };
/third_party/boost/libs/iostreams/test/detail/
Dclosable.hpp70 class closable_device<bidirectional> : public device<bidirectional> {
115 : bidirectional, device_tag, closable_tag, direct_tag
231 class closable_filter<bidirectional> : public filter<bidirectional> {

123456789