Home
last modified time | relevance | path

Searched refs:reshape (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/webrtc/modules/video_processing/test/
DreadYUV420file.m32 Y(:,:,k)=uint8(reshape(X(1:nPx), width, height).');
35 U(:,:,k)=uint8(reshape(X(nPx + (1:nPx/4)), width/2, height/2).');
38 V(:,:,k)=uint8(reshape(X(nPx + nPx/4 + (1:nPx/4)), width/2, height/2).');
/external/clang/test/Analysis/
Dmalloc-interprocedural.c77 static char *reshape(char *in) { in reshape() function
83 v = reshape(v); in testThatRemoveDeadBindingsRunBeforeEachCall()
84 v = reshape(v);// expected-warning {{Potential leak of memory pointed to by 'v'}} in testThatRemoveDeadBindingsRunBeforeEachCall()
/external/eigen/unsupported/test/
Dcxx11_tensor_morphing.cpp27 tensor2 = tensor1.reshape(dim1); in test_simple_reshape()
29 tensor3 = tensor1.reshape(dim2); in test_simple_reshape()
31 tensor4 = tensor1.reshape(dim1).reshape(dim3); in test_simple_reshape()
59 tensor3 = tensor1.reshape(newDims1).contract(tensor2.reshape(newDims2), contract_along); in test_reshape_in_expr()
77 tensor2d.reshape(dim) = tensor; in test_reshape_as_lvalue()
81 tensor5d.reshape(dim).device(Eigen::DefaultDevice()) = tensor; in test_reshape_as_lvalue()
160 …Tensor<float, 1, DataLayout> tensor6 = tensor4.reshape(DSizes<ptrdiff_t, 1>(7*7)).exp().slice(DSiz… in test_slice_in_expr()
450 matrix.slice(DSizes<ptrdiff_t, 2>(2, 0), DSizes<ptrdiff_t, 2>(1, 11)).reshape(newDims); in test_composition()
Dcxx11_tensor_concatenation.cpp50 .reshape(Tensor<int, 3>::Dimensions(2, 3, 1)) in test_static_dimension_failure()
53 .concatenate(right.reshape(Tensor<int, 2>::Dimensions{{{2, 3}}}), 0); in test_static_dimension_failure()
Dcxx11_tensor_forced_eval.cpp65 …Tensor<float, 2> output_tensor= (input_tensor - input_tensor.maximum(depth_dim).eval().reshape(dim… in test_const()
Dcxx11_tensor_padding.cpp68 result = tensor.pad(paddings).reshape(reshape_dims); in test_padded_expr()
Dcxx11_tensor_device.cu145 …context->out().reshape(shape).slice(indices, sizes).device(context->device()) = context->in1().con… in test_contraction()
/external/eigen/doc/
DTutorialReshapeSlicing.dox5 %Eigen does not expose convenient methods to take slices or to reshape a matrix yet.
12 A reshape operation consists in modifying the sizes of a matrix while keeping the same coefficients.
/external/webrtc/webrtc/api/objc/
DRTCNSGLVideoView.m53 - (void)reshape { method
54 [super reshape];
/external/autotest/client/cros/audio/
Daudio_data.py98 np_array = np_array.reshape(n_frames, self.channel)
/external/webrtc/talk/app/webrtc/objc/
DRTCNSGLVideoView.m70 - (void)reshape { method
71 [super reshape];
/external/autotest/client/cros/multimedia/
Ddisplay_facade_native.py355 data = numpy.fliplr(data.reshape(-1, 3)).reshape(data.shape)
/external/fio/tools/hist/
Dfiologparser_hist.py96 times = times.reshape((len(times),1))
313 arr = np.append(arr, new_arr.reshape((1,__TOTAL_COLUMNS - 1)), axis=0)
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DREADME.md321 Tensor<...> Y = ((X - X.maximum(depth_dim).reshape(dims2d).broadcast(bcast))
325 ```reshape()``` calls guarantees that maximum() is only computed once and
329 ((X - X.maximum(depth_dim).eval().reshape(dims2d).broadcast(bcast))
338 Y = Y / (Y.sum(depth_dim).reshape(dims2d).broadcast(bcast));
340 Inserting a call to ```eval()``` between the ```sum()``` and ```reshape()```
344 Y = Y / (Y.sum(depth_dim).eval().reshape(dims2d).broadcast(bcast));
355 (Y / (Y.sum(depth_dim).eval().reshape(dims2d).broadcast(bcast))).eval();
1254 ### <Operation> reshape(const Dimensions& new_dims)
1267 Tensor<float, 3> result = input.reshape(three_dims);
1271 Tensor<float, 1> result = input.reshape(one_dim);
[all …]
DTensorBase.h738 reshape(const NewDimensions& newDimensions) const { in reshape() function
907 reshape(const NewDimensions& newDimensions) const { in reshape() function
912 reshape(const NewDimensions& newDimensions) { in reshape() function
/external/toolchain-utils/cros_utils/
Dstats.py2055 sum = N.reshape(sum, shp)
2068 mult = N.reshape(mult, shp)
2095 s = N.reshape(s, shp)
2109 s = N.reshape([s], N.ones(len(inarray.shape)))
2121 s = N.reshape(s, shp)
2149 sum = N.reshape(sum, shp)
2162 sum = N.reshape(sum, shp)
3396 probs = N.reshape(probs, t.shape)
3486 probs = N.reshape(probs, t.shape)
4189 s = N.reshape(s, shp)
[all …]
Dpstat.py961 return N.reshape(work, ashape)
/external/Microsoft-GSL/gsl/
Dmulti_span1599 // reshape a multi_span into a different dimensionality