Home
last modified time | relevance | path

Searched refs:slice_offset (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Deigen_attention.h149 DSizes<Index, 3> slice_offset(0, offset_x, offset_y); in eval()
154 slice_offset[1] = 0; in eval()
165 slice_offset[2] = 0; in eval()
255 input.template chip<3>(i).slice(slice_offset, slice_extent); in eval()
258 input.template chip<3>(i).slice(slice_offset, slice_extent); in eval()
Ddynamic_stitch_op_gpu.cu.cc41 const int32 slice_offset = output_index % slice_size; in DynamicStitchKernel() local
44 output[output_index] = ldg(data_ptrs[input_index] + slice_offset); in DynamicStitchKernel()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/
Dslice_buffer.cc41 const size_t slice_offset) { in do_embiggen() argument
42 if (slice_offset != 0) { in do_embiggen()
59 sb->slices = sb->base_slices + slice_offset; in do_embiggen()
70 size_t slice_offset = static_cast<size_t>(sb->slices - sb->base_slices); in maybe_embiggen() local
71 size_t slice_count = sb->count + slice_offset; in maybe_embiggen()
73 do_embiggen(sb, slice_count, slice_offset); in maybe_embiggen()
/external/grpc-grpc/src/core/lib/slice/
Dslice_buffer.cc37 size_t slice_offset = static_cast<size_t>(sb->slices - sb->base_slices); in maybe_embiggen() local
38 size_t slice_count = sb->count + slice_offset; in maybe_embiggen()
58 sb->slices = sb->base_slices + slice_offset; in maybe_embiggen()
/external/toybox/toys/pending/
Dvi.c295 static struct slice_list *slice_offset(size_t *start, size_t offset) in slice_offset() function
320 if (!(s = slice_offset(&spos, offset))) return SIZE_MAX; in text_strchr()
341 if (!(s = slice_offset(&spos, offset))) return SIZE_MAX; in text_strrchr()
373 if (!(s = slice_offset(&spos, start))) return 0; in text_count()
394 if (!(s = slice_offset(&spos, offset))) return 0; in text_byte()
462 if (!(s = slice_offset(&spos, offset))) return 0; in text_getline()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc1784 const Tensor* slice_offset = ic->input_tensor(1); in MaybeUpdateNodeContextOutput() local
1785 valid &= slice_offset != nullptr && slice_offset->NumElements() == 1; in MaybeUpdateNodeContextOutput()
1789 int64 start = slice_offset->dtype() == DT_INT32 in MaybeUpdateNodeContextOutput()
1790 ? slice_offset->flat<int32>()(0) in MaybeUpdateNodeContextOutput()
1791 : slice_offset->flat<int64>()(0); in MaybeUpdateNodeContextOutput()
/external/virglrenderer/src/
Dvrend_renderer.c8468 uint32_t slice_size, slice_offset; in vrend_resource_copy_fallback() local
8549 slice_offset = 0; in vrend_resource_copy_fallback()
8556 … glGetnCompressedTexImageARB(ctarget, src_level, read_chunk_size, tptr + slice_offset); in vrend_resource_copy_fallback()
8558 glGetCompressedTexImage(ctarget, src_level, tptr + slice_offset); in vrend_resource_copy_fallback()
8561 … glGetnTexImageARB(ctarget, src_level, glformat, gltype, read_chunk_size, tptr + slice_offset); in vrend_resource_copy_fallback()
8563 glGetTexImage(ctarget, src_level, glformat, gltype, tptr + slice_offset); in vrend_resource_copy_fallback()
8565 slice_offset += slice_size; in vrend_resource_copy_fallback()
8589 slice_offset = src_box->z * slice_size; in vrend_resource_copy_fallback()
8599 glformat, slice_size, tptr + slice_offset); in vrend_resource_copy_fallback()
8603 glformat, slice_size, tptr + slice_offset); in vrend_resource_copy_fallback()
[all …]
/external/python/cpython2/Python/
Dcompile.c3272 int op = 0, slice_offset = 0, stack_count = 0; in compiler_simple_slice() local
3276 slice_offset++; in compiler_simple_slice()
3282 slice_offset += 2; in compiler_simple_slice()
3316 ADDOP(c, op + slice_offset); in compiler_simple_slice()