Home
last modified time | relevance | path

Searched refs:t_size (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/lib/gtl/
Dedit_distance.h50 const int64 t_size = t.size(); in LevenshteinDistance() local
52 if (t_size > s_size) return LevenshteinDistance(t, s, cmp); in LevenshteinDistance()
57 if (t_size == 0) return s_size; in LevenshteinDistance()
61 gtl::InlinedVector<int64, 32> scratch_holder(t_size); in LevenshteinDistance()
67 for (size_t j = 1; j < t_size; ++j) scratch[j - 1] = j; in LevenshteinDistance()
73 for (size_t j = 1; j <= t_size; ++j) { in LevenshteinDistance()
93 return scratch[t_size - 1]; in LevenshteinDistance()
/external/mesa3d/src/mapi/glapi/gen/
DglX_proto_recv.py163 t_size = te.get_element_size()
165 if t_size > 1 and t.glx_name:
171 real_name = self.real_types[t_size]
177 print ' x.dst = bswap_%u(*(%s *) src);' % (t_size * 8, real_name)
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding_util.cc335 int64 t_size = 1; in ReshapeSharding() local
343 t_size = target_dims_stack.back(); in ReshapeSharding()
350 if (s_size == t_size) { in ReshapeSharding()
353 } else if (t_size == 1) { in ReshapeSharding()
363 target_dims_stack.push_back(t_size); in ReshapeSharding()
364 } else if (s_size > t_size) { in ReshapeSharding()
366 if (s_size % t_size != 0 || s_size % s_partitions != 0) { in ReshapeSharding()
369 if (t_size % s_partitions == 0) { in ReshapeSharding()
372 source_dims_stack.push_back(s_size / t_size); in ReshapeSharding()
374 } else if (s_partitions % t_size == 0) { in ReshapeSharding()
[all …]
/external/tensorflow/tensorflow/lite/examples/label_image/
Dlabel_image.cc266 int t_size = interpreter->tensors_size(); in RunInference() local
267 for (int i = 0; i < t_size; i++) { in RunInference()
/external/python/cpython2/Objects/
Dtypeobject.c1785 size_t t_size = type->tp_basicsize; in extra_ivars() local
1788 assert(t_size >= b_size); /* Else type smaller than base! */ in extra_ivars()
1791 return t_size != b_size || in extra_ivars()
1795 type->tp_weaklistoffset + sizeof(PyObject *) == t_size && in extra_ivars()
1797 t_size -= sizeof(PyObject *); in extra_ivars()
1799 type->tp_dictoffset + sizeof(PyObject *) == t_size && in extra_ivars()
1801 t_size -= sizeof(PyObject *); in extra_ivars()
1803 return t_size != b_size; in extra_ivars()
/external/python/cpython3/Objects/
Dtypeobject.c2089 size_t t_size = type->tp_basicsize; in extra_ivars() local
2092 assert(t_size >= b_size); /* Else type smaller than base! */ in extra_ivars()
2095 return t_size != b_size || in extra_ivars()
2099 type->tp_weaklistoffset + sizeof(PyObject *) == t_size && in extra_ivars()
2101 t_size -= sizeof(PyObject *); in extra_ivars()
2103 type->tp_dictoffset + sizeof(PyObject *) == t_size && in extra_ivars()
2105 t_size -= sizeof(PyObject *); in extra_ivars()
2107 return t_size != b_size; in extra_ivars()
/external/tensorflow/tensorflow/core/kernels/
Dtraining_ops.cc779 int t_size = (end - begin) * packet_size; in operator ()() local
781 auto var = typename TTypes<T>::UnalignedTensor(var_ptr + begin, t_size); in operator ()()
782 auto m = typename TTypes<T>::UnalignedTensor(m_ptr + begin, t_size); in operator ()()
783 auto v = typename TTypes<T>::UnalignedTensor(v_ptr + begin, t_size); in operator ()()
784 auto g = typename TTypes<T>::UnalignedConstTensor(g_ptr + begin, t_size); in operator ()()
/external/cpuinfo/test/dmesg/
Dgalaxy-a8-2018.log25 … swapper: 0] modem_if_reserved_mem_setup: memory reserved: paddr=4114612224, t_size=142606336
27 …pper: 0] modem_if_reserved_cplog_setup: cplog memory reserved: paddr=4257218560, t_size=33554432
Dgalaxy-s7-global.log965 [ 1.538968] [7: swapper/0: 1] shm_ipc f0000000.shmem: paddr=4026531840, t_size=14260633…