Home
last modified time | relevance | path

Searched refs:similarity (Results 1 – 25 of 60) sorted by relevance

123

/third_party/mindspore/tests/ut/python/metrics/
Dtest_cosine_similarity.py36 metric = CosineSimilarity(similarity='cosine', reduction='none', zero_diagonal=False)
41 def sklearn_cosine_similarity(test_data, similarity, reduction): argument
44 'dot': pairwise.linear_kernel}[similarity]
53 sk_square_matrix = sklearn_cosine_similarity(test_data, similarity='cosine', reduction='none')
61 CosineSimilarity(similarity="4")
67 CosineSimilarity(similarity=4)
/third_party/mindspore/mindspore/nn/metrics/
Dcosine_similarity.py51 def __init__(self, similarity='cosine', reduction='none', zero_diagonal=True): argument
55 similarity = validator.check_value_type("similarity", similarity, [str])
56 self.similarity = validator.check_string(similarity, similarity_list, "similarity")
77 if self.similarity == 'cosine':
/third_party/ffmpeg/libavfilter/opencl/
Dcolorkey.cl26 float similarity,
33 pixel.s3 = clamp((diff - similarity) / blend, 0.0f, 1.0f);
41 float similarity
47 pixel.s3 = (diff > similarity) ? 1.0f : 0.0f;
/third_party/ffmpeg/libavfilter/
Dvf_chromakey.c35 float similarity; member
65 return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * 255.0; in do_chromakey_pixel()
67 return (diff > ctx->similarity) ? 255 : 0; in do_chromakey_pixel()
87 return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * max; in do_chromakey_pixel16()
89 return (diff > ctx->similarity) ? max : 0; in do_chromakey_pixel16()
202 alpha = diff > ctx->similarity; in do_chromahold_slice()
204 double f = 1. - av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0); in do_chromahold_slice()
241 alpha = diff > ctx->similarity; in do_chromahold16_slice()
243 double f = 1. - av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0); in do_chromahold16_slice()
393 …{ "similarity", "set the chromakey similarity value", OFFSET(similarity), AV_OPT_TYPE_FLOAT, { .db…
[all …]
Dvf_colorkey.c35 float similarity; member
51 return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * 255.0; in do_colorkey_pixel()
53 return (diff > ctx->similarity) ? 255 : 0; in do_colorkey_pixel()
208 …{ "similarity", "set the colorkey similarity value", OFFSET(similarity), AV_OPT_TYPE_FLOAT, { .dbl…
233 …{ "similarity", "set the colorhold similarity value", OFFSET(similarity), AV_OPT_TYPE_FLOAT, { .db…
Dvf_colorkey_opencl.c42 float similarity; member
138 CL_SET_KERNEL_ARG(colorkey_ctx->kernel_colorkey, 3, float, &colorkey_ctx->similarity); in filter_frame()
226 …{ "similarity", "set the colorkey similarity value", OFFSET(similarity), AV_OPT_TYPE_FLOAT, { .dbl…
/third_party/grpc/src/abseil-cpp/
Dpreprocessed_builds.yaml.gen.py154 similarity = len(
157 if similarity > best_similarity:
158 best_crule, best_similarity = crule, similarity
/third_party/boost/libs/geometry/test/algorithms/similarity/
DJamfile11 test-suite boost-geometry-algorithms-similarity
DJamfile.v211 test-suite boost-geometry-algorithms-similarity
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
DCHANGELOG47 - new, accurate RGBA color similarity algorithm
62 - better RGBA color similarity algorithm and Floyd-Steinberg remapping
/third_party/gstreamer/gstplugins_bad/gst/ivtc/
Dgstivtc.c311 similarity (GstIvtc * ivtc, int i1, int i2) in similarity() function
580 prev_score = similarity (ivtc, anchor_index - 1, anchor_index); in gst_ivtc_construct_frame()
581 next_score = similarity (ivtc, anchor_index, anchor_index + 1); in gst_ivtc_construct_frame()
/third_party/skia/third_party/externals/angle2/doc/
DBuildingAngleForChromiumDevelopment.md12 * To setup run these commands (note similarity to [DevSetup](DevSetup.md)):
/third_party/flutter/skia/third_party/externals/angle2/doc/
DBuildingAngleForChromiumDevelopment.md12 * To setup run these commands (note similarity to [DevSetup](DevSetup.md)):
/third_party/boost/libs/geometry/test/algorithms/
DJamfile.v283 build-project similarity ;
DJamfile83 build-project similarity ;
/third_party/boost/libs/spirit/doc/x3/abstracts/
Dsyntax_diagram.qbk19 understandable by programmers due to their similarity to flow charts. The
/third_party/boost/libs/spirit/doc/abstracts/
Dsyntax_diagram.qbk19 easily understandable by programmers due to their similarity to flow
/third_party/boost/libs/spirit/doc/lex/
Dlexer_quickstart1.qbk89 while maintaining the similarity with corresponding features of __flex__.
/third_party/jerryscript/tools/pylint/
Dpylintrc290 # Minimum lines number of a similarity.
291 min-similarity-lines=4
/third_party/boost/libs/fusion/doc/
Dquick_start.qbk36 the similarity ends there. You can do a lot more with Fusion `__vector__` or
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DGLX_SGIX_fbconfig.txt29 and the type and size of ancillary buffers), removes the "similarity"
46 This extension also removes the "similarity" restriction when making
51 "similarity" and "compatibility" restrictions and allow a context to be
/third_party/openGLES/extensions/SGIX/
DGLX_SGIX_fbconfig.txt29 and the type and size of ancillary buffers), removes the "similarity"
46 This extension also removes the "similarity" restriction when making
51 "similarity" and "compatibility" restrictions and allow a context to be
/third_party/EGL/extensions/NV/
DEGL_NV_stream_socket.txt70 An application using this extension will bear some similarity to the
/third_party/skia/third_party/externals/egl-registry/extensions/NV/
DEGL_NV_stream_socket.txt70 An application using this extension will bear some similarity to the
/third_party/skia/third_party/externals/opengl-registry/extensions/WIN/
DWIN_specular_fog.txt69 Gouraud polygons. If Phong shading (ext #113) is enabled this similarity

123