/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/relay/op/contrib/ |
H A D | ethosn.py | 21 from ...dataflow_pattern import wildcard, is_op, is_constant 52 pattern, is_constant(), is_constant(), is_constant(), is_constant(), is_constant() 54 pattern = is_op("nn.bias_add")(pattern, is_constant()) 56 pattern, is_constant(), is_constant(), is_constant(), is_constant() 62 wildcard(), is_constant(), is_constant(), is_constant(), is_constant(), is_constant() 64 pattern = is_op("nn.bias_add")(pattern, is_constant()) 66 pattern, is_constant(), is_constant(), is_constant(), is_constant() 77 pattern = is_op("qnn.dequantize")(wildcard(), is_constant(), is_constant()) 79 pattern = is_op("qnn.quantize")(pattern, is_constant(), is_constant())
|
H A D | arm_compute_lib.py | 24 from ...dataflow_pattern import wildcard, is_op, is_constant, is_expr 84 pattern = is_op("nn.conv2d")(pattern, is_constant()) 85 pattern = pattern.optional(lambda x: is_op("nn.bias_add")(x, is_constant())) 99 pattern, is_constant(), is_constant(), is_constant(), is_constant(), is_constant() 101 pattern = pattern.optional(lambda x: is_op("nn.bias_add")(x, is_constant())) 104 pattern, wildcard(), wildcard(), is_constant(), is_constant() 116 pattern = is_op("nn.dense")(wildcard(), is_constant()) 117 pattern = pattern.optional(lambda x: is_op("nn.bias_add")(x, is_constant())) 129 wildcard(), is_constant(), is_constant(), is_constant(), is_constant(), is_constant() 131 pattern = pattern.optional(lambda x: is_op("nn.bias_add")(x, is_constant())) [all …]
|
/dports/math/stanmath/math-4.2.0/stan/math/rev/fun/ |
H A D | trace_gen_inv_quad_form_ldlt.hpp | 43 if (!is_constant<Ta>::value && !is_constant<Tb>::value in trace_gen_inv_quad_form_ldlt() 65 } else if (!is_constant<Ta>::value && !is_constant<Tb>::value in trace_gen_inv_quad_form_ldlt() 83 } else if (!is_constant<Ta>::value && is_constant<Tb>::value in trace_gen_inv_quad_form_ldlt() 103 } else if (!is_constant<Ta>::value && is_constant<Tb>::value in trace_gen_inv_quad_form_ldlt() 120 } else if (is_constant<Ta>::value && !is_constant<Tb>::value in trace_gen_inv_quad_form_ldlt() 139 } else if (is_constant<Ta>::value && !is_constant<Tb>::value in trace_gen_inv_quad_form_ldlt() 152 } else if (is_constant<Ta>::value && is_constant<Tb>::value in trace_gen_inv_quad_form_ldlt() 199 if (!is_constant<Ta>::value && !is_constant<Tb>::value in trace_gen_inv_quad_form_ldlt() 239 } else if (!is_constant<Ta>::value && is_constant<Tb>::value in trace_gen_inv_quad_form_ldlt() 259 } else if (!is_constant<Ta>::value && is_constant<Tb>::value in trace_gen_inv_quad_form_ldlt() [all …]
|
H A D | trace_gen_quad_form.hpp | 145 if (!is_constant<Ta>::value && !is_constant<Tb>::value in trace_gen_quad_form() 146 && !is_constant<Td>::value) { in trace_gen_quad_form() 170 } else if (!is_constant<Ta>::value && !is_constant<Tb>::value in trace_gen_quad_form() 171 && is_constant<Td>::value) { in trace_gen_quad_form() 192 } else if (!is_constant<Ta>::value && is_constant<Tb>::value in trace_gen_quad_form() 212 } else if (!is_constant<Ta>::value && is_constant<Tb>::value in trace_gen_quad_form() 213 && is_constant<Td>::value) { in trace_gen_quad_form() 227 } else if (is_constant<Ta>::value && !is_constant<Tb>::value in trace_gen_quad_form() 250 } else if (is_constant<Ta>::value && !is_constant<Tb>::value in trace_gen_quad_form() 251 && is_constant<Td>::value) { in trace_gen_quad_form() [all …]
|
H A D | lub_constrain.hpp | 132 if (!is_constant<L>::value && !is_constant<U>::value) { in lub_constrain() 175 if (!is_constant<T>::value) { in lub_constrain() 180 if (!is_constant<L>::value) { in lub_constrain() 184 if (!is_constant<U>::value) { in lub_constrain() 227 if (!is_constant<L>::value && !is_constant<U>::value) { in lub_constrain() 277 if (!is_constant<T>::value) { in lub_constrain() 282 if (!is_constant<U>::value) { in lub_constrain() 288 if (!is_constant<L>::value) { in lub_constrain() 334 if (!is_constant<T>::value) { in lub_constrain() 341 if (!is_constant<L>::value) { in lub_constrain() [all …]
|
H A D | fma.hpp | 203 if (!is_constant<T1>::value) { in fma_reverse_pass() 207 if (!is_constant<T2>::value) { in fma_reverse_pass() 211 if (!is_constant<T3>::value) { in fma_reverse_pass() 228 if (!is_constant<T1>::value) { in fma_reverse_pass() 232 if (!is_constant<T2>::value) { in fma_reverse_pass() 236 if (!is_constant<T3>::value) { in fma_reverse_pass() 253 if (!is_constant<T1>::value) { in fma_reverse_pass() 257 if (!is_constant<T2>::value) { in fma_reverse_pass() 261 if (!is_constant<T3>::value) { in fma_reverse_pass() 278 if (!is_constant<T1>::value) { in fma_reverse_pass() [all …]
|
/dports/math/stanmath/math-4.2.0/stan/math/prim/meta/ |
H A D | is_constant.hpp | 30 struct is_constant : bool_constant<std::is_convertible<T, double>::value> {}; struct 39 using is_constant_all = math::conjunction<is_constant<T>...>; 49 struct is_constant<T, require_std_vector_t<T>> struct 50 : bool_constant<is_constant<typename std::decay_t<T>::value_type>::value> { 62 struct is_constant<T, require_eigen_t<T>> struct 63 : bool_constant<is_constant<typename std::decay_t<T>::Scalar>::value> {}; 65 STAN_ADD_REQUIRE_UNARY(constant, is_constant, require_stan_scalar_real); 66 STAN_ADD_REQUIRE_UNARY_INNER(constant, is_constant, require_stan_scalar_real);
|
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/tests/ |
H A D | test_quadratic.py | 38 self.assertFalse(x.is_constant()) 50 self.assertFalse(t.is_constant()) 55 self.assertFalse(u.is_constant()) 61 self.assertFalse(w.is_constant()) 69 self.assertFalse(x.is_constant()) 76 self.assertFalse(s.is_constant()) 86 self.assertFalse(s.is_constant()) 92 self.assertFalse(t.is_constant()) 102 self.assertFalse(s.is_constant()) 114 self.assertFalse(s.is_constant()) [all …]
|
/dports/graphics/openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/liboslexec/ |
H A D | constfold.cpp | 91 if (A.is_constant() && B.is_constant()) { in DECLFOLDER() 136 if (A.is_constant() && B.is_constant()) { in DECLFOLDER() 202 if (A.is_constant() && B.is_constant()) { in DECLFOLDER() 253 if (A.is_constant() && B.is_constant()) { in DECLFOLDER() 304 if (A.is_constant() && B.is_constant() && in DECLFOLDER() 330 if (A.is_constant() && B.is_constant()) { in DECLFOLDER() 1009 if (! J->is_constant() || ! I->is_constant() || !C->is_constant()) in DECLFOLDER() 1078 if (! Ji->is_constant() || ! Ii->is_constant() || !Ci->is_constant()) in DECLFOLDER() 1434 if (S.is_constant() && Start.is_constant() && Len.is_constant()) { in DECLFOLDER() 1493 if (X.is_constant() && Min.is_constant() && Max.is_constant() && in DECLFOLDER() [all …]
|
/dports/graphics/py-openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/liboslexec/ |
H A D | constfold.cpp | 91 if (A.is_constant() && B.is_constant()) { in DECLFOLDER() 136 if (A.is_constant() && B.is_constant()) { in DECLFOLDER() 202 if (A.is_constant() && B.is_constant()) { in DECLFOLDER() 253 if (A.is_constant() && B.is_constant()) { in DECLFOLDER() 304 if (A.is_constant() && B.is_constant() && in DECLFOLDER() 330 if (A.is_constant() && B.is_constant()) { in DECLFOLDER() 1009 if (! J->is_constant() || ! I->is_constant() || !C->is_constant()) in DECLFOLDER() 1078 if (! Ji->is_constant() || ! Ii->is_constant() || !Ci->is_constant()) in DECLFOLDER() 1434 if (S.is_constant() && Start.is_constant() && Len.is_constant()) { in DECLFOLDER() 1493 if (X.is_constant() && Min.is_constant() && Max.is_constant() && in DECLFOLDER() [all …]
|
/dports/games/quakeforge/quakeforge-0.7.2/tools/qfcc/source/ |
H A D | constfold.c | 90 if (op == '=' || !is_constant (e1) || !is_constant (e2)) in do_op_string() 224 if (op == '=' || !is_constant (e1) || !is_constant (e2)) in do_op_float() 347 && is_constant (e2)) { in do_op_vector() 358 if (op == '=' || !is_constant (e1) || !is_constant (e2)) in do_op_vector() 525 if (is_constant (e1) && is_constant (e2)) { in do_op_quatvect() 592 if (op == '=' || !is_constant (e1) || !is_constant (e2)) in do_op_quaternion() 696 if (op == '=' || !is_constant (e1) || !is_constant (e2)) in do_op_integer() 794 if (op == '=' || !is_constant (e1) || !is_constant (e2)) in do_op_short() 1195 if (!is_constant (e1)) in uop_string() 1214 if (!is_constant (e1)) in uop_float() [all …]
|
/dports/lang/clover/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 189 .is_constant = true, in nir_opt_large_constants() 249 if (!info->is_constant) in nir_opt_large_constants() 280 if (!info->is_constant) in nir_opt_large_constants() 303 if (!info->is_constant) in nir_opt_large_constants() 310 info->is_constant = false; in nir_opt_large_constants() 362 if (info->is_constant) { in nir_opt_large_constants() 383 if (info->is_constant) { in nir_opt_large_constants() [all …]
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 189 .is_constant = true, in nir_opt_large_constants() 249 if (!info->is_constant) in nir_opt_large_constants() 280 if (!info->is_constant) in nir_opt_large_constants() 303 if (!info->is_constant) in nir_opt_large_constants() 310 info->is_constant = false; in nir_opt_large_constants() 362 if (info->is_constant) { in nir_opt_large_constants() 383 if (info->is_constant) { in nir_opt_large_constants() [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 189 .is_constant = true, in nir_opt_large_constants() 249 if (!info->is_constant) in nir_opt_large_constants() 280 if (!info->is_constant) in nir_opt_large_constants() 303 if (!info->is_constant) in nir_opt_large_constants() 310 info->is_constant = false; in nir_opt_large_constants() 362 if (info->is_constant) { in nir_opt_large_constants() 383 if (info->is_constant) { in nir_opt_large_constants() [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 189 .is_constant = true, in nir_opt_large_constants() 249 if (!info->is_constant) in nir_opt_large_constants() 280 if (!info->is_constant) in nir_opt_large_constants() 303 if (!info->is_constant) in nir_opt_large_constants() 310 info->is_constant = false; in nir_opt_large_constants() 362 if (info->is_constant) { in nir_opt_large_constants() 383 if (info->is_constant) { in nir_opt_large_constants() [all …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 189 .is_constant = true, in nir_opt_large_constants() 249 if (!info->is_constant) in nir_opt_large_constants() 280 if (!info->is_constant) in nir_opt_large_constants() 303 if (!info->is_constant) in nir_opt_large_constants() 310 info->is_constant = false; in nir_opt_large_constants() 362 if (info->is_constant) { in nir_opt_large_constants() 383 if (info->is_constant) { in nir_opt_large_constants() [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 189 .is_constant = true, in nir_opt_large_constants() 249 if (!info->is_constant) in nir_opt_large_constants() 280 if (!info->is_constant) in nir_opt_large_constants() 303 if (!info->is_constant) in nir_opt_large_constants() 310 info->is_constant = false; in nir_opt_large_constants() 362 if (info->is_constant) { in nir_opt_large_constants() 383 if (info->is_constant) { in nir_opt_large_constants() [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 189 .is_constant = true, in nir_opt_large_constants() 249 if (!info->is_constant) in nir_opt_large_constants() 280 if (!info->is_constant) in nir_opt_large_constants() 303 if (!info->is_constant) in nir_opt_large_constants() 310 info->is_constant = false; in nir_opt_large_constants() 362 if (info->is_constant) { in nir_opt_large_constants() 383 if (info->is_constant) { in nir_opt_large_constants() [all …]
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 189 .is_constant = true, in nir_opt_large_constants() 249 if (!info->is_constant) in nir_opt_large_constants() 280 if (!info->is_constant) in nir_opt_large_constants() 303 if (!info->is_constant) in nir_opt_large_constants() 310 info->is_constant = false; in nir_opt_large_constants() 362 if (info->is_constant) { in nir_opt_large_constants() 383 if (info->is_constant) { in nir_opt_large_constants() [all …]
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 189 .is_constant = true, in nir_opt_large_constants() 249 if (!info->is_constant) in nir_opt_large_constants() 280 if (!info->is_constant) in nir_opt_large_constants() 303 if (!info->is_constant) in nir_opt_large_constants() 310 info->is_constant = false; in nir_opt_large_constants() 362 if (info->is_constant) { in nir_opt_large_constants() 383 if (info->is_constant) { in nir_opt_large_constants() [all …]
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 189 .is_constant = true, in nir_opt_large_constants() 249 if (!info->is_constant) in nir_opt_large_constants() 280 if (!info->is_constant) in nir_opt_large_constants() 303 if (!info->is_constant) in nir_opt_large_constants() 310 info->is_constant = false; in nir_opt_large_constants() 362 if (info->is_constant) { in nir_opt_large_constants() 383 if (info->is_constant) { in nir_opt_large_constants() [all …]
|
/dports/math/stanmath/math-4.2.0/stan/math/opencl/prim/ |
H A D | exp_mod_normal_cdf.hpp | 120 calc_if<!is_constant<T_scale_cl>::value>(sigma_deriv1), in exp_mod_normal_cdf() 121 calc_if<!is_constant<T_inv_scale_cl>::value>(lambda_deriv1)); in exp_mod_normal_cdf() 140 static_select<is_constant<T_inv_scale_cl>::value>(0, lambda_deriv_cl), in exp_mod_normal_cdf() 145 calc_if<!is_constant<T_y_cl>::value>(y_deriv), in exp_mod_normal_cdf() 146 calc_if<!is_constant<T_loc_cl>::value>(mu_deriv), in exp_mod_normal_cdf() 147 calc_if<!is_constant<T_scale_cl>::value>(sigma_deriv), in exp_mod_normal_cdf() 148 calc_if<!is_constant<T_inv_scale_cl>::value>(lambda_deriv)); in exp_mod_normal_cdf() 150 if (!is_constant<T_y_cl>::value) { in exp_mod_normal_cdf() 153 if (!is_constant<T_loc_cl>::value) { in exp_mod_normal_cdf() 156 if (!is_constant<T_scale_cl>::value) { in exp_mod_normal_cdf() [all …]
|
H A D | pareto_type_2_cdf.hpp | 103 calc_if<!is_constant<T_scale_cl>::value>(lambda_deriv1), in pareto_type_2_cdf() 104 calc_if<!is_constant<T_shape_cl>::value>(alpha_deriv1)); in pareto_type_2_cdf() 118 = expressions(calc_if<!is_constant<T_y_cl>::value>(y_deriv), in pareto_type_2_cdf() 119 calc_if<!is_constant<T_loc_cl>::value>(mu_deriv), in pareto_type_2_cdf() 120 calc_if<!is_constant<T_scale_cl>::value>(lambda_deriv), in pareto_type_2_cdf() 121 calc_if<!is_constant<T_shape_cl>::value>(alpha_deriv)); in pareto_type_2_cdf() 123 if (!is_constant<T_y_cl>::value) { in pareto_type_2_cdf() 126 if (!is_constant<T_loc_cl>::value) { in pareto_type_2_cdf() 129 if (!is_constant<T_scale_cl>::value) { in pareto_type_2_cdf() 132 if (!is_constant<T_shape_cl>::value) { in pareto_type_2_cdf()
|
H A D | lognormal_cdf.hpp | 88 calc_if<!is_constant<T_y_cl>::value>(y_deriv_tmp), in lognormal_cdf() 89 calc_if<!is_constant<T_loc_cl>::value>(mu_deriv_tmp), in lognormal_cdf() 90 calc_if<!is_constant<T_scale_cl>::value>(sigma_deriv_tmp)); in lognormal_cdf() 103 = expressions(calc_if<!is_constant<T_loc_cl>::value>(mu_deriv), in lognormal_cdf() 104 calc_if<!is_constant<T_y_cl>::value>(y_deriv), in lognormal_cdf() 105 calc_if<!is_constant<T_scale_cl>::value>(sigma_deriv)); in lognormal_cdf() 110 if (!is_constant<T_y_cl>::value) { in lognormal_cdf() 113 if (!is_constant<T_loc_cl>::value) { in lognormal_cdf() 116 if (!is_constant<T_scale_cl>::value) { in lognormal_cdf()
|
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/compiler/nir/ |
H A D | nir_opt_large_constants.c | 31 bool is_constant; member 53 if (a->is_constant != b->is_constant) { in var_info_cmp() 54 return (int)a->is_constant - (int)b->is_constant; in var_info_cmp() 195 .is_constant = true, in nir_opt_large_constants() 239 if (!info->is_constant) in nir_opt_large_constants() 267 if (!info->is_constant) in nir_opt_large_constants() 290 if (!info->is_constant) in nir_opt_large_constants() 297 info->is_constant = false; in nir_opt_large_constants() 343 if (info->is_constant) { in nir_opt_large_constants() 361 if (info->is_constant) { in nir_opt_large_constants() [all …]
|