/third_party/mindspore/tests/ut/python/metrics/ |
D | test_cosine_similarity.py | 36 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/ |
D | cosine_similarity.py | 51 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/ |
D | colorkey.cl | 26 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/ |
D | vf_chromakey.c | 35 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 …]
|
D | vf_colorkey.c | 35 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…
|
D | vf_colorkey_opencl.c | 42 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/ |
D | preprocessed_builds.yaml.gen.py | 154 similarity = len( 157 if similarity > best_similarity: 158 best_crule, best_similarity = crule, similarity
|
/third_party/boost/libs/geometry/test/algorithms/similarity/ |
D | Jamfile | 11 test-suite boost-geometry-algorithms-similarity
|
D | Jamfile.v2 | 11 test-suite boost-geometry-algorithms-similarity
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/ |
D | CHANGELOG | 47 - new, accurate RGBA color similarity algorithm 62 - better RGBA color similarity algorithm and Floyd-Steinberg remapping
|
/third_party/gstreamer/gstplugins_bad/gst/ivtc/ |
D | gstivtc.c | 311 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/ |
D | BuildingAngleForChromiumDevelopment.md | 12 * To setup run these commands (note similarity to [DevSetup](DevSetup.md)):
|
/third_party/flutter/skia/third_party/externals/angle2/doc/ |
D | BuildingAngleForChromiumDevelopment.md | 12 * To setup run these commands (note similarity to [DevSetup](DevSetup.md)):
|
/third_party/boost/libs/geometry/test/algorithms/ |
D | Jamfile.v2 | 83 build-project similarity ;
|
D | Jamfile | 83 build-project similarity ;
|
/third_party/boost/libs/spirit/doc/x3/abstracts/ |
D | syntax_diagram.qbk | 19 understandable by programmers due to their similarity to flow charts. The
|
/third_party/boost/libs/spirit/doc/abstracts/ |
D | syntax_diagram.qbk | 19 easily understandable by programmers due to their similarity to flow
|
/third_party/boost/libs/spirit/doc/lex/ |
D | lexer_quickstart1.qbk | 89 while maintaining the similarity with corresponding features of __flex__.
|
/third_party/jerryscript/tools/pylint/ |
D | pylintrc | 290 # Minimum lines number of a similarity. 291 min-similarity-lines=4
|
/third_party/boost/libs/fusion/doc/ |
D | quick_start.qbk | 36 the similarity ends there. You can do a lot more with Fusion `__vector__` or
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/ |
D | GLX_SGIX_fbconfig.txt | 29 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/ |
D | GLX_SGIX_fbconfig.txt | 29 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/ |
D | EGL_NV_stream_socket.txt | 70 An application using this extension will bear some similarity to the
|
/third_party/skia/third_party/externals/egl-registry/extensions/NV/ |
D | EGL_NV_stream_socket.txt | 70 An application using this extension will bear some similarity to the
|
/third_party/skia/third_party/externals/opengl-registry/extensions/WIN/ |
D | WIN_specular_fog.txt | 69 Gouraud polygons. If Phong shading (ext #113) is enabled this similarity
|