Searched refs:make_mask (Results 1 – 2 of 2) sorted by relevance
/external/skia/gm/ |
D | imagemasksubset.cpp | 29 sk_sp<SkImage> make_mask(const sk_sp<SkSurface>& surface) { in make_mask() function 45 make_mask(SkSurface::MakeRasterDirect(surfaceInfo, pixels, rowBytes)); in onGetPixels() 57 return make_mask(SkSurface::MakeRaster(info)); in __anon089b15460202() 71 return make_mask(surface ? surface : SkSurface::MakeRaster(info)); in __anon089b15460302()
|
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
D | array_ops_test.py | 148 def CheckVersusNumpy(self, ndims_mask, arr_shape, make_mask=None, axis=None): argument 150 if make_mask is None: 151 make_mask = lambda shape: self.rng.randint(0, 2, size=shape).astype(bool) function 153 mask = make_mask(arr_shape[:ndims_mask]) 155 mask = make_mask(arr_shape[axis:ndims_mask + axis]) 227 make_mask = lambda shape: np.zeros(shape, dtype=bool) function 233 self.CheckVersusNumpy(ndims_mask, arr_shape, make_mask=make_mask)
|