Home
last modified time | relevance | path

Searched refs:transformed (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/external/apache-commons-math/src/main/java/org/apache/commons/math/transform/
DFastCosineTransformer.java221 final double transformed[] = new double[f.length]; in fct() local
230 transformed[0] = 0.5 * (f[0] + f[1]); in fct()
231 transformed[1] = 0.5 * (f[0] - f[1]); in fct()
232 return transformed; in fct()
252 transformed[0] = y[0].getReal(); in fct()
253 transformed[1] = t1; in fct()
255 transformed[2 * i] = y[i].getReal(); in fct()
256 transformed[2 * i + 1] = transformed[2 * i - 1] - y[i].getImaginary(); in fct()
258 transformed[n] = y[n >> 1].getReal(); in fct()
260 return transformed; in fct()
DFastSineTransformer.java215 final double transformed[] = new double[f.length]; in fst() local
225 transformed[0] = 0.0; in fst()
226 return transformed; in fst()
243 transformed[0] = 0.0; in fst()
244 transformed[1] = 0.5 * y[0].getReal(); in fst()
246 transformed[2 * i] = -y[i].getImaginary(); in fst()
247 transformed[2 * i + 1] = y[i].getReal() + transformed[2 * i - 1]; in fst()
250 return transformed; in fst()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DDecodeJob.java84 Resource<T> transformed = loadFromCache(resultKey); in decodeResultFromCache() local
89 Resource<Z> result = transcode(transformed); in decodeResultFromCache()
138 Resource<T> transformed = transform(decoded); in transformEncodeAndTranscode() local
143 writeTransformedToCache(transformed); in transformEncodeAndTranscode()
146 Resource<Z> result = transcode(transformed); in transformEncodeAndTranscode()
153 private void writeTransformedToCache(Resource<T> transformed) { in writeTransformedToCache() argument
154 if (transformed == null || !diskCacheStrategy.cacheResult()) { in writeTransformedToCache()
158 …Writer<Resource<T>> writer = new SourceWriter<Resource<T>>(loadProvider.getEncoder(), transformed); in writeTransformedToCache()
235 Resource<T> transformed = transformation.transform(decoded, width, height); in transform() local
236 if (!decoded.equals(transformed)) { in transform()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
DGifBitmapWrapperTransformation.java34 …Resource<Bitmap> transformed = bitmapTransformation.transform(bitmapResource, outWidth, outHeight); in transform() local
35 if (!bitmapResource.equals(transformed)) { in transform()
36 … GifBitmapWrapper gifBitmap = new GifBitmapWrapper(transformed, resource.get().getGifResource()); in transform()
40 …Resource<GifDrawable> transformed = gifDataTransformation.transform(gifResource, outWidth, outHeig… in transform() local
41 if (!gifResource.equals(transformed)) { in transform()
42 …GifBitmapWrapper gifBitmap = new GifBitmapWrapper(resource.get().getBitmapResource(), transformed); in transform()
/external/tensorflow/tensorflow/contrib/eager/python/examples/l2hmc/
Dl2hmc.py175 scale, translation, transformed = self.momentum_fn([position, grad, t])
177 transformed *= self.eps
180 .5 * self.eps * (tf.exp(transformed) * grad - translation))
187 scale, translation, transformed = self.position_fn(
190 transformed *= self.eps
194 (tf.exp(transformed) * momentum + translation)))
201 scale, translation, transformed = self.momentum_fn([position, grad, t])
203 transformed *= self.eps
206 (tf.exp(transformed) * grad - translation)))
213 scale, translation, transformed = self.position_fn(
[all …]
/external/tensorflow/tensorflow/contrib/graph_editor/
Dtransform.py234 for original, transformed in iteritems(transformed_map):
236 return transformed
255 finder = lambda transformed: transformed.name == transformed_top argument
257 finder = lambda transformed: transformed == transformed_top argument
258 for original, transformed in iteritems(transformed_map):
259 if finder(transformed):
263 def transformed(self, original, missing_fn=None): member in TransformerInfo
281 def original(self, transformed, missing_fn=None): argument
297 return util.transform_tree(transformed, original_elem)
752 return info.transformed(target_ts, missing_fn)
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DCenterCrop.java30 … Bitmap transformed = TransformationUtils.centerCrop(toReuse, toTransform, outWidth, outHeight); in transform() local
31 if (toReuse != null && toReuse != transformed && !pool.put(toReuse)) { in transform()
34 return transformed; in transform()
DBitmapTransformation.java50 Bitmap transformed = transform(bitmapPool, toTransform, outWidth, outHeight); in transform() local
53 if (toTransform.equals(transformed)) { in transform()
56 result = BitmapResource.obtain(transformed, bitmapPool); in transform()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawableTransformation.java33 Resource<Bitmap> transformed = wrapped.transform(bitmapResource, outWidth, outHeight); in transform() local
34 if (!bitmapResource.equals(transformed)) { in transform()
37 Bitmap transformedFrame = transformed.get(); in transform()
/external/glide/library/src/main/java/com/bumptech/glide/load/
DMultiTransformation.java37 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight); in transform() local
38 if (previous != null && !previous.equals(resource) && !previous.equals(transformed)) { in transform()
41 previous = transformed; in transform()
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTest.java1606 Map<String, Double> transformed = transformValues(map, SQRT_FUNCTION); in testTransformValues() local
1608 assertEquals(ImmutableMap.of("a", 2.0, "b", 3.0), transformed); in testTransformValues()
1614 Map<String, Double> transformed = transformValues(map, SQRT_FUNCTION); in testTransformValuesSecretlySorted() local
1616 assertEquals(ImmutableMap.of("a", 2.0, "b", 3.0), transformed); in testTransformValuesSecretlySorted()
1617 assertTrue(transformed instanceof SortedMap); in testTransformValuesSecretlySorted()
1623 Map<String, Double> transformed; in testTransformValuesSecretlyNavigable() local
1625 transformed = transformValues(map, SQRT_FUNCTION); in testTransformValuesSecretlyNavigable()
1626 assertEquals(ImmutableMap.of("a", 2.0, "b", 3.0), transformed); in testTransformValuesSecretlyNavigable()
1627 assertTrue(transformed instanceof NavigableMap); in testTransformValuesSecretlyNavigable()
1629 transformed = in testTransformValuesSecretlyNavigable()
[all …]
DMultimapsTest.java840 Multimap<String, Integer> transformed = Multimaps.transformValues(multimap, square); in testTransformValues() local
841 assertThat(transformed.entries()).has().exactly(immutableEntry("a", 4), in testTransformValues()
850 Multimap<String, Integer> transformed = in testTransformValuesIsView() local
859 assertThat(transformed.entries()).has().exactly(immutableEntry("a", 3)).inOrder(); in testTransformValuesIsView()
872 ListMultimap<String, Integer> transformed = in testTransformListValues() local
874 assertThat(transformed.entries()).has().exactly(immutableEntry("a", 4), in testTransformListValues()
890 Multimap<String, String> transformed = in testTransformEntries() local
892 assertThat(transformed.entries()).has().exactly(immutableEntry("a", "a"), in testTransformEntries()
907 ListMultimap<String, String> transformed = in testTransformListEntries() local
911 transformed); in testTransformListEntries()
[all …]
/external/skia/src/core/
DSkNormalMapSource.cpp199 SkVector transformed = fSource.fInvCTM.mapVector(tempNorm.fX, tempNorm.fY); in fillScanLine() local
207 (SkScalarSquare(transformed.fX) + SkScalarSquare(transformed.fY)) in fillScanLine()
211 output[i].fX = transformed.fX * invScalingFactor; in fillScanLine()
212 output[i].fY = transformed.fY * invScalingFactor; in fillScanLine()
/external/skqp/src/core/
DSkNormalMapSource.cpp194 SkVector transformed = fSource.fInvCTM.mapVector(tempNorm.fX, tempNorm.fY); in fillScanLine() local
202 (SkScalarSquare(transformed.fX) + SkScalarSquare(transformed.fY)) in fillScanLine()
206 output[i].fX = transformed.fX * invScalingFactor; in fillScanLine()
207 output[i].fY = transformed.fY * invScalingFactor; in fillScanLine()
/external/tensorflow/tensorflow/cc/ops/
Dconst_op.cc67 auto transformed = Input{ in AsNodeOut()
69 return NodeBuilder::NodeOut{transformed.node(), transformed.index()}; in AsNodeOut()
/external/clang/tools/libclang/
DARCMigrate.cpp129 CXString *original, CXString *transformed) { in clang_remap_getFilenames() argument
133 if (transformed) in clang_remap_getFilenames()
134 *transformed = cxstring::createDup( in clang_remap_getFilenames()
/external/tensorflow/tensorflow/contrib/graph_editor/tests/
Dtransform_test.py62 op_ = info.transformed(op)
69 t_ = info.transformed(t)
85 new_assert_op = info.transformed(assert_op)
256 copied_result = copy_info.transformed(result)
257 copied_max_index = copy_info.transformed(max_index)
275 copied_result = copy_info.transformed(result)
276 copied_choice = copy_info.transformed(choice)
/external/clang/test/ARCMT/whitelisted/
Dobjcmt-with-whitelist.m3 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result %S/header2…
5 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result
/external/icu/android_icu4j/
DREADME.android11 src/ - A transformed copy of icu4j source repackaged into android.icu.
13 resources/ - A transformed copy of icu4j resources repackaged into android.icu.
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/
Diprintf.ll9 ; Verify printf with no floating point arguments is transformed to iprintf
29 ; Verify sprintf with no floating point arguments is transformed to siprintf
49 ; Verify fprintf with no floating point arguments is transformed to fiprintf
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapsTest.java1298 Map<String, Double> transformed = transformValues(map, SQRT_FUNCTION); in testTransformValues() local
1300 assertEquals(ImmutableMap.of("a", 2.0, "b", 3.0), transformed); in testTransformValues()
1306 Map<String, Double> transformed = transformValues(map, SQRT_FUNCTION); in testTransformValuesSecretlySorted() local
1308 assertEquals(ImmutableMap.of("a", 2.0, "b", 3.0), transformed); in testTransformValuesSecretlySorted()
1309 assertTrue(transformed instanceof SortedMap); in testTransformValuesSecretlySorted()
1321 Map<String, String> transformed = transformEntries(map, concat); in testTransformEntries() local
1323 assertEquals(ImmutableMap.of("a", "a4", "b", "b9"), transformed); in testTransformEntries()
1335 Map<String, String> transformed = transformEntries(map, concat); in testTransformEntriesSecretlySorted() local
1337 assertEquals(ImmutableMap.of("a", "a4", "b", "b9"), transformed); in testTransformEntriesSecretlySorted()
1338 assertTrue(transformed instanceof SortedMap); in testTransformEntriesSecretlySorted()
[all …]
/external/tensorflow/tensorflow/python/keras/preprocessing/
Dimage_test.py378 transformed = np.copy(images)
379 for i, im in enumerate(transformed):
380 transformed[i] = generator.random_transform(im)
381 transformed = generator.standardize(transformed)
/external/swiftshader/third_party/LLVM/test/Transforms/ScalarRepl/
Dnonzero-first-index.ll21 ; But, if the offset is out of range, then it should not be transformed.
44 ; ...and again make sure that out-of-range accesses are not transformed.
/external/cldr/tools/java/org/unicode/cldr/util/
DRegexLogger.java468 String transformed = current; in transform() local
483 transformed = current.substring("org.unicode.cldr.util.".length()); in transform()
486 if (!transformed.startsWith("RegexLookup")) { in transform()
487 returned.add(transformed); in transform()
489 lastClass = transformed; in transform()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Doptimize-imm.ll66 ; Check that, when (and %t1, 129) is transformed to (and %t0, 0),
67 ; (xor %arg, 129) doesn't get transformed to (xor %arg, 0).

12345678910>>...13