Home
last modified time | relevance | path

Searched refs:slice_end (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/src/core/lib/slice/
Dpercent_encoding.cc48 const uint8_t* slice_end = GRPC_SLICE_END_PTR(slice); in grpc_percent_encode_slice() local
51 for (p = slice_start; p < slice_end; p++) { in grpc_percent_encode_slice()
63 for (p = slice_start; p < slice_end; p++) { in grpc_percent_encode_slice()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstrided_slice_op.cc76 absl::InlinedVector<int64, 4> slice_begin, slice_end, slice_strides; in Compile() local
81 slice_end.push_back(std::max(end[i], begin[i])); in Compile()
87 slice_end.push_back(std::max(input_shape.dim_size(i) - end[i] - 1, in Compile()
99 slice = xla::Slice(slice, slice_begin, slice_end, slice_strides); in Compile()
/external/tensorflow/tensorflow/contrib/reduce_slice_ops/kernels/
Dreduce_slice_ops.cc82 Index slice_end = std::min(indices(y * indices_width + 1), bound); \
83 for (Index i = slice_head; i < slice_end; ++i) { \
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc1510 const Tensor* slice_end = ic->input_tensor(2); in MaybeUpdateNodeContextOutput() local
1511 valid &= slice_end != nullptr && slice_end->NumElements() == 1; in MaybeUpdateNodeContextOutput()
1548 (slice_end->dtype() == DT_INT32 ? slice_end->flat<int32>()(0) in MaybeUpdateNodeContextOutput()
1549 : slice_end->flat<int64>()(0)); in MaybeUpdateNodeContextOutput()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.cc3155 NodeDef* slice_end; in GetSliceAxis() local
3158 TF_RETURN_IF_ERROR(GetInputNode(node->input(2), &slice_end)); in GetSliceAxis()
3161 for (const auto* n : {slice_begin, slice_end, slice_strides}) { in GetSliceAxis()
3173 TF_RETURN_IF_ERROR(CheckAttrExists(*slice_end, "value")); in GetSliceAxis()
3174 if (!slice_end_t.FromProto(slice_end->attr().at("value").tensor())) { in GetSliceAxis()
/external/tensorflow/tensorflow/compiler/xla/service/
Dalgebraic_simplifier.cc684 int64 slice_end = operands[i]->slice_limits(concatenate_dimension); in HandleConcatenate() local
690 operands[j]->slice_starts(concatenate_dimension) == slice_end) { in HandleConcatenate()
708 slice_end = operands[j]->slice_limits(concatenate_dimension); in HandleConcatenate()
715 slice_end - operands[i]->slice_starts(concatenate_dimension)); in HandleConcatenate()
717 new_limit_indices[concatenate_dimension] = slice_end; in HandleConcatenate()