/aosp_15_r20/external/selinux/python/sepolgen/src/sepolgen/ |
H A D | matching.py | 180 pdist = self.perm_maps.getdefault_distance(prov.obj_class, prov.perms) 182 pdist = self.perm_distance(req, prov) 186 if pdist < 0: 187 return dist + pdist 189 return dist - pdist 191 if pdist < 0: 192 return pdist - dist 194 return dist + pdist
|
/aosp_15_r20/external/executorch/kernels/portable/cpu/util/ |
H A D | distance_util.h | 24 void pdist(const Tensor& in, Tensor& out, double p) { in pdist() function 112 void pdist(const Tensor& in, Tensor& out, double p) { in pdist() function 114 pdist<CTYPE, L0<CTYPE>>(in, out, p); in pdist() 116 pdist<CTYPE, L1<CTYPE>>(in, out, p); in pdist() 118 pdist<CTYPE, L2<CTYPE>>(in, out, p); in pdist() 120 pdist<CTYPE, Linf<CTYPE>>(in, out, p); in pdist() 122 pdist<CTYPE, Lp<CTYPE>>(in, out, p); in pdist()
|
H A D | distance_util.cpp | 18 p >= 0, "pdist only supports non-negative p values"); in check_pdist_args()
|
/aosp_15_r20/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
H A D | artistic1.rscript | 51 float pdist = native_powr(dist, 2.7f * 0.5f); 52 //float pdist = powr(dist, 2.7f * 0.5f); 54 pdist = clamp(pdist, 0.f, 1.f); 56 v1 *= 1.f - pdist;
|
/aosp_15_r20/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | artistic1.rscript | 51 float pdist = native_powr(dist, 2.7f * 0.5f); 52 //float pdist = powr(dist, 2.7f * 0.5f); 54 pdist = clamp(pdist, 0.f, 1.f); 56 v1 *= 1.f - pdist;
|
/aosp_15_r20/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | artistic1.rscript | 51 float pdist = native_powr(dist, 2.7f * 0.5f); 52 //float pdist = powr(dist, 2.7f * 0.5f); 54 pdist = clamp(pdist, 0.f, 1.f); 56 v1 *= 1.f - pdist;
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/ |
H A D | Distance.cpp | 58 Tensor pdist(const Tensor& self, const double p) { in pdist() function 60 "pdist only supports 2D tensors, got: ", self.dim(), "D"); in pdist() 61 TORCH_CHECK(at::isFloatingType(self.scalar_type()), "pdist only supports floating-point dtypes"); in pdist() 62 TORCH_CHECK(p >= 0, "pdist only supports non-negative p values"); in pdist() 264 Tensor _pdist_backward(const Tensor& grad, const Tensor& self, const double p, const Tensor& pdist)… in _pdist_backward() argument 266 TORCH_CHECK(pdist.is_contiguous(), "_pdist_backward requires pdist to be contiguous"); in _pdist_backward() 270 pdist_backward_stub(device, result, grad, self, p, pdist); in _pdist_backward()
|
/aosp_15_r20/external/XNNPACK/test/ |
H A D | spmm-microkernel-tester.h | 137 std::uniform_real_distribution<float> pdist; in Test() local 163 if (pdist(rng) <= sparsity()) { in Test() 302 std::uniform_real_distribution<float> pdist; in Test() local 328 if (pdist(rng) <= sparsity()) { in Test()
|
/aosp_15_r20/external/pytorch/torch/csrc/api/include/torch/nn/functional/ |
H A D | distance.h | 82 inline Tensor pdist(const Tensor& input, double p = 2.0) { 83 return torch::pdist(input, p);
|
/aosp_15_r20/external/pytorch/torch/_refs/nn/functional/ |
H A D | __init__.py | 52 "pdist", 1197 @register_decomposition(aten.pdist) 1203 def pdist(a: TensorLikeType, p: float = 2) -> TensorLikeType: function 1204 torch._check(a.ndim == 2, lambda: f"pdist only supports 2D tensors, got: {a.ndim}D") 1205 torch._check(p >= 0, lambda: "pdist only supports non-negative p values")
|
/aosp_15_r20/external/pytorch/torch/nn/modules/ |
H A D | distance.py | 38 >>> pdist = nn.PairwiseDistance(p=2) 41 >>> output = pdist(input1, input2)
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Sparc/ |
H A D | SparcInstrVIS.td | 136 def PDIST : VISInst<0b000111110, "pdist">;
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
H A D | SparcInstrVIS.td | 136 def PDIST : VISInst<0b000111110, "pdist">;
|
/aosp_15_r20/external/llvm/lib/Target/Sparc/ |
H A D | SparcInstrVIS.td | 137 def PDIST : VISInst<0b000111110, "pdist">;
|
/aosp_15_r20/external/python/cpython2/Demo/pdist/ |
D | rcvs | 4 addpack.addpack('/home/guido/src/python/Demo/pdist')
|
D | rrcs | 4 addpack.addpack('/home/guido/src/python/Demo/pdist')
|
/aosp_15_r20/external/executorch/kernels/portable/cpu/ |
H A D | op_pdist_forward.cpp | 46 in_type, ctx, name, CTYPE, [&] { pdist<CTYPE>(in, out, p); }); in _pdist_forward_out()
|
/aosp_15_r20/external/python/cpython2/Demo/ |
D | README | 36 pdist Old, unfinished code messing with CVS, RCS and remote
|
/aosp_15_r20/external/pytorch/docs/source/ |
H A D | nn.functional.rst | 161 pdist
|
/aosp_15_r20/external/pytorch/functorch/op_analysis/ |
H A D | public_api | 511 pdist
|
H A D | annotated_ops | 196 pdist, reduction
|
/aosp_15_r20/external/pytorch/test/export/ |
H A D | testing.py | 164 aten.pdist.default,
|
/aosp_15_r20/external/pytorch/test/functorch/ |
H A D | test_vmap_registrations.py | 152 "aten::pdist",
|
/aosp_15_r20/external/pytorch/torch/testing/_internal/ |
H A D | common_jit.py | 33 'pdist',
|
/aosp_15_r20/external/pytorch/test/cpp_api_parity/ |
H A D | parity-tracker.md | 224 F::pdist|Yes|No
|