Home
last modified time | relevance | path

Searched refs:outer_size (Results 1 – 14 of 14) sorted by relevance

/external/perfetto/src/base/
Dpaged_memory.cc47 size_t outer_size = size + kGuardSize * 2; in Allocate() local
49 void* ptr = VirtualAlloc(nullptr, outer_size, MEM_RESERVE, PAGE_NOACCESS); in Allocate()
55 void* ptr = mmap(nullptr, outer_size, PROT_READ | PROT_WRITE, in Allocate()
102 const size_t outer_size = size_ + kGuardSize * 2; in ~PagedMemory() local
103 int res = munmap(start, outer_size); in ~PagedMemory()
/external/tensorflow/tensorflow/core/kernels/
Dgather_op.cc90 int64 outer_size = 1; in Compute() local
94 outer_size *= params.dim_size(i); in Compute()
104 if (N > 0 && outer_size > 0 && inner_size > 0) { in Compute()
106 params.shaped<T, 3>({outer_size, gather_dim_size, inner_size}); in Compute()
108 auto out_flat = out->shaped<T, 3>({outer_size, N, inner_size}); in Compute()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dsoftmax.h32 const int outer_size = in Softmax() local
37 for (int i = 0; i < outer_size; ++i) { in Softmax()
79 const int outer_size = in Softmax() local
84 for (int i = 0; i < outer_size; ++i) { in Softmax()
Dreference_ops.h475 const int outer_size = in L2Normalization() local
479 for (int i = 0; i < outer_size; ++i) { in L2Normalization()
500 const int outer_size = in L2Normalization() local
503 for (int i = 0; i < outer_size; ++i) { in L2Normalization()
1623 int64_t outer_size = 1; in Concatenation() local
1625 outer_size *= output_shape.Dims(i); in Concatenation()
1635 for (int k = 0; k < outer_size; k++) { in Concatenation()
1676 int64_t outer_size = 1; in ConcatenationWithScaling() local
1678 outer_size *= output_shape.Dims(i); in ConcatenationWithScaling()
1689 for (int k = 0; k < outer_size; k++) { in ConcatenationWithScaling()
[all …]
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.cc104 size_t outer_size = kMetaPageSize + size_ * 2 + kGuardSize; in ~SharedRingBuffer() local
105 munmap(meta_, outer_size); in ~SharedRingBuffer()
142 size_t outer_size = kMetaPageSize + size * 2 + kGuardSize; in Initialize() local
144 mmap(nullptr, outer_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in Initialize()
162 munmap(region, outer_size); in Initialize()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dl2normalization.h23 inline void L2Normalization(int32_t input_zero_point, int32_t outer_size, in L2Normalization() argument
32 for (int outer_index = 0; outer_index < outer_size; ++outer_index) { in L2Normalization()
Dsoftmax.h43 const int outer_size = in Softmax() local
48 for (int i = 0; i < outer_size; ++i) { in Softmax()
Dlog_softmax.h25 int32_t diff_min, int32_t outer_size, int32_t depth, in LogSoftmax() argument
43 for (int outer_index = 0; outer_index < outer_size; ++outer_index) { in LogSoftmax()
/external/tensorflow/tensorflow/lite/kernels/
Dl2norm.cc113 const int outer_size = in Eval() local
115 reference_integer_ops::L2Normalization(input->params.zero_point, outer_size, in Eval()
Dactivations.cc867 const int outer_size = in LogSoftmaxEval() local
874 data->diff_min, outer_size, depth, GetTensorData<int8_t>(input), in LogSoftmaxEval()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dlogsoftmax_quantized_test.cc224 const int outer_size = in RunOneLogSoftmaxTest() local
229 reverse_scaling_right_shift, diff_min, outer_size, inner_size, input_data, in RunOneLogSoftmaxTest()
/external/tensorflow/tensorflow/python/kernel_tests/
Darray_ops_test.py416 for outer_size in (1, 2):
419 np.arange(outer_size * middle_size * 3, dtype=np.float32),
420 newshape=(outer_size, middle_size, 3))
429 for outer_size in (1, 2):
432 np.arange(outer_size * middle_size * 4, dtype=np.float32),
433 newshape=(outer_size, middle_size, 4))
441 for outer_size in list(range(50)) + [100000]:
444 np.arange(outer_size * middle_size * 3, dtype=np.float32),
445 newshape=(outer_size, middle_size, 3))
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h2567 const int outer_size = in L2Normalization() local
2571 for (int i = 0; i < outer_size; ++i) { in L2Normalization()
2595 const int outer_size = in L2Normalization() local
2598 for (int i = 0; i < outer_size; ++i) { in L2Normalization()
3724 const int outer_size = MatchingFlatSizeSkipDim( in LstmCell() local
3811 for (int b = 0; b < outer_size; ++b) { in LstmCell()
4471 const int outer_size = in Softmax() local
4476 for (int b = 0; b < outer_size; ++b) { in Softmax()
4669 const int outer_size = in LogSoftmax() local
4674 for (int i = 0; i < outer_size; ++i) { in LogSoftmax()
[all …]
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h2735 const int outer_size = in L2Normalization() local
2739 for (int i = 0; i < outer_size; ++i) { in L2Normalization()
2812 const int outer_size = in L2Normalization() local
2815 for (int i = 0; i < outer_size; ++i) { in L2Normalization()
3840 const int outer_size = MatchingFlatSizeSkipDim( in LstmCell() local
3927 for (int b = 0; b < outer_size; ++b) { in LstmCell()
4596 const int outer_size = in Softmax() local
4601 for (int b = 0; b < outer_size; ++b) { in Softmax()
4807 const int outer_size = in LogSoftmax() local
4812 for (int i = 0; i < outer_size; ++i) { in LogSoftmax()
[all …]