/external/tensorflow/tensorflow/core/framework/ |
D | tensor_slice_test.cc | 304 TensorSlice slice1(3); in TEST() local 306 EXPECT_TRUE(slice1 != slice2); in TEST() 307 EXPECT_TRUE(slice2 != slice1); in TEST() 310 TensorSlice slice1(3); in TEST() local 312 EXPECT_TRUE(slice1 == slice2); in TEST() 313 EXPECT_TRUE(slice2 == slice1); in TEST() 316 TensorSlice slice1(3); in TEST() local 318 EXPECT_TRUE(slice1 != slice2); in TEST() 319 EXPECT_TRUE(slice2 != slice1); in TEST()
|
/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/eigen/unsupported/test/ |
D | cxx11_tensor_morphing.cpp | 99 Tensor<float, 5, DataLayout> slice1(1,1,1,1,1); in test_simple_slice() local 102 slice1 = tensor.slice(indices, sizes); in test_simple_slice() 103 VERIFY_IS_EQUAL(slice1(0,0,0,0,0), tensor(1,2,3,4,5)); in test_simple_slice() 235 auto slice1 = SliceEvaluator(tensor.slice(offsets, extents), DefaultDevice()); in test_slice_raw_data() local 236 VERIFY_IS_EQUAL(slice1.dimensions().TotalSize(), 1); in test_slice_raw_data() 237 VERIFY_IS_EQUAL(slice1.data()[0], tensor(1,2,3,4)); in test_slice_raw_data() 368 Tensor5f slice1(1,1,1,1,1); in test_strided_slice() local 372 slice1 = tensor.stridedSlice(indicesStart, indicesStop, strides); in test_strided_slice() 373 VERIFY_IS_EQUAL(slice1(0,0,0,0,0), tensor(1,2,3,4,5)); in test_strided_slice()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SaveSlices.pbtxt | 44 `slice-spec` itself is a `:`-separated list: `slice0:slice1:...:sliceN-1`
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | partitioned_variables_test.py | 502 slice1 = _IotaInitializer([4, 5]) 505 self.assertAllClose(slice0 + slice1 + slice2, val)
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle_test.cc | 328 TensorSlice slice1 = TensorSlice::ParseOrDie("-:0,1"); in TEST() local 333 TF_ASSERT_OK(writer.AddSlice("foo", kFullShape, slice1, in TEST() 365 EXPECT_EQ(slice1.DebugString(), slices[0].DebugString()); in TEST()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | fusion_test.cc | 523 auto slice1 = builder.AddInstruction(HloInstruction::CreateSlice( in XLA_TEST_F() local 526 ShapeUtil::MakeShape(S32, {2}), HloOpcode::kNegate, slice1)); in XLA_TEST_F() 528 ->CreateFusionInstruction(/*instructions_to_fuse=*/{negate2, slice1}, in XLA_TEST_F()
|
D | array_elementwise_ops_test.cc | 378 auto slice1 = Slice(param, {0}, {slice_size}, {1}); in XLA_TEST_F() local 380 return Add(slice1, slice2); in XLA_TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_instruction_fusion_test.cc | 467 HloInstruction* slice1 = builder.AddInstruction( in TEST_F() local 470 ShapeUtil::MakeShape(S32, {2}), HloOpcode::kNegate, slice1)); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | buffer_assignment_test.cc | 2221 TF_ASSERT_OK_AND_ASSIGN(auto slice1, assignment->GetUniqueSlice(tuple, {1})); in TEST_F() 2222 EXPECT_NE(slice0, slice1); in TEST_F() 2229 EXPECT_EQ(slice1, slice_while0); in TEST_F() 2230 EXPECT_EQ(slice1, slice_while1); in TEST_F()
|
D | algebraic_simplifier_test.cc | 1824 HloInstruction* slice1 = builder.AddInstruction(HloInstruction::CreateSlice( in TEST_F() local 1861 {slice0, slice1, slice2, slice3, slice4, slice5, slice6, slice7}, 1)); in TEST_F()
|