Home
last modified time | relevance | path

Searched refs:right_size (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dadjust_contrast_op.cc277 int64 right_size = remaining_size / 2; in ReduceMeanAcrossImage() local
278 int64 left_size = remaining_size - right_size; in ReduceMeanAcrossImage()
279 DCHECK(left_size == right_size || left_size == right_size + 1); in ReduceMeanAcrossImage()
283 summation_plane.slice(Index(0), Index(right_size * channels)) = in ReduceMeanAcrossImage()
285 Index(right_size * channels)) + in ReduceMeanAcrossImage()
286 input_plane.slice(Index(0), Index(right_size * channels)); in ReduceMeanAcrossImage()
287 if (left_size > right_size) { in ReduceMeanAcrossImage()
288 DCHECK_EQ(left_size - right_size, 1); in ReduceMeanAcrossImage()
291 summation_plane.slice(Index(right_size * channels), in ReduceMeanAcrossImage()
293 input_plane.slice(Index(right_size * channels), in ReduceMeanAcrossImage()
[all …]
/external/libchrome/base/containers/
Dcircular_deque.h518 size_t right_size = buffer_.capacity() - begin_; in at() local
519 if (begin_ <= end_ || i < right_size) in at()
521 return buffer_[i - right_size]; in at()
927 size_t right_size = from_capacity - from_begin; in MoveBuffer() local
930 &(*to_buf)[right_size]); in MoveBuffer()
931 *to_end = right_size + from_end; in MoveBuffer()