Home
last modified time | relevance | path

Searched refs:sample_x (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/mindspore/nn/probability/toolbox/
Danomaly_detection.py65 def predict_outlier_score(self, sample_x): argument
75 if not isinstance(sample_x, Tensor):
77 reconstructed_sample = self.vae.reconstruct_sample(sample_x)
78 … return self._calculate_euclidean_distance(sample_x.asnumpy(), reconstructed_sample.asnumpy())
80 def predict_outlier(self, sample_x, threshold=100.0): argument
92 score = self.predict_outlier_score(sample_x)
95 def _calculate_euclidean_distance(self, sample_x, reconstructed_sample): argument
99 return np.sqrt(np.sum(np.square(sample_x - reconstructed_sample)))
/third_party/flutter/engine/flutter/flow/
Dinstrumentation.cc158 double sample_x = in Visualize() local
161 sample_x, y, sample_x + width * sample_unit_width, height); in Visualize()
168 sample_x, in Visualize()
174 sample_x + width * sample_unit_width, height); in Visualize()
213 sample_x = x + width * (static_cast<double>(current_sample_) / kMaxSamples); in Visualize()
215 sample_x, y, sample_x + width * sample_unit_width, height); in Visualize()
285 double sample_x = in Visualize() local
289 sample_x, y, in Visualize()
290 sample_x + width * sample_unit_width + sample_margin_width * 2, bottom); in Visualize()
/third_party/mindspore/tests/st/probability/dpn/
Dtest_gpu_svi_vae.py114 sample_x = Tensor(sample['image'], dtype=mstype.float32)
115 reconstructed_sample = vae.reconstruct_sample(sample_x)
Dtest_gpu_svi_cvae.py126 sample_x = Tensor(sample['image'], dtype=mstype.float32)
128 reconstructed_sample = cvae.reconstruct_sample(sample_x, sample_y)
/third_party/pixman/pixman/
Dpixman-filter.c440 pixman_kernel_t sample_x, in pixman_filter_create_separable_convolution() argument
451 width = filter_width (reconstruct_x, sample_x, sx); in pixman_filter_create_separable_convolution()
468 create_1d_filter (width, reconstruct_x, sample_x, sx, subsample_x, in pixman_filter_create_separable_convolution()
Dpixman.h1110 pixman_kernel_t sample_x,
/third_party/flutter/skia/src/core/
DSkScalerContext.cpp368 for (int sample_x = -4; sample_x < sample_width + 4; sample_x += 4) { in pack4xHToLCD16() local
370 … for (int sample_index = SkMax32(0, sample_x - 4), coeff_index = sample_index - (sample_x - 4) in pack4xHToLCD16()
371 ; sample_index < SkMin32(sample_x + 8, sample_width) in pack4xHToLCD16()
/third_party/skia/src/core/
DSkScalerContext.cpp360 for (int sample_x = -4; sample_x < sample_width + 4; sample_x += 4) { in pack4xHToMask() local
362 … for (int sample_index = std::max(0, sample_x - 4), coeff_index = sample_index - (sample_x - 4) in pack4xHToMask()
363 ; sample_index < std::min(sample_x + 8, sample_width) in pack4xHToMask()
/third_party/mindspore/mindspore/nn/probability/
DREADME.md247 sample_x = Tensor(sample['image'], dtype=mstype.float32)
248 reconstructed_sample = vae.reconstruct_sample(sample_x)
/third_party/flutter/skia/src/opts/
DSkRasterPipeline_opts.h2760 F sample_x = cx - 1.5f; in STAGE() local
2766 U32 ix = ix_and_ptr(&ptr, ctx, sample_x, sample_y); in STAGE()
2776 sample_x += 1; in STAGE()
/third_party/skia/src/opts/
DSkRasterPipeline_opts.h2849 F sample_x = cx - 1.5f; in STAGE() local
2855 U32 ix = ix_and_ptr(&ptr, ctx, sample_x, sample_y); in STAGE()
2865 sample_x += 1; in STAGE()