/external/tensorflow/tensorflow/core/framework/ |
tensor_slice_test.cc | 304 TensorSlice slice1(3); 306 EXPECT_TRUE(slice1 != slice2); 307 EXPECT_TRUE(slice2 != slice1); 310 TensorSlice slice1(3); 312 EXPECT_TRUE(slice1 == slice2); 313 EXPECT_TRUE(slice2 == slice1); 316 TensorSlice slice1(3); 318 EXPECT_TRUE(slice1 != slice2); 319 EXPECT_TRUE(slice2 != slice1);
|
/development/tools/repo_diff/service/repodiff/interactors/ |
strings.go | 19 func DistinctValues(slice1, slice2 []string) []string { 21 sliceToSimpleSet(slice1), 51 func SetUnion(slice1, slice2 []string) []string { 55 slice1,
|
/external/grpc-grpc/test/core/compression/ |
stream_compression_test.cc | 201 grpc_slice slice1 = grpc_slice_buffer_take_first(&relay); local 204 grpc_slice_malloc(GRPC_SLICE_LENGTH(slice1) + GRPC_SLICE_LENGTH(slice2)); 205 memcpy(GRPC_SLICE_START_PTR(slice3), GRPC_SLICE_START_PTR(slice1), 206 GRPC_SLICE_LENGTH(slice1)); 207 memcpy(GRPC_SLICE_START_PTR(slice3) + GRPC_SLICE_LENGTH(slice1), 209 grpc_slice_unref(slice1);
|
/external/eigen/unsupported/test/ |
cxx11_tensor_morphing.cpp | 99 Tensor<float, 5, DataLayout> slice1(1,1,1,1,1); 102 slice1 = tensor.slice(indices, sizes); 103 VERIFY_IS_EQUAL(slice1(0,0,0,0,0), tensor(1,2,3,4,5)); 235 auto slice1 = SliceEvaluator(tensor.slice(offsets, extents), DefaultDevice()); local 236 VERIFY_IS_EQUAL(slice1.dimensions().TotalSize(), 1); 237 VERIFY_IS_EQUAL(slice1.data()[0], tensor(1,2,3,4)); 368 Tensor5f slice1(1,1,1,1,1); 372 slice1 = tensor.stridedSlice(indicesStart, indicesStop, strides); 373 VERIFY_IS_EQUAL(slice1(0,0,0,0,0), tensor(1,2,3,4,5));
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
fusion_test.cc | 523 auto slice1 = builder.AddInstruction(HloInstruction::CreateSlice( local 526 ShapeUtil::MakeShape(S32, {2}), HloOpcode::kNegate, slice1)); 528 ->CreateFusionInstruction(/*instructions_to_fuse=*/{negate2, slice1}, [all...] |
array_elementwise_ops_test.cc | 378 auto slice1 = Slice(param, {0}, {slice_size}, {1}); 380 return Add(slice1, slice2); [all...] |
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
tensor_bundle_test.cc | 328 TensorSlice slice1 = TensorSlice::ParseOrDie("-:0,1"); local 333 TF_ASSERT_OK(writer.AddSlice("foo", kFullShape, slice1, 365 EXPECT_EQ(slice1.DebugString(), slices[0].DebugString()); [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
cpu_instruction_fusion_test.cc | 467 HloInstruction* slice1 = builder.AddInstruction( local 470 ShapeUtil::MakeShape(S32, {2}), HloOpcode::kNegate, slice1)); local [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
partitioned_variables_test.py | 502 slice1 = _IotaInitializer([4, 5]) 505 self.assertAllClose(slice0 + slice1 + slice2, val)
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
buffer_assignment_test.cc | [all...] |
algebraic_simplifier_test.cc | 1824 HloInstruction* slice1 = builder.AddInstruction(HloInstruction::CreateSlice( local [all...] |