/external/tensorflow/tensorflow/compiler/xla/service/ |
D | slice_sinker_test.cc | 69 const HloInstruction* slice1; in TEST_F() local 74 m::Slice(&slice1, m::Select(m::Parameter(0), m::Parameter(1), in TEST_F() 79 EXPECT_THAT(slice1->slice_starts(), ElementsAre(2, 0)); in TEST_F() 80 EXPECT_THAT(slice1->slice_limits(), ElementsAre(8, 9)); in TEST_F() 81 EXPECT_THAT(slice1->slice_strides(), ElementsAre(1, 1)); in TEST_F() 109 const HloInstruction* slice1; in TEST_F() local 114 m::Slice(&slice1, m::Add(m::Parameter(0), m::Parameter(1))), in TEST_F() 119 EXPECT_THAT(slice1->slice_starts(), ElementsAre(3, 0)); in TEST_F() 120 EXPECT_THAT(slice1->slice_limits(), ElementsAre(8, 9)); in TEST_F() 121 EXPECT_THAT(slice1->slice_strides(), ElementsAre(1, 1)); in TEST_F() [all …]
|
D | fusion_node_indexing_evaluation_test.cc | 106 HloInstruction* slice1 = sub->mutable_operand(0); in TEST_F() local 109 instruction_fusion.Fuse(slice1, sub, module->entry_computation()); in TEST_F()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_slice_test.cc | 356 TensorSlice slice1(3); in TEST() local 358 EXPECT_TRUE(slice1 != slice2); in TEST() 359 EXPECT_TRUE(slice2 != slice1); in TEST() 362 TensorSlice slice1(3); in TEST() local 364 EXPECT_TRUE(slice1 == slice2); in TEST() 365 EXPECT_TRUE(slice2 == slice1); in TEST() 368 TensorSlice slice1(3); in TEST() local 370 EXPECT_TRUE(slice1 != slice2); in TEST() 371 EXPECT_TRUE(slice2 != slice1); in TEST()
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_morphing.cpp | 121 Tensor<T, 5, DataLayout> slice1(1,1,1,1,1); in test_simple_slice() local 124 slice1 = tensor.slice(indices, sizes); in test_simple_slice() 125 VERIFY_IS_EQUAL(slice1(0,0,0,0,0), tensor(1,2,3,4,5)); in test_simple_slice() 257 auto slice1 = SliceEvaluator(tensor.slice(offsets, extents), DefaultDevice()); in test_slice_raw_data() local 258 VERIFY_IS_EQUAL(slice1.dimensions().TotalSize(), 1); in test_slice_raw_data() 259 VERIFY_IS_EQUAL(slice1.data()[0], tensor(1,2,3,4)); in test_slice_raw_data() 390 Tensor5f slice1(1,1,1,1,1); in test_strided_slice() local 394 slice1 = tensor.stridedSlice(indicesStart, indicesStop, strides); in test_strided_slice() 395 VERIFY_IS_EQUAL(slice1(0,0,0,0,0), tensor(1,2,3,4,5)); in test_strided_slice() 492 Tensor<T, 3, DataLayout> slice1(0,1,2); in test_empty_slice() local [all …]
|
D | cxx11_tensor_morphing_sycl.cpp | 149 Tensor<DataType, 5,DataLayout, IndexType> slice1(slice1_range); in test_simple_slice() local 152 …DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(slice1.size()*sizeof(DataType))… in test_simple_slice() 159 sycl_device.memcpyDeviceToHost(slice1.data(), gpu_data2,(slice1.size())*sizeof(DataType)); in test_simple_slice() 160 VERIFY_IS_EQUAL(slice1(0,0,0,0,0), tensor(1,2,3,4,5)); in test_simple_slice() 203 Tensor<DataType, 5,DataLayout, IndexType> slice1(slice1_range); in test_strided_slice_as_rhs_sycl() local 207 …DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(slice1.size()*sizeof(DataType))… in test_strided_slice_as_rhs_sycl() 218 sycl_device.memcpyDeviceToHost(slice1.data(), gpu_data2,(slice1.size())*sizeof(DataType)); in test_strided_slice_as_rhs_sycl() 223 VERIFY_IS_EQUAL(slice1(0,0,0,0,0), tensor(1,2,3,4,5)); in test_strided_slice_as_rhs_sycl()
|
/external/grpc-grpc/test/core/compression/ |
D | stream_compression_test.cc | 201 grpc_slice slice1 = grpc_slice_buffer_take_first(&relay); in test_stream_compression_drop_context() local 204 grpc_slice_malloc(GRPC_SLICE_LENGTH(slice1) + GRPC_SLICE_LENGTH(slice2)); in test_stream_compression_drop_context() 205 memcpy(GRPC_SLICE_START_PTR(slice3), GRPC_SLICE_START_PTR(slice1), in test_stream_compression_drop_context() 206 GRPC_SLICE_LENGTH(slice1)); in test_stream_compression_drop_context() 207 memcpy(GRPC_SLICE_START_PTR(slice3) + GRPC_SLICE_LENGTH(slice1), in test_stream_compression_drop_context() 209 grpc_slice_unref(slice1); in test_stream_compression_drop_context()
|
/external/rust/crates/half/src/ |
D | slice.rs | 826 let mut slice1 = [f16::ZERO; 3]; in convert_from_f32_slice_len_mismatch_panics() localVariable 828 slice1.convert_from_f32_slice(&slice2); in convert_from_f32_slice_len_mismatch_panics() 834 let mut slice1 = [f16::ZERO; 3]; in convert_from_f64_slice_len_mismatch_panics() localVariable 836 slice1.convert_from_f64_slice(&slice2); in convert_from_f64_slice_len_mismatch_panics() 842 let slice1 = [f16::ZERO; 3]; in convert_to_f32_slice_len_mismatch_panics() localVariable 844 slice1.convert_to_f32_slice(&mut slice2); in convert_to_f32_slice_len_mismatch_panics() 850 let slice1 = [f16::ZERO; 3]; in convert_to_f64_slice_len_mismatch_panics() localVariable 852 slice1.convert_to_f64_slice(&mut slice2); in convert_to_f64_slice_len_mismatch_panics()
|
/external/perfetto/test/trace_processor/diff_tests/track_event/ |
D | range_of_interest.textproto | 37 name: "slice1" 114 name: "slice1"
|
/external/perfetto/test/trace_processor/diff_tests/chrome/ |
D | chrome_reliable_range_cropping.textproto | 62 name: "slice1" 72 name: "slice1"
|
D | chrome_reliable_range.textproto | 55 name: "slice1" 65 name: "slice1"
|
D | unsymbolized_args.textproto | 72 name: "slice1" 115 name: "slice1"
|
D | chrome_reliable_range_missing_gpu_main.textproto | 38 name: "slice1"
|
D | chrome_reliable_range_missing_browser_main.textproto | 38 name: "slice1"
|
D | chrome_reliable_range_missing_renderer_main.textproto | 38 name: "slice1"
|
D | chrome_reliable_range_missing_processes.textproto | 41 name: "slice1"
|
/external/perfetto/test/trace_processor/diff_tests/translation/ |
D | chrome_histogram.textproto | 35 name: "slice1" 100 name: "slice1"
|
D | chrome_user_event.textproto | 36 name: "slice1" 100 name: "slice1"
|
D | native_symbol_arg.textproto | 66 name: "slice1" 155 name: "slice1"
|
D | chrome_performance_mark.out | 7 "event.name","event.name","[NULL]","slice1"
|
D | chrome_user_event.out | 10 "event.name","event.name","[NULL]","slice1"
|
D | chrome_histogram.out | 11 "event.name","event.name","[NULL]","slice1"
|
D | native_symbol_arg.out | 14 "event.name","event.name","[NULL]","slice1"
|
/external/perfetto/src/trace_processor/importers/common/ |
D | slice_tracker_unittest.cc | 466 SliceId slice1 = context.storage->slice_table().id()[0]; in TEST() local 468 EXPECT_EQ(tracker.GetTopmostSliceOnTrack(track).value(), slice1); in TEST() 479 EXPECT_EQ(tracker.GetTopmostSliceOnTrack(track).value(), slice1); in TEST() 507 SliceId slice1 = context.storage->slice_table().id()[0]; in TEST() local 509 EXPECT_THAT(slice_records, ElementsAre(slice1)); in TEST() 514 EXPECT_THAT(slice_records, ElementsAre(slice1, slice2)); in TEST() 520 EXPECT_THAT(slice_records, ElementsAre(slice1, slice2, slice3)); in TEST()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/ |
D | quic_stream_send_buffer_test.cc | 37 quiche::QuicheMemSlice slice1(std::move(buffer1)); in QuicStreamSendBufferTest() local 47 send_buffer_.SaveMemSlice(std::move(slice1)); in QuicStreamSendBufferTest() 48 EXPECT_TRUE(slice1.empty()); in QuicStreamSendBufferTest()
|
/external/rust/crates/slab/src/ |
D | lib.rs | 757 let (slice1, slice2) = self.entries.split_at_mut(key1); in get2_mut() 759 entry2 = slice1.get_mut(key2); in get2_mut() 761 let (slice1, slice2) = self.entries.split_at_mut(key2); in get2_mut() 762 entry1 = slice1.get_mut(key1); in get2_mut()
|