/external/tensorflow/tensorflow/python/ops/ |
D | image_ops.py | 49 def flat_transforms_to_matrices(transforms): argument 68 transforms = ops.convert_to_tensor(transforms, name="transforms") 69 if transforms.shape.ndims not in (1, 2): 70 raise ValueError("Transforms should be 1D or 2D, got: %s" % transforms) 72 transforms = array_ops.reshape(transforms, constant_op.constant([-1, 8])) 73 num_transforms = array_ops.shape(transforms)[0] 77 [transforms, array_ops.ones([num_transforms, 1])], axis=1), 107 transforms = array_ops.reshape(transform_matrices, 110 transforms /= transforms[:, 8:9] 111 return transforms[:, :8] [all …]
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJTransformer.java | 97 public void transform(byte[][] dstBufs, TJTransform[] transforms, in transform() argument 101 transformedSizes = transform(jpegBuf, jpegBufSize, dstBufs, transforms, in transform() 120 public TJDecompressor[] transform(TJTransform[] transforms, int flags) in transform() argument 122 byte[][] dstBufs = new byte[transforms.length][]; in transform() 125 for (int i = 0; i < transforms.length; i++) { in transform() 127 if ((transforms[i].options & TJTransform.OPT_CROP) != 0) { in transform() 128 if (transforms[i].width != 0) w = transforms[i].width; in transform() 129 if (transforms[i].height != 0) h = transforms[i].height; in transform() 133 TJDecompressor[] tjd = new TJDecompressor[transforms.length]; in transform() 134 transform(dstBufs, transforms, flags); in transform() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
D | Keyboard.java | 20 private final ImmutableSortedSet<Transform> transforms; field in Keyboard 24 ImmutableSortedSet<KeyMap> keyMaps, ImmutableSortedSet<Transform> transforms) { in Keyboard() argument 28 this.transforms = checkNotNull(transforms); in Keyboard() 36 ImmutableSortedSet<KeyMap> keyMaps, ImmutableSortedSet<Transform> transforms) { in of() argument 37 return new Keyboard(keyboardId, names, keyMaps, transforms); in of() 65 public ImmutableSet<Transform> transforms() { in transforms() method in Keyboard 66 return transforms; in transforms() 77 && keyMaps.equals(other.keyMaps) && transforms.equals(other.transforms); in equals() 84 return Objects.hashCode(keyboardId, names, keyMaps, transforms); in hashCode() 93 .add("transforms", transforms) in toString()
|
D | KeyboardBuilder.java | 99 …ImmutableSortedSet.Builder<Transform> transforms = ImmutableSortedSet.orderedBy(collatorComparator… in build() local 101 transforms.add(Transform.of(transformEntry.getKey(), transformEntry.getValue())); in build() 105 … keyboards.add(Keyboard.of(keyboardId, names.build(), keyMaps.build(), transforms.build())); in build()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | CompoundTransform.java | 15 private final List<StringTransform> transforms; field in CompoundTransform 17 public CompoundTransform(List<StringTransform> transforms) { in CompoundTransform() argument 18 this.transforms = new ArrayList<StringTransform>(transforms); in CompoundTransform() 22 for (int i = 0; i < transforms.size(); ++i) { in transform() 23 source = transforms.get(i).transform(source); in transform() 30 for (int i = 0; i < transforms.size(); ++i) { in toString() 34 result.append(transforms.get(i).toString()); in toString()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ |
D | BUILD | 131 "transforms/generated_canonicalize.inc", 135 td_file = "transforms/canonicalize.td", 164 "transforms/bridge.h", 165 "transforms/passes.h", 202 "transforms/generated_decompose_resource_ops.inc", 206 td_file = "transforms/decompose_resource_ops.td", 216 "transforms/decompose_resource_ops.cc", 219 "transforms/decompose_resource_ops.h", 231 "transforms/annotate_parameter_replication.cc", 232 "transforms/bridge.cc", [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | BUILD | 84 "transforms/generated_prepare_tf.inc", 88 td_file = "transforms/prepare_patterns.td", 102 "transforms/generated_lower_static_tensor_list.inc", 106 td_file = "transforms/tensorlist_patterns.td", 119 "transforms/generated_legalize_tf.inc", 123 td_file = "transforms/legalize_patterns.td", 136 "transforms/generated_optimize.inc", 140 td_file = "transforms/optimize_patterns.td", 153 "transforms/generated_quantize.inc", 157 td_file = "transforms/quantize_patterns.td", [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ |
D | BUILD | 78 ("-gen-rewriters", "transforms/generated_legalize_tf.inc"), 81 td_file = "transforms/legalize_tf_patterns.td", 95 "transforms/generated_canonicalize.inc", 99 td_file = "transforms/canonicalize.td", 108 "transforms/generated_legalize_tf.inc", 109 "transforms/legalize_tf.cc", 110 "transforms/legalize_tf_control_flow.cc", 134 srcs = ["transforms/lhlo_legalize_to_affine.cc"], 135 hdrs = ["transforms/map_xla_to_scalar_op.h"], 152 srcs = ["transforms/xla_legalize_to_linalg.cc"], [all …]
|
/external/brotli/c/common/ |
D | transform.h | 52 const uint8_t* transforms; member 60 #define BROTLI_TRANSFORM_PREFIX_ID(T, I) ((T)->transforms[((I) * 3) + 0]) 61 #define BROTLI_TRANSFORM_TYPE(T, I) ((T)->transforms[((I) * 3) + 1]) 62 #define BROTLI_TRANSFORM_SUFFIX_ID(T, I) ((T)->transforms[((I) * 3) + 2]) 74 const BrotliTransforms* transforms, int transform_idx);
|
D | transform.c | 194 const BrotliTransforms* transforms, int transform_idx) { in BrotliTransformDictionaryWord() argument 196 const uint8_t* prefix = BROTLI_TRANSFORM_PREFIX(transforms, transform_idx); in BrotliTransformDictionaryWord() 197 uint8_t type = BROTLI_TRANSFORM_TYPE(transforms, transform_idx); in BrotliTransformDictionaryWord() 198 const uint8_t* suffix = BROTLI_TRANSFORM_SUFFIX(transforms, transform_idx); in BrotliTransformDictionaryWord()
|
/external/skqp/modules/skottie/src/ |
D | SkottieTest.cpp | 107 const std::vector<TransformInfo>& transforms() const { return fTransforms; } in DEF_TEST() function in DEF_TEST::TestPropertyObserver 136 const auto& transforms = observer->transforms(); in DEF_TEST() local 137 REPORTER_ASSERT(reporter, transforms.size() == 2); in DEF_TEST() 138 REPORTER_ASSERT(reporter, transforms[0].node_name.equals("shape_transform_0")); in DEF_TEST() 139 REPORTER_ASSERT(reporter, transforms[0].transform == skottie::TransformPropertyValue({ in DEF_TEST() 147 REPORTER_ASSERT(reporter, transforms[1].node_name.equals("layer_0")); in DEF_TEST() 148 REPORTER_ASSERT(reporter, transforms[1].transform == skottie::TransformPropertyValue({ in DEF_TEST()
|
/external/skia/docs/examples/ |
D | Canvas_drawTextRSXform.cpp | 8 SkRSXform transforms[iterations]; in draw() local 12 for (size_t i = 0; i < SK_ARRAY_COUNT(transforms); ++i) { in draw() 15 transforms[i] = SkRSXform::Make(-c, -s, -s * 16, c * 16); in draw() 22 auto spiral = SkTextBlob::MakeFromRSXform(alphabet, sizeof(alphabet), transforms, font); in draw()
|
/external/libpng/contrib/libtests/ |
D | timepng.c | 147 static int read_png(FILE *fp, png_int_32 transforms, FILE *write_file) in read_png() argument 172 if (transforms < 0) in read_png() 176 png_read_png(png_ptr, info_ptr, transforms, NULL/*params*/); in read_png() 193 static int perform_one_test(FILE *fp, int nfiles, png_int_32 transforms) in perform_one_test() argument 205 if (read_png(fp, transforms, NULL/*write*/)) in perform_one_test() 368 int transforms = -1; /* by row */ in main() local 474 if (transforms == -1) in main() 475 transforms = PNG_TRANSFORM_IDENTITY; in main() 483 transforms |= PNG_TRANSFORM_ ## name in main() 591 ok = perform_one_test(fp, nfiles, transforms); in main()
|
D | pngimage.c | 282 is_combo(int transforms) in is_combo() argument 284 return transforms & (transforms-1); /* non-zero if more than one set bit */ in is_combo() 288 first_transform(int transforms) in first_transform() argument 290 return transforms & -transforms; /* lowest set bit */ in first_transform() 294 is_bad_combo(int transforms) in is_bad_combo() argument 302 if ((combo & transforms) == combo && in is_bad_combo() 303 (transforms & known_bad_combos[i][1]) == 0) in is_bad_combo() 546 int transforms; /* Transform used in operation */ member 712 if (dp->transforms != 0) in display_log() 714 int tr = dp->transforms; in display_log() [all …]
|
/external/skqp/src/compute/skc/ |
D | raster_builder.c | 144 …TEXT_WAIT_WHILE(raster_builder->context,skc_extent_ring_is_full(&raster_builder->transforms.ring)); in skc_raster_builder_transforms_append() 146 cmd->transform = skc_extent_ring_wip_count(&raster_builder->transforms.ring); in skc_raster_builder_transforms_append() 148 skc_uint const base = skc_extent_ring_wip_index_inc(&raster_builder->transforms.ring); in skc_raster_builder_transforms_append() 150 memcpy(raster_builder->transforms.extent[base].f32a8,transform,sizeof(skc_float8)); in skc_raster_builder_transforms_append() 152 return skc_extent_ring_wip_is_full(&raster_builder->transforms.ring); in skc_raster_builder_transforms_append() 225 skc_extent_ring_checkpoint(&raster_builder->transforms.ring); in skc_raster_builder_checkpoint()
|
/external/skqp/src/compute/skc/platforms/cl_12/ |
D | raster_builder_cl_12.c | 168 struct skc_extent_phw1g_tdrNs transforms; // write once by host + read by device member 200 struct skc_extent_phw1g_tdrNs_snap transforms; // write once by host + read by device member 305 skc_extent_phw1g_tdrNs_free(runtime,&impl->transforms); in skc_raster_builder_pfn_release() 523 skc_extent_phw1g_tdrNs_snap_free(runtime,&cohort->transforms); in skc_raster_cohort_sort_prefix() 849 &impl->transforms, in skc_raster_cohort_rasterize() 850 &cohort->transforms, in skc_raster_cohort_rasterize() 901 cl(SetKernelArg(impl->kernels.rasterize_all,6,SKC_CL_ARG(cohort->transforms.drN))); in skc_raster_cohort_rasterize() 1106 skc_extent_phw1g_tdrNs_snap_init(runtime,&raster_builder->transforms.ring,&cohort->transforms); in skc_raster_builder_cohort_grid_pfn_waiting() 1274 …extent_phw1g_tdrNs_alloc(runtime,&impl->transforms,sizeof(union skc_transform) * config->raster_co… in skc_raster_builder_cl_12_create() 1292 (*raster_builder)->transforms.extent = impl->transforms.hw1; in skc_raster_builder_cl_12_create() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/ |
D | KeyboardTest.java | 50 …ImmutableSortedSet<Transform> transforms = ImmutableSortedSet.of(Transform.of("¨ß", "\uD800\uDE80"… in createKeyboard() local 54 ImmutableList.of("Czech-QWERTY"), ImmutableSortedSet.of(keyMap1, keyMap2), transforms); in createKeyboard() 97 ImmutableSet<Transform> transforms = ImmutableSet.of(Transform.of("¨ß", "\uD800\uDE80"), in testTransforms() local 99 assertEquals("", transforms, keyboard.transforms()); in testTransforms() 128 …ImmutableSortedSet<Transform> transforms = ImmutableSortedSet.of(Transform.of("¨ß", "\uD800\uDE80"… in testEqualsTrue() local 132 ImmutableSortedSet.of(keyMap1, keyMap2), transforms); in testEqualsTrue()
|
/external/skia/src/sksl/ |
D | SkSLHCodeGenerator.cpp | 240 const auto transforms = fSectionAndParameterHelper.getSections(COORD_TRANSFORM_SECTION); in writeConstructor() local 241 for (size_t i = 0; i < transforms.size(); ++i) { in writeConstructor() 242 const Section& s = *transforms[i]; in writeConstructor() 300 for (size_t i = 0; i < transforms.size(); ++i) { in writeConstructor() 301 const Section& s = *transforms[i]; in writeConstructor() 310 const auto transforms = fSectionAndParameterHelper.getSections(COORD_TRANSFORM_SECTION); in writeFields() local 311 for (size_t i = 0; i < transforms.size(); ++i) { in writeFields() 312 const Section& s = *transforms[i]; in writeFields()
|
/external/skqp/src/sksl/ |
D | SkSLHCodeGenerator.cpp | 254 const auto transforms = fSectionAndParameterHelper.getSections(COORD_TRANSFORM_SECTION); in writeConstructor() local 255 for (size_t i = 0; i < transforms.size(); ++i) { in writeConstructor() 256 const Section& s = *transforms[i]; in writeConstructor() 280 for (size_t i = 0; i < transforms.size(); ++i) { in writeConstructor() 281 const Section& s = *transforms[i]; in writeConstructor() 298 const auto transforms = fSectionAndParameterHelper.getSections(COORD_TRANSFORM_SECTION); in writeFields() local 299 for (size_t i = 0; i < transforms.size(); ++i) { in writeFields() 300 const Section& s = *transforms[i]; in writeFields()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | __init__.py | 26 def TransformGraph(input_graph_def, inputs, outputs, transforms): argument 46 transforms_string = compat.as_bytes(" ".join(transforms))
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 250 std::vector<TransformFn> transforms = arcmt::getAllTransformations(OrigGCMode, in checkForManualIssues() local 252 assert(!transforms.empty()); in checkForManualIssues() 324 for (unsigned i=0, e = transforms.size(); i != e; ++i) in checkForManualIssues() 325 transforms[i](pass); in checkForManualIssues() 363 std::vector<TransformFn> transforms = arcmt::getAllTransformations(OrigGCMode, in applyTransforms() local 365 assert(!transforms.empty()); in applyTransforms() 367 for (unsigned i=0, e = transforms.size(); i != e; ++i) { in applyTransforms() 368 bool err = migration.applyTransform(transforms[i]); in applyTransforms()
|
/external/skia/modules/skottie/src/ |
D | SkottieTest.cpp | 190 const std::vector<TransformInfo>& transforms() const { return fTransforms; } in DEF_TEST() function in DEF_TEST::TestPropertyObserver 281 const auto& transforms = observer->transforms(); in DEF_TEST() local 282 REPORTER_ASSERT(reporter, transforms.size() == 3); in DEF_TEST() 283 REPORTER_ASSERT(reporter, transforms[0].node_name.equals("layer_0")); in DEF_TEST() 284 REPORTER_ASSERT(reporter, transforms[0].handle->get() == skottie::TransformPropertyValue({ in DEF_TEST() 292 REPORTER_ASSERT(reporter, transforms[1].node_name.equals("layer_1")); in DEF_TEST() 293 REPORTER_ASSERT(reporter, transforms[1].handle->get() == skottie::TransformPropertyValue({ in DEF_TEST() 301 REPORTER_ASSERT(reporter, transforms[2].node_name.equals("shape_transform_0")); in DEF_TEST() 302 REPORTER_ASSERT(reporter, transforms[2].handle->get() == skottie::TransformPropertyValue({ in DEF_TEST()
|
/external/tensorflow/tensorflow/tools/graph_transforms/python/ |
D | transform_graph_test.py | 75 transforms = ["strip_unused_nodes"] 77 output_names, transforms)
|
/external/brotli/java/org/brotli/dec/ |
D | Transform.java | 33 int[] transforms, String prefixSuffixSrc, String transformsSrc) { in unpackTransforms() argument 46 transforms[i] = transformsSrc.charAt(i) - 32; in unpackTransforms()
|
/external/skqp/src/compute/ts/ |
D | transform_stack.c | 97 union ts_transform_stack_3x3_u * transforms; member 110 ts->transforms = realloc(ts->transforms,size * sizeof(*ts->transforms)); in ts_transform_stack_resize() 136 ts->transforms = NULL; in ts_transform_stack_create() 147 free(ts->transforms); in ts_transform_stack_release() 178 return ts->transforms + ts->count - 1; in ts_transform_stack_tos() 306 union ts_transform_stack_3x3_u * t = ts->transforms + idx; in ts_transform_stack_store_matrix_8()
|