Home
last modified time | relevance | path

Searched refs:concatenate (Results 1 – 25 of 168) sorted by relevance

1234567

/third_party/mindspore/tests/st/fl/albert/src/
Dassessment_method.py75 self.labels_array = np.concatenate([self.labels_array, labels]).astype(np.bool)
76 self.logits_array = np.concatenate([self.logits_array, logits]).astype(np.bool)
101 self.labels_array = np.concatenate([self.labels_array, labels])
102 self.logits_array = np.concatenate([self.logits_array, logits])
128 self.labels_array = np.concatenate([self.labels_array, labels]).astype(np.bool)
129 self.logits_array = np.concatenate([self.logits_array, logits]).astype(np.bool)
/third_party/mindspore/tests/st/ops/gpu/
Dtest_unique_op.py112 x_np = np.concatenate((x_np1, x_np2, x_np3, x_np1, x_np2, x_np3, x_np1, x_np2, x_np3))
115 …exp_idx = np.concatenate((x_np1, x_np2, x_np3, x_np1, x_np2, x_np3, x_np1, x_np2, x_np3)).astype(n…
172 x_np = np.concatenate((x_np1, x_np2, x_np3, x_np1, x_np2, x_np3, x_np1, x_np2, x_np3))
175 …exp_idx = np.concatenate((x_np1, x_np2, x_np3, x_np1, x_np2, x_np3, x_np1, x_np2, x_np3)).astype(n…
232 x_np = np.concatenate((x_np1, x_np2, x_np3, x_np1, x_np2, x_np3, x_np1, x_np2, x_np3))
235 …exp_idx = np.concatenate((x_np1, x_np2, x_np3, x_np1, x_np2, x_np3, x_np1, x_np2, x_np3)).astype(n…
323 x_np = np.concatenate((x_np1, x_np2, x_np3, x_np1, x_np2, x_np3, x_np1, x_np2, x_np3))
326 …exp_idx = np.concatenate((x_np1, x_np2, x_np3, x_np1, x_np2, x_np3, x_np1, x_np2, x_np3)).astype(n…
Dtest_concatv2_op.py217 output_np = np.concatenate((x1_np, x2_np, x3_np), axis=1)
262 output_np = np.concatenate((x1_np, x2_np, x3_np), axis=1)
289 output_np = np.concatenate((x1_np, x2_np, x3_np, x4_np), axis=1)
336 output_np = np.concatenate((x1_np, x2_np, x3_np, x4_np), axis=1)
Dtest_lstm_op.py99 w_np = np.concatenate((wih, whh, bih, bhh), axis=1).reshape([-1, 1, 1])
248 …w_np = np.concatenate((wih, whh, wih_reverse, whh_reverse, bih, bhh, bih_reverse, bhh_reverse), ax…
492 w_np = np.concatenate(
759 w_np = np.concatenate(
940 w_np = np.concatenate((wih, whh, bih, bhh), axis=1).reshape([-1, 1, 1])
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DRopeByteStringTest.java127 unicode = RopeByteString.concatenate(unicode, sourceByteString); in testToString()
156 unicode = RopeByteString.concatenate(unicode, sourceByteString); in testCharsetToString()
196 RopeByteString.concatenate( in testToString_raisesException()
DRopeByteStringSubstringTest.java79 unicode = RopeByteString.concatenate(unicode, sourceByteString); in testToString()
112 unicode = RopeByteString.concatenate(unicode, sourceByteString); in testCharsetToString()
/third_party/mindspore/mindspore/parallel/
D_tensor.py298 … new_tensor = np.concatenate((new_tensor, tensor_slices_new[l]), axis=dim_len - 1 - i)
332 tensor_slices_new = np.concatenate((tensor_slices_new,\
337 … new_tensor = np.concatenate((new_tensor, np.array(tensor_slices_col[i]).reshape(-1, 1)), axis=1)
/third_party/mindspore/mindspore/numpy/
Darray_creations.py38 from .array_ops import ravel, concatenate, broadcast_arrays, reshape, broadcast_to, flip, \
708 return concatenate((out_left, out_right), 1).astype(dtype)
712 return concatenate((out_upper, out_lower), 0).astype(dtype)
1359 res = concatenate(tuple(expanded))
1575 res = concatenate((res, pad_y), axis=1)
1576 res = concatenate((pad_x, res), axis=0)
1578 res = concatenate((pad_y, res), axis=1)
1579 res = concatenate((res, pad_x), axis=0)
2139 arr = concatenate(tensor_with_pad, axis=i)
2158 arr = concatenate(tensor_with_pad, axis=i)
[all …]
/third_party/mindspore/mindspore/nn/metrics/
Dprecision.py126 self._true_positives = np.concatenate((self._true_positives, true_positives), axis=0)
127 self._positives = np.concatenate((self._positives, positives), axis=0)
Drecall.py126 self._true_positives = np.concatenate((self._true_positives, true_positives), axis=0)
127 … self._actual_positives = np.concatenate((self._actual_positives, actual_positives), axis=0)
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_transforms_test.cc169 …transforms::Concatenate concatenate = transforms::Concatenate(0, prepend_MSTensor, append_MSTensor… in TEST_F() local
172 ds = ds->Map({concatenate}, {"col1"}); in TEST_F()
221 transforms::Concatenate concatenate = transforms::Concatenate(); in TEST_F() local
224 ds = ds->Map({concatenate}, {"col1"}); in TEST_F()
293 …transforms::Concatenate concatenate = transforms::Concatenate(0, prepend_MSTensor, append_MSTensor… in TEST_F() local
296 ds = ds->Map({concatenate}, {"text"}); in TEST_F()
357 …transforms::Concatenate concatenate = transforms::Concatenate(-1, prepend_MSTensor, append_MSTenso… in TEST_F() local
360 ds = ds->Map({concatenate}, {"col1"}); in TEST_F()
422 …transforms::Concatenate concatenate = transforms::Concatenate(0, prepend_MSTensor, append_MSTensor… in TEST_F() local
425 ds = ds->Map({concatenate}, {"col1"}); in TEST_F()
[all …]
/third_party/typescript/src/services/
Dtransform.ts13 result.diagnostics = concatenate(result.diagnostics, diagnostics);
DnavigationBar.ts540 …a.children = a.node === ctorFunction ? concatenate([ctor], b.children || [b]) : concatenate(a.chil…
544 a.children = concatenate(a.children || [{ ...a }], b.children || [b]);
562 a.children = concatenate(a.children, b.children);
650 target.children = concatenate(target.children, source.children);
/third_party/mindspore/tests/st/ops/cpu/
Dtest_concat_op.py274 output_np = np.concatenate((x1_np, x2_np, x3_np), axis=1)
306 output_np = np.concatenate((x1_np, x2_np, x3_np), axis=1)
332 output_np = np.concatenate((x1_np, x2_np, x3_np, x4_np), axis=1)
378 output_np = np.concatenate((x1_np, x2_np, x3_np, x4_np), axis=1)
Dtest_lstm_op.py142 w_np = np.concatenate((wih, whh, bih), axis=1).reshape([-1, 1, 1])
248 w_np = np.concatenate([w_np, bias_np], axis=0)
337 w_np = np.concatenate((wih, whh, bih), axis=1).reshape([-1, 1, 1])
/third_party/mindspore/mindspore/compression/quant/
Dquant_utils.py255 threshold = np.concatenate((threshold, [threshold_tmp]))
257 scaling_factor = np.concatenate((scaling_factor, [scaling_factor_tmp]))
272 kl = np.concatenate((kl, [kl_tmp]))
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/kernels/ir/
Dbindings.cc85 … auto concatenate = std::make_shared<transforms::ConcatenateOperation>(axis, prepend, append); in __anon3fa898e20602() local
86 THROW_IF_ERROR(concatenate->ValidateParams()); in __anon3fa898e20602()
87 return concatenate; in __anon3fa898e20602()
/third_party/gettext/gettext-tools/tests/
Dxgettext-javascript-38 // The usual way to concatenate strings is the plus '+' sign
/third_party/boost/boost/spirit/home/classic/utility/
Drule_parser.hpp945 static type concatenate(Action1 const & a1, Action2 const & a2) in concatenate() function
952 static type concatenate(nop_functor const &, Action const & a) in concatenate() function
959 static type concatenate(Action const & a, nop_functor const &) in concatenate() function
966 static type concatenate(nop_functor const &, nop_functor const &) in concatenate() function
974 return action_concatenator<Action1,Action2>::concatenate(a1,a2); in concatenate_actions()
/third_party/mindspore/tests/ut/python/pipeline/infer/
Dinfer.py72 batch_data = np.concatenate(data_list, axis=0).transpose((0, 3, 1, 2))
/third_party/mindspore/tests/st/nccl/
Dtest_nccl_all_gather_op.py50 expect = np.concatenate((expect, tmp))
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/FasterRcnn/
Dfaster_rcnn_resnet50v1.py207 self.bbox_mask = Tensor(np.concatenate((self.ones_mask, self.zeros_mask,
209 self.nms_pad_mask = Tensor(np.concatenate((self.ones_mask, self.ones_mask,
231 self.roi_align_index_tensor = Tensor(np.concatenate(roi_align_index))
232 self.roi_align_index_test_tensor = Tensor(np.concatenate(roi_align_index_test))
Dfaster_rcnn_resnet.py206 self.bbox_mask = Tensor(np.concatenate((self.ones_mask, self.zeros_mask,
208 self.nms_pad_mask = Tensor(np.concatenate((self.ones_mask, self.ones_mask,
231 self.roi_align_index_tensor = Tensor(np.concatenate(roi_align_index))
232 self.roi_align_index_test_tensor = Tensor(np.concatenate(roi_align_index_test))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopVersioning.cpp239 MDNode::concatenate( in annotateInstWithNoAlias()
248 MDNode::concatenate( in annotateInstWithNoAlias()
/third_party/node/deps/npm/node_modules/concat-stream/
Dreadme.md11 …s. If you want to collect all of the buffers, and when the stream ends concatenate all of the buff…
15 There are also `objectMode` streams that emit things other than Buffers, and you can concatenate th…

1234567