HomeSort by relevance Sort by last modified time
    Searched defs:slice1 (Results 1 - 6 of 6) sorted by null

  /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/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/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/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...]
  /external/tensorflow/tensorflow/compiler/xla/service/
algebraic_simplifier_test.cc 1824 HloInstruction* slice1 = builder.AddInstruction(HloInstruction::CreateSlice( local
    [all...]

Completed in 1836 milliseconds