Searched refs:self_p (Results 1 – 11 of 11) sorted by relevance
/aosp_15_r20/external/pytorch/aten/src/ATen/core/ |
H A D | Formatting.cpp | 75 auto self_p = self.const_data_ptr<double>(); in __printFormat() local 77 auto z = self_p[i]; in __printFormat() 86 while(!std::isfinite(self_p[offset])) { in __printFormat() 95 expMin = fabs(self_p[offset]); in __printFormat() 96 expMax = fabs(self_p[offset]); in __printFormat() 98 double z = fabs(self_p[i]); in __printFormat() 103 if(self_p[i] > expMax) { in __printFormat()
|
/aosp_15_r20/external/pytorch/torch/csrc/autograd/ |
H A D | FunctionsManual.cpp | 300 const Tensor& self_p, in norm_jvp() argument 311 size_t ndim = self_p.dim(); // composite compliance? in norm_jvp() 317 auto result = self_p.sgn(); in norm_jvp() 323 auto result = self_p.mul(self_t.conj()); in norm_jvp() 328 if (!keepdim && self_p.dim() != 0) { in norm_jvp() 331 const auto self_isnan = self_p.isnan(); in norm_jvp() 337 (self_p.abs() == norm).logical_or_(self_and_norm_isnan).type_as(norm); in norm_jvp() 339 if (self_p.dim() != 0) { in norm_jvp() 342 return (at::real(self_p.sgn() * self_t.conj()) * is_eq_max / nb_max) in norm_jvp() 345 auto sumpow_t = (self_p.abs().pow_(p - 1).masked_fill_(self_p == 0, 0) * in norm_jvp() [all …]
|
H A D | FunctionsManual.h | 88 const Tensor& self_p, 109 const Tensor& self_p, 228 const at::Tensor& self_p, 233 const at::Tensor& self_p, 243 const at::Tensor& self_p, 295 const Tensor& self_p, 347 const at::Tensor& self_p, 383 const at::Tensor& self_p, 1016 const Tensor& self_p, 1043 const Tensor& self_p,
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/ |
H A D | SummaryOps.cpp | 46 const input_t* self_p = self.const_data_ptr<input_t>(); in _bincount_cpu_template() local 57 output_p[self_p[i]] += weights_p[i]; in _bincount_cpu_template() 63 output_p[self_p[i]] += 1L; in _bincount_cpu_template()
|
/aosp_15_r20/external/iproute2/lib/ |
H A D | json_writer.c | 110 void jsonw_destroy(json_writer_t **self_p) in jsonw_destroy() argument 112 json_writer_t *self = *self_p; in jsonw_destroy() 118 *self_p = NULL; in jsonw_destroy()
|
/aosp_15_r20/external/bpftool/src/ |
H A D | json_writer.c | 103 void jsonw_destroy(json_writer_t **self_p) in jsonw_destroy() argument 105 json_writer_t *self = *self_p; in jsonw_destroy() 111 *self_p = NULL; in jsonw_destroy()
|
H A D | json_writer.h | 26 void jsonw_destroy(json_writer_t **self_p);
|
/aosp_15_r20/external/ethtool/ |
H A D | json_writer.c | 108 void jsonw_destroy(json_writer_t **self_p) in jsonw_destroy() argument 110 json_writer_t *self = *self_p; in jsonw_destroy() 116 *self_p = NULL; in jsonw_destroy()
|
H A D | json_writer.h | 23 void jsonw_destroy(json_writer_t **self_p);
|
/aosp_15_r20/external/pytorch/torch/csrc/ |
H A D | PyInterpreter.cpp | 201 auto self_p = local 205 append_overloaded_tensor(&overloaded_args, self_p.ptr()); 208 PyTuple_SET_ITEM(args.ptr(), 0, self_p.release().ptr()); 940 auto self_p = in reset_backward_hooks() local 942 PyObject_SetAttrString(self_p.ptr(), "_backward_hooks", Py_None); in reset_backward_hooks()
|
/aosp_15_r20/external/iproute2/include/ |
H A D | json_writer.h | 27 void jsonw_destroy(json_writer_t **self_p);
|