Home
last modified time | relevance | path

Searched refs:squeeze (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/mindspore/tests/st/ops/gpu/
Dtest_squeeze_op.py26 self.squeeze = P.Squeeze()
29 return self.squeeze(tensor)
32 def squeeze(nptype): function
39 assert np.all(output.asnumpy() == x.squeeze())
45 squeeze(np.bool)
51 squeeze(np.uint8)
57 squeeze(np.uint16)
63 squeeze(np.uint32)
69 squeeze(np.int8)
75 squeeze(np.int16)
[all …]
/third_party/mindspore/tests/st/ops/ascend/test_aicpu_ops/
Dtest_squeeze.py28 self.squeeze = P.Squeeze()
31 return self.squeeze(tensor)
39 assert np.all(output.asnumpy() == x.squeeze())
47 assert np.all(output.asnumpy() == x.squeeze())
55 assert np.all(output.asnumpy() == x.squeeze())
63 assert np.all(output.asnumpy() == x.squeeze())
71 assert np.all(output.asnumpy() == x.squeeze())
79 assert np.all(output.asnumpy() == x.squeeze())
87 assert np.all(output.asnumpy() == x.squeeze())
95 assert np.all(output.asnumpy() == x.squeeze())
[all …]
/third_party/boost/libs/numeric/ublas/test/tensor/
Dtest_extents.cpp357 auto e0 = extents[ 0].squeeze(); // {}
358 auto e1 = extents[ 1].squeeze(); // {1,1}
359 auto e2 = extents[ 2].squeeze(); // {1,2}
360 auto e3 = extents[ 3].squeeze(); // {2,1}
362 auto e4 = extents[ 4].squeeze(); // {2,3}
363 auto e5 = extents[ 5].squeeze(); // {2,3}
364 auto e6 = extents[ 6].squeeze(); // {2,3}
365 auto e7 = extents[ 7].squeeze(); // {2,3}
366 auto e8 = extents[ 8].squeeze(); // {2,3}
368 auto e9 = extents[ 9].squeeze(); // {4,2,3}
[all …]
/third_party/mindspore/mindspore/lite/tools/converter/parser/
Dconv1d_inout_adjust.cc60 auto squeeze = func_graph->NewCNode(op_inputs); in NewSqueezeOpNode() local
61 MS_CHECK_TRUE_MSG(squeeze != nullptr, nullptr, "new CNode failed."); in NewSqueezeOpNode()
62 squeeze->set_fullname_with_scope(input_node->fullname_with_scope() + "_squeeze"); in NewSqueezeOpNode()
63 return squeeze; in NewSqueezeOpNode()
132 auto squeeze = NewSqueezeOpNode(func_graph, cnode, axis); in Run() local
133 MS_CHECK_TRUE_MSG(squeeze != nullptr, false, "New squeeze node failed."); in Run()
134 (void)manager->Replace(cnode, squeeze); in Run()
/third_party/mindspore/tests/st/ops/cpu/
Dtest_squeeze_op.py29 self.squeeze = P.Squeeze()
32 return self.squeeze(x)
76 expect = np.squeeze(x)
89 expect = np.squeeze(x)
/third_party/mindspore/mindspore/nn/metrics/
Droc.py143 tps = np.squeeze(np.hstack([np.zeros(1, dtype=tps.dtype), tps]))
144 fps = np.squeeze(np.hstack([np.zeros(1, dtype=fps.dtype), fps]))
193 y_pred = np.squeeze(np.vstack(self.y_pred))
194 y = np.squeeze(np.vstack(self.y))
/third_party/boost/libs/python/test/numpy/
Dndarray.cpp31 np::ndarray squeeze(np::ndarray arr) { return arr.squeeze();} in squeeze() function
47 p::def("squeeze", squeeze); in BOOST_PYTHON_MODULE()
Dndarray.py69 a2 = a1.squeeze()
70 a1 = ndarray_ext.squeeze(a1)
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/FasterRcnn/
Dproposal_generator.py80 self.squeeze = P.Squeeze()
144 … rpn_cls_score_i = self.squeeze(rpn_cls_score_total[i][img_id:img_id+1:1, ::, ::, ::])
145 … rpn_bbox_pred_i = self.squeeze(rpn_bbox_pred_total[i][img_id:img_id+1:1, ::, ::, ::])
166 rpn_cls_score_process = self.cast(self.squeeze(rpn_cls_score[::, 0::]), self.ms_type)
189 scores = self.squeeze(scores)
Dfaster_rcnn_resnet50v1.py129 self.squeeze = P.Squeeze()
271 gt_bboxes_i = self.squeeze(gt_bboxes[i:i + 1:1, ::])
273 gt_labels_i = self.squeeze(gt_labels[i:i + 1:1, ::])
276 gt_valids_i = self.squeeze(gt_valids[i:i + 1:1, ::])
335 rcnn_mask_squeeze = self.squeeze(self.cast(rcnn_masks, mstype.bool_))
356 reg_logits_i = self.squeeze(reg_logits[::, k:k+4:1])
366 scale = self.split_shape(self.squeeze(img_metas_all[i]))
399 _bboxes = self.squeeze(bboxes[k])
409 __cls_scores = self.squeeze(_cls_scores)
Dfaster_rcnn_resnet.py128 self.squeeze = P.Squeeze()
271 gt_bboxes_i = self.squeeze(gt_bboxes[i:i + 1:1, ::])
273 gt_labels_i = self.squeeze(gt_labels[i:i + 1:1, ::])
276 gt_valids_i = self.squeeze(gt_valids[i:i + 1:1, ::])
335 rcnn_mask_squeeze = self.squeeze(self.cast(rcnn_masks, mstype.bool_))
356 reg_logits_i = self.squeeze(reg_logits[::, k:k+4:1])
366 scale = self.split_shape(self.squeeze(img_metas_all[i]))
399 _bboxes = self.squeeze(bboxes[k])
409 __cls_scores = self.squeeze(_cls_scores)
Drpn.py144 self.squeeze = P.Squeeze()
239 … res = self.cast(self.CheckValid(anchor_list[j], self.squeeze(img_metas[i:i + 1:1, ::])),
247 gt_bboxes_i = self.squeeze(gt_bboxes[i:i + 1:1, ::])
248 gt_labels_i = self.squeeze(gt_labels[i:i + 1:1, ::])
249 gt_valids_i = self.squeeze(gt_valids[i:i + 1:1, ::])
/third_party/mindspore/tests/st/ops/graph_kernel/
Dtest_squeeze.py26 self.squeeze = P.Squeeze(axis)
29 return self.squeeze(x)
/third_party/mindspore/mindspore/nn/layer/
Dpooling.py218 self.squeeze = P.Squeeze(2)
224 output = self.squeeze(output)
384 self.squeeze = P.Squeeze(2)
397 x = self.squeeze(x)
/third_party/mindspore/mindspore/nn/probability/distribution/
Dcategorical.py157 self.squeeze = P.Squeeze()
227 return self.squeeze(-self.reduce_sum(logits * probs, -1))
244 return self.squeeze(self.reduce_sum(
322 return self.squeeze(ans)
377 return self.squeeze(cdf)
409 samples = self.squeeze(self.transpose(samples, (1, 0)))
Dpoisson.py137 self.squeeze = P.Squeeze(0)
274 value = self.squeeze(value)
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dpicker.dart69 this.squeeze = _kSqueeze,
80 assert(squeeze != null),
81 assert(squeeze > 0),
112 this.squeeze = _kSqueeze,
123 assert(squeeze != null),
124 assert(squeeze > 0),
168 /// {@macro flutter.rendering.wheelList.squeeze}
171 final double squeeze;
351 squeeze: widget.squeeze,
/third_party/mindspore/tests/ut/python/parallel/
Dtest_squeeze_info.py27 self.squeeze = P.Squeeze(axis=axis).shard(strategy1)
31 out = self.squeeze(x)
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dlist_wheel_scroll_view.dart579 this.squeeze = 1.0,
593 assert(squeeze != null),
594 assert(squeeze > 0),
616 this.squeeze = 1.0,
630 assert(squeeze != null),
631 assert(squeeze > 0),
684 /// {@macro flutter.rendering.wheelList.squeeze}
687 final double squeeze;
761 squeeze: widget.squeeze,
956 this.squeeze = 1.0,
[all …]
/third_party/mindspore/mindspore/explainer/benchmark/_attribution/
Dfaithfulness.py255 auc = calc_auc(original_output.squeeze() - predictions.squeeze())
336 auc = calc_auc(predictions.squeeze() - base_outputs.squeeze())
/third_party/node/deps/cares/m4/
Dcares-compilers.m4437 squeeze CFLAGS
452 squeeze CPPFLAGS
670 squeeze tmp_CPPFLAGS
671 squeeze tmp_CFLAGS
677 squeeze CPPFLAGS
678 squeeze CFLAGS
732 squeeze CPPFLAGS
733 squeeze CFLAGS
813 squeeze CPPFLAGS
814 squeeze CFLAGS
[all …]
/third_party/curl/m4/
Dcurl-compilers.m4421 squeeze CFLAGS
436 squeeze CPPFLAGS
654 squeeze tmp_CPPFLAGS
655 squeeze tmp_CFLAGS
661 squeeze CPPFLAGS
662 squeeze CFLAGS
710 squeeze CPPFLAGS
711 squeeze CFLAGS
780 squeeze CPPFLAGS
781 squeeze CFLAGS
[all …]
/third_party/mindspore/tests/st/numpy_native/
Dtest_array_ops.py178 a = mnp.squeeze(input_tensor)
179 b = mnp.squeeze(input_tensor, 0)
180 c = mnp.squeeze(input_tensor, axis=None)
181 d = mnp.squeeze(input_tensor, axis=-3)
182 e = mnp.squeeze(input_tensor, (2,))
183 f = mnp.squeeze(input_tensor, (0, 2))
188 a = onp.squeeze(input_array)
189 b = onp.squeeze(input_array, 0)
190 c = onp.squeeze(input_array, axis=None)
191 d = onp.squeeze(input_array, axis=-3)
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/cl/
Dstrided_slice.cl36 // output_shape idx -> size idx. because squeeze(output_shape)=squeeze(size)
/third_party/libwebsockets/plugins/ssh-base/crypto/
Dsmult_curve25519_ref.c32 static void squeeze(unsigned int a[32]) in squeeze() function
72 squeeze(out); in mult()
107 squeeze(out); in square()

12345