Searched refs:first_slice (Results 1 – 4 of 4) sorted by relevance
/external/grpc-grpc/test/core/surface/ |
D | byte_buffer_reader_test.cc | 41 grpc_slice first_slice, second_slice; in test_read_one_slice() local 50 first_code = grpc_byte_buffer_reader_next(&reader, &first_slice); in test_read_one_slice() 52 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(first_slice), "test", 4) == 0); in test_read_one_slice() 53 grpc_slice_unref(first_slice); in test_read_one_slice() 63 grpc_slice first_slice, second_slice; in test_read_one_slice_malloc() local 73 first_code = grpc_byte_buffer_reader_next(&reader, &first_slice); in test_read_one_slice_malloc() 75 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(first_slice), "test", 4) == 0); in test_read_one_slice_malloc() 76 grpc_slice_unref(first_slice); in test_read_one_slice_malloc() 86 grpc_slice first_slice, second_slice; in test_read_none_compressed_slice() local 95 first_code = grpc_byte_buffer_reader_next(&reader, &first_slice); in test_read_none_compressed_slice() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | space_to_batch_converter.cc | 378 HloInstruction* first_slice = nullptr; in HaloDuplicateWithSlice() local 396 TF_ASSIGN_OR_RETURN(first_slice, MakeSliceHlo(activations, start_indices, in HaloDuplicateWithSlice() 398 VLOG(1) << "first slice " << first_slice->ToString(); in HaloDuplicateWithSlice() 400 MakeNoPaddingConfig(first_slice->shape().dimensions_size()); in HaloDuplicateWithSlice() 404 TF_ASSIGN_OR_RETURN(first_slice, in HaloDuplicateWithSlice() 405 MakePadHlo(first_slice, padding, padding_config)); in HaloDuplicateWithSlice() 449 if (first_slice != nullptr) { in HaloDuplicateWithSlice() 450 TF_ASSIGN_OR_RETURN(activations, MakeConcatHlo({first_slice, activations}, in HaloDuplicateWithSlice()
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_morphing.cpp | 182 Eigen::DSizes<ptrdiff_t, 3> first_slice(0,0,0); in test_slice_as_lvalue() local 183 result.slice(first_slice, sizes12) = tensor1; in test_slice_as_lvalue()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | scoped_allocator_optimizer.cc | 674 AttrSlice first_slice(*ops[0]); in BuildReplacementOp() local 675 for (auto& it : first_slice) { in BuildReplacementOp()
|