Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Deigen_attention.h125 DSizes<Index, 3> slice_offset(0, offset_x, offset_y); in eval()
130 slice_offset[1] = 0; in eval()
141 slice_offset[2] = 0; in eval()
231 input.template chip<3>(i).slice(slice_offset, slice_extent); in eval()
234 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/v8/src/objects/
Dstring-inl.h375 int slice_offset = offset; in VisitFlat() local
383 SeqOneByteString::cast(string)->GetChars() + slice_offset, in VisitFlat()
389 SeqTwoByteString::cast(string)->GetChars() + slice_offset, in VisitFlat()
395 ExternalOneByteString::cast(string)->GetChars() + slice_offset, in VisitFlat()
401 ExternalTwoByteString::cast(string)->GetChars() + slice_offset, in VisitFlat()
408 slice_offset += slicedString->offset(); in VisitFlat()
/external/v8/src/regexp/
Dregexp-macro-assembler.cc238 int slice_offset = 0; in Match() local
248 slice_offset = slice->offset(); in Match()
260 StringCharacterPosition(subject_ptr, start_offset + slice_offset); in Match()
/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/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc1484 const Tensor* slice_offset = ic->input_tensor(1); in MaybeUpdateNodeContextOutput() local
1485 valid &= slice_offset != nullptr && slice_offset->NumElements() == 1; in MaybeUpdateNodeContextOutput()
1489 int64 start = slice_offset->dtype() == DT_INT32 in MaybeUpdateNodeContextOutput()
1490 ? slice_offset->flat<int32>()(0) in MaybeUpdateNodeContextOutput()
1491 : slice_offset->flat<int64>()(0); in MaybeUpdateNodeContextOutput()
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
Drnn_cell.py876 def _make_tf_features(self, input_feat, slice_offset=0): argument
896 if slice_offset > 0:
900 [0, 0, 0, slice_offset],
903 elif slice_offset < 0:
907 [0, 0, -slice_offset, 0],
910 slice_offset = 0
929 inputs, [0, slice_offset + f * self._frequency_skip],
959 [0, start_index + slice_offset + f * self._frequency_skip],
/external/virglrenderer/src/
Dvrend_renderer.c6840 uint32_t slice_size, slice_offset; in vrend_resource_copy_fallback() local
6917 slice_offset = 0; in vrend_resource_copy_fallback()
6924 … glGetnCompressedTexImageARB(ctarget, src_level, read_chunk_size, tptr + slice_offset); in vrend_resource_copy_fallback()
6926 glGetCompressedTexImage(ctarget, src_level, tptr + slice_offset); in vrend_resource_copy_fallback()
6929 … glGetnTexImageARB(ctarget, src_level, glformat, gltype, read_chunk_size, tptr + slice_offset); in vrend_resource_copy_fallback()
6931 glGetTexImage(ctarget, src_level, glformat, gltype, tptr + slice_offset); in vrend_resource_copy_fallback()
6933 slice_offset += slice_size; in vrend_resource_copy_fallback()
6957 slice_offset = src_box->z * slice_size; in vrend_resource_copy_fallback()
6967 glformat, slice_size, tptr + slice_offset); in vrend_resource_copy_fallback()
6971 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()