Home
last modified time | relevance | path

Searched refs:_slope (Results 1 – 25 of 113) sorted by relevance

12345

/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/src/layer/x86/
H A Dprelu_x86.cpp50 __m256 _slope = _mm256_loadu_ps(slope + i * 8); in forward_inplace() local
51 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
56 __m256 _slope = _mm256_set1_ps(slope_data[0]); in forward_inplace() local
63 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
82 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
129 __m128 _slope = _mm_loadu_ps(slope + i * 4); in forward_inplace() local
130 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
135 __m128 _slope = _mm_set1_ps(slope_data[0]); in forward_inplace() local
142 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
161 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
[all …]
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/src/layer/x86/
H A Dprelu_x86.cpp50 __m256 _slope = _mm256_loadu_ps(slope + i * 8); in forward_inplace() local
51 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
56 __m256 _slope = _mm256_set1_ps(slope_data[0]); in forward_inplace() local
63 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
82 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
129 __m128 _slope = _mm_loadu_ps(slope + i * 4); in forward_inplace() local
130 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
135 __m128 _slope = _mm_set1_ps(slope_data[0]); in forward_inplace() local
142 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
161 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
[all …]
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/src/layer/x86/
H A Dprelu_x86.cpp50 __m256 _slope = _mm256_loadu_ps(slope + i * 8); in forward_inplace() local
51 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
56 __m256 _slope = _mm256_set1_ps(slope_data[0]); in forward_inplace() local
63 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
82 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
129 __m128 _slope = _mm_loadu_ps(slope + i * 4); in forward_inplace() local
130 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
135 __m128 _slope = _mm_set1_ps(slope_data[0]); in forward_inplace() local
142 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
161 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
[all …]
/dports/misc/ncnn/ncnn-20211208/src/layer/x86/
H A Dprelu_x86.cpp50 __m256 _slope = _mm256_loadu_ps(slope + i * 8); in forward_inplace() local
51 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
56 __m256 _slope = _mm256_set1_ps(slope_data[0]); in forward_inplace() local
63 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
82 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
129 __m128 _slope = _mm_loadu_ps(slope + i * 4); in forward_inplace() local
130 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
135 __m128 _slope = _mm_set1_ps(slope_data[0]); in forward_inplace() local
142 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
161 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
[all …]
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/src/layer/x86/
H A Dprelu_x86.cpp55 __m256 _slope = _mm256_loadu_ps(slope + i * 8); in forward_inplace() local
56 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
61 __m256 _slope = _mm256_set1_ps(slope_data[0]); in forward_inplace() local
68 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
87 _mm256_storeu_ps(ptr, prelu_avx(_p, _slope)); in forward_inplace()
134 __m128 _slope = _mm_loadu_ps(slope + i * 4); in forward_inplace() local
135 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
140 __m128 _slope = _mm_set1_ps(slope_data[0]); in forward_inplace() local
147 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
166 _mm_storeu_ps(ptr, prelu_sse(_p, _slope)); in forward_inplace()
[all …]
/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/src/layer/arm/
H A Dprelu_arm.cpp200 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
206 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
249 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
254 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
444 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_fp16s() local
451 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace_fp16s()
483 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_fp16s() local
759 float16x4_t _ps = vmul_f16(_p, _slope); in forward_inplace_fp16sa()
798 float16x4_t _ps = vmul_f16(_p, _slope); in forward_inplace_fp16sa()
969 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_bf16s() local
[all …]
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/src/layer/arm/
H A Dprelu_arm.cpp200 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
206 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
249 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
254 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
444 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_fp16s() local
451 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace_fp16s()
483 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_fp16s() local
759 float16x4_t _ps = vmul_f16(_p, _slope); in forward_inplace_fp16sa()
798 float16x4_t _ps = vmul_f16(_p, _slope); in forward_inplace_fp16sa()
969 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_bf16s() local
[all …]
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/src/layer/arm/
H A Dprelu_arm.cpp200 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
206 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
249 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
254 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
444 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_fp16s() local
451 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace_fp16s()
483 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_fp16s() local
759 float16x4_t _ps = vmul_f16(_p, _slope); in forward_inplace_fp16sa()
798 float16x4_t _ps = vmul_f16(_p, _slope); in forward_inplace_fp16sa()
969 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_bf16s() local
[all …]
/dports/misc/ncnn/ncnn-20211208/src/layer/arm/
H A Dprelu_arm.cpp204 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
210 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
253 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
258 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
448 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_fp16s() local
455 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace_fp16s()
487 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_fp16s() local
763 float16x4_t _ps = vmul_f16(_p, _slope); in forward_inplace_fp16sa()
802 float16x4_t _ps = vmul_f16(_p, _slope); in forward_inplace_fp16sa()
974 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_bf16s() local
[all …]
H A Drequantize_leakyrelu_pack8.h47 float32x4_t _slope = vdupq_n_f32(slope); in requantize_leakyrelu_pack8_neon() local
69 vst1_s8(ptr, float2int8leakyrelu(_v0, _v1, _slope)); in requantize_leakyrelu_pack8_neon()
70 vst1_s8(ptr + 8, float2int8leakyrelu(_v2, _v3, _slope)); in requantize_leakyrelu_pack8_neon()
71 vst1_s8(ptr + 16, float2int8leakyrelu(_v4, _v5, _slope)); in requantize_leakyrelu_pack8_neon()
88 vst1_s8(ptr, float2int8leakyrelu(_v0, _v1, _slope)); in requantize_leakyrelu_pack8_neon()
89 vst1_s8(ptr + 8, float2int8leakyrelu(_v2, _v3, _slope)); in requantize_leakyrelu_pack8_neon()
100 vst1_s8(ptr, float2int8leakyrelu(_v0, _v1, _slope)); in requantize_leakyrelu_pack8_neon()
126 float32x4_t _slope = vdupq_n_f32(slope); in requantize_leakyrelu_pack8_neon() local
150 vst1_s8(ptr, float2int8leakyrelu(_v0, _v1, _slope)); in requantize_leakyrelu_pack8_neon()
178 vst1_s8(ptr, float2int8leakyrelu(_v0, _v1, _slope)); in requantize_leakyrelu_pack8_neon()
[all …]
H A Drequantize_leakyrelu_pack4.h52 float32x4_t _slope = vdupq_n_f32(slope); in requantize_leakyrelu_pack4_neon() local
74 vst1_s8(ptr, float2int8leakyrelu(_v00, _v10, _slope)); in requantize_leakyrelu_pack4_neon()
90 vst1_s8(ptr, float2int8leakyrelu(_v0, _v1, _slope)); in requantize_leakyrelu_pack4_neon()
118 float32x4_t _slope = vdupq_n_f32(slope); in requantize_leakyrelu_pack4_neon() local
140 vst1_s8(ptr, float2int8leakyrelu(_v00, _v10, _slope)); in requantize_leakyrelu_pack4_neon()
167 vst1_s8(ptr, float2int8leakyrelu(_v00, _v10, _slope)); in requantize_leakyrelu_pack4_neon()
185 vst1_s8(ptr, float2int8leakyrelu(_v0, _v1, _slope)); in requantize_leakyrelu_pack4_neon()
211 float32x4_t _slope = vdupq_n_f32(slope); in requantize_leakyrelu_pack4_neon() local
218 int8x8_t v = float2int8leakyrelu(_v, _v, _slope); in requantize_leakyrelu_pack4_neon()
249 float32x4_t _slope = vdupq_n_f32(slope); in requantize_leakyrelu_pack4_neon() local
[all …]
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/src/layer/arm/
H A Dprelu_arm.cpp200 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
206 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
249 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
254 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
444 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_fp16s() local
451 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace_fp16s()
483 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_fp16s() local
759 float16x4_t _ps = vmul_f16(_p, _slope); in forward_inplace_fp16sa()
798 float16x4_t _ps = vmul_f16(_p, _slope); in forward_inplace_fp16sa()
969 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_bf16s() local
[all …]
H A Drelu_arm.cpp207 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
212 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
295 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace() local
300 float32x4_t _ps = vmulq_f32(_p, _slope); in forward_inplace()
420 float16x8_t _ps = vmulq_f16(_p, _slope); in forward_inplace_fp16s()
477 float16x8_t _ps = vmulq_f16(_p, _slope); in forward_inplace_fp16s()
543 float16x8_t _slope = vdupq_n_f16((__fp16)slope); in forward_inplace_fp16s() local
550 float16x8_t _ps = vmulq_f16(_p, _slope); in forward_inplace_fp16s()
802 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_bf16s() local
859 float32x4_t _slope = vdupq_n_f32(slope); in forward_inplace_bf16s() local
[all …]
/dports/devel/fuzzylite/fuzzylite-6.0/fuzzylite/src/term/
H A DSigmoid.cpp22 : Term(name, height), _inflection(inflection), _slope(slope) { } in Sigmoid()
36 return Term::_height * 1.0 / (1.0 + std::exp(-_slope * (x - _inflection))); in membership()
46 if (Op::isGE(_slope, 0.0)) { in tsukamoto()
53 if (Op::isGE(_slope, 0.0)) { in tsukamoto()
59 scalar a = _slope; in tsukamoto()
72 return Op::join(2, " ", _inflection, _slope) + in parameters()
93 this->_slope = a; in setSlope()
97 return this->_slope; in getSlope()
109 if (not Op::isFinite(_slope) or Op::isEq(_slope, 0.0)) return Zero; in direction()
111 if (Op::isGt(_slope, 0.0)) return Positive; in direction()
/dports/graphics/vapoursynth-fmtconv/fmtconv-r28/src/fmtcl/
H A DTransOpLinPow.cpp49 , _slope (slope) in TransOpLinPow()
59 _beta_i = pow ( _beta * _slope, _p2); in TransOpLinPow()
60 _beta_in = -pow (-_beta_n * _slope, _p2); in TransOpLinPow()
68 _lb_i = -pow (-_lb * _slope, _p2); in TransOpLinPow()
99 y = x / _slope; in do_convert()
103 y = -pow (-x, _p2_i) / _slope; in do_convert()
107 y = pow ( x, _p2_i) / _slope; in do_convert()
127 y = x * _slope; in do_convert()
131 y = -pow (-x * _slope, _p2); in do_convert()
135 y = pow ( x * _slope, _p2); in do_convert()
/dports/misc/ncnn/ncnn-20211208/src/layer/mips/
H A Dprelu_mips.cpp56 v4f32 _slope = (v4f32)__msa_ld_w(slope + i * 4, 0); in forward_inplace() local
58 v4f32 _ps = __msa_fmul_w(_p, _slope); in forward_inplace()
65 v4f32 _slope = (v4f32)__msa_fill_w_f32(slope_data[0]); in forward_inplace() local
74 v4f32 _ps = __msa_fmul_w(_p, _slope); in forward_inplace()
90 …v4f32 _slope = num_slope > 1 ? (v4f32)__msa_ld_w((const float*)slope_data + i * 4, 0) : (v4f32)__m… in forward_inplace() local
97 v4f32 _ps = __msa_fmul_w(_p, _slope); in forward_inplace()
124 v4f32 _ps = __msa_fmul_w(_p, _slope); in forward_inplace()
184 v4f32 _slope = (v4f32)__msa_fill_w_f32(slope); in forward_inplace() local
191 v4f32 _ps = __msa_fmul_w(_p, _slope); in forward_inplace()
227 v4f32 _slope = (v4f32)__msa_fill_w_f32(slope); in forward_inplace() local
[all …]
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/math/
H A Dline.py51 self._slope = None
54 self._slope = self._direction.y / self._direction.x
55 self._yof0 = self._location.y - self._slope * self._location.x
56 self._is_vertical = self._slope is None
72 return self._slope
106 return math.isclose(self._slope, other._slope, abs_tol=1e-12)
142 x = (ray1._yof0 - ray2._yof0) / (ray2._slope - ray1._slope)
159 return self._yof0 + float(x) * self._slope
171 return (float(y) - self._yof0) / self._slope
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/actions/
H A DFootpathPlaceAction.cpp33 , _slope(slope) in FootpathPlaceAction()
47 visitor.Visit("slope", _slope); in AcceptParameters()
83 if (_slope & SLOPE_IS_IRREGULAR_FLAG) in Query()
105 auto tileElement = map_get_footpath_element_slope(_loc, _slope); in Query()
146 auto tileElement = map_get_footpath_element_slope(_loc, _slope); in Execute()
280 if (_slope & FOOTPATH_PROPERTIES_FLAG_IS_SLOPED) in ElementInsertQuery()
282 quarterTile = QuarterTile{ 0b1111, 0b1100 }.Rotate(_slope & TILE_ELEMENT_DIRECTION_MASK); in ElementInsertQuery()
348 if (_slope & FOOTPATH_PROPERTIES_FLAG_IS_SLOPED) in ElementInsertExecute()
350 quarterTile = QuarterTile{ 0b1111, 0b1100 }.Rotate(_slope & TILE_ELEMENT_DIRECTION_MASK); in ElementInsertExecute()
421 pathElement->SetSlopeDirection(_slope & FOOTPATH_PROPERTIES_SLOPE_DIRECTION_MASK); in ElementInsertExecute()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/shared/
H A DgcUtil.cpp114 _intercept(0), _slope(0), _mean_x(weight), _mean_y(weight) {} in LinearLeastSquareFit()
133 _slope = slope_numerator / slope_denominator; in update()
140 _intercept = (_sum_y - _slope * _sum_x) / ((double) _mean_x.count()); in update()
149 new_y = (_intercept + _slope * x); in y()
164 return (_slope >= 0.00); in decrement_will_decrease()
168 return (_slope <= 0.00); in increment_will_decrease()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/shared/
H A DgcUtil.cpp114 _intercept(0), _slope(0), _mean_x(weight), _mean_y(weight) {} in LinearLeastSquareFit()
133 _slope = slope_numerator / slope_denominator; in update()
140 _intercept = (_sum_y - _slope * _sum_x) / ((double) _mean_x.count()); in update()
149 new_y = (_intercept + _slope * x); in y()
164 return (_slope >= 0.00); in decrement_will_decrease()
168 return (_slope <= 0.00); in increment_will_decrease()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/gc/shared/
H A DgcUtil.cpp114 _intercept(0), _slope(0), _mean_x(weight), _mean_y(weight) {} in LinearLeastSquareFit()
133 _slope = slope_numerator / slope_denominator; in update()
140 _intercept = (_sum_y - _slope * _sum_x) / ((double) _mean_x.count()); in update()
149 new_y = (_intercept + _slope * x); in y()
164 return (_slope >= 0.00); in decrement_will_decrease()
168 return (_slope <= 0.00); in increment_will_decrease()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/gc/shared/
H A DgcUtil.cpp114 _intercept(0), _slope(0), _mean_x(weight), _mean_y(weight) {} in LinearLeastSquareFit()
133 _slope = slope_numerator / slope_denominator; in update()
140 _intercept = (_sum_y - _slope * _sum_x) / ((double) _mean_x.count()); in update()
149 new_y = (_intercept + _slope * x); in y()
164 return (_slope >= 0.00); in decrement_will_decrease()
168 return (_slope <= 0.00); in increment_will_decrease()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/gc/shared/
H A DgcUtil.cpp114 _intercept(0), _slope(0), _mean_x(weight), _mean_y(weight) {} in LinearLeastSquareFit()
133 _slope = slope_numerator / slope_denominator; in update()
140 _intercept = (_sum_y - _slope * _sum_x) / ((double) _mean_x.count()); in update()
149 new_y = (_intercept + _slope * x); in y()
164 return (_slope >= 0.00); in decrement_will_decrease()
168 return (_slope <= 0.00); in increment_will_decrease()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/gc/shared/
H A DgcUtil.cpp114 _intercept(0), _slope(0), _mean_x(weight), _mean_y(weight) {} in LinearLeastSquareFit()
133 _slope = slope_numerator / slope_denominator; in update()
140 _intercept = (_sum_y - _slope * _sum_x) / ((double) _mean_x.count()); in update()
149 new_y = (_intercept + _slope * x); in y()
164 return (_slope >= 0.00); in decrement_will_decrease()
168 return (_slope <= 0.00); in increment_will_decrease()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/gc/shared/
H A DgcUtil.cpp114 _intercept(0), _slope(0), _mean_x(weight), _mean_y(weight) {} in LinearLeastSquareFit()
133 _slope = slope_numerator / slope_denominator; in update()
140 _intercept = (_sum_y - _slope * _sum_x) / ((double) _mean_x.count()); in update()
149 new_y = (_intercept + _slope * x); in y()
164 return (_slope >= 0.00); in decrement_will_decrease()
168 return (_slope <= 0.00); in increment_will_decrease()

12345