Home
last modified time | relevance | path

Searched refs:sliced (Results 1 – 25 of 83) sorted by relevance

1234

/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dslicing_test.py44 sliced = slicing._slice_single_param(
49 self.assertAllEqual((1, 1, event_dim), self.evaluate(sliced).shape)
52 sliced = slicing._slice_single_param(
57 self.assertAllEqual((2, 6, 5, 4, 3), self.evaluate(sliced).shape)
60 sliced = slicing._slice_single_param(
65 self.assertAllEqual((7, 6, 2, 4, 3), self.evaluate(sliced).shape)
68 sliced = slicing._slice_single_param(
73 self.assertAllEqual((7, 1, 5, 4, 3), self.evaluate(sliced).shape)
76 sliced = slicing._slice_single_param(
81 self.assertAllEqual((7, 1, 6, 5, 4, 3), self.evaluate(sliced).shape)
[all …]
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_FMT.c391 format.type, format.fmt.sliced.service_set, in do_get_formats()
393 format.fmt.sliced.io_size, in do_get_formats()
394 format.fmt.sliced.reserved[0], in do_get_formats()
395 format.fmt.sliced.reserved[1] in do_get_formats()
397 if (sizeof(format.fmt.sliced) < in do_get_formats()
401 for (j = sizeof(format.fmt.sliced); in do_get_formats()
411 CU_ASSERT_EQUAL(format.fmt.sliced.service_lines[0][0], in do_get_formats()
436 CU_ASSERT_EQUAL(format.fmt.sliced.service_lines[1][0], in do_get_formats()
462 CU_ASSERT_EQUAL(format.fmt.sliced.reserved[0], 0); in do_get_formats()
463 CU_ASSERT_EQUAL(format.fmt.sliced.reserved[1], 0); in do_get_formats()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dops_util_test.cc334 Tensor sliced; in TEST_F()
335 CHECK(sliced.CopyFrom(t.Slice(start, end), TensorShape({end - start}))); in TEST_F()
336 EXPECT_EQ(sliced.IsAligned(), true); in TEST_F()
348 Tensor sliced; in TEST_F() local
349 CHECK(sliced.CopyFrom(t.Slice(start, end), TensorShape({end - start}))); in TEST_F()
350 EXPECT_EQ(sliced.IsAligned(), false); in TEST_F()
372 Tensor sliced; in TEST_F()
373 CHECK(sliced.CopyFrom(t.Slice(start, end), TensorShape({1, inner_dim_size}))); in TEST_F()
374 EXPECT_EQ(sliced.IsAligned(), true); in TEST_F()
388 Tensor sliced; in TEST_F() local
[all …]
Deigen_mkldnn_contraction_kernel_test.cc91 Scalar sliced = slice_dst.coeff(i); in TEST() local
92 EXPECT_EQ(packed, sliced); in TEST()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dslice_op.cc175 auto sliced = xla::DynamicSlice(padded_input, begin_indices, in Compile() local
193 sliced = xla::SliceInDim( in Compile()
194 sliced, 0, constant_size->Get<int32>({}).value(), 1, i); in Compile()
199 &ctx->value_inference(), sliced, dynamic_size, i); in Compile()
201 sliced = status.ValueOrDie(); in Compile()
204 ctx->SetOutput(0, sliced); in Compile()
Ddynamic_partition_op.cc103 auto sliced = in DynamicPartition1D() local
105 output[i] = sliced; in DynamicPartition1D()
/external/guava/android/guava-tests/test/com/google/common/io/
DByteSourceTester.java90 ByteSourceFactory sliced = SourceSinkFactories.asSlicedByteSourceFactory(factory, off, len); in suiteForBytes() local
91 suite.addTest(suiteForBytes(sliced, bytes, name + ".slice[long, long]", desc, false)); in suiteForBytes()
239 ByteSource sliced = source.slice(1, size - 2); in testSlice_constrainedRange() local
240 assertEquals(size - 2, sliced.read().length); in testSlice_constrainedRange()
241 ByteSource resliced = sliced.slice(0, size - 1); in testSlice_constrainedRange()
242 assertTrue(sliced.contentEquals(resliced)); in testSlice_constrainedRange()
/external/guava/guava-tests/test/com/google/common/io/
DByteSourceTester.java90 ByteSourceFactory sliced = SourceSinkFactories.asSlicedByteSourceFactory(factory, off, len); in suiteForBytes() local
91 suite.addTest(suiteForBytes(sliced, bytes, name + ".slice[long, long]", desc, false)); in suiteForBytes()
239 ByteSource sliced = source.slice(1, size - 2); in testSlice_constrainedRange() local
240 assertEquals(size - 2, sliced.read().length); in testSlice_constrainedRange()
241 ByteSource resliced = sliced.slice(0, size - 1); in testSlice_constrainedRange()
242 assertTrue(sliced.contentEquals(resliced)); in testSlice_constrainedRange()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SparseSliceGrad.pbtxt7 the non-empty values of the sliced `SparseTensor`.
25 2-D. The `indices` of the sliced `SparseTensor`.
37 the sliced `SparseTensor`, and outputs the gradients w.r.t.
Dapi_def_ResourceStridedSliceAssign.pbtxt3 summary: "Assign `value` to the sliced l-value reference of `ref`."
Dapi_def_StridedSliceAssign.pbtxt3 summary: "Assign `value` to the sliced l-value reference of `ref`."
Dapi_def_TensorStridedSliceUpdate.pbtxt3 summary: "Assign `value` to the sliced l-value reference of `input`."
Dapi_def_TPUEmbeddingActivations.pbtxt32 This op simply returns its first input, which is assumed to have been sliced
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_tokenizer.h127 TraceBlobView sliced = whole_buf.slice(packet.data, packet.size); in ParseInternal() local
128 RETURN_IF_ERROR(ParsePacket(std::move(sliced), callback)); in ParseInternal()
170 TraceBlobView sliced = in ParsePacket() local
172 RETURN_IF_ERROR(ParsePacket(std::move(sliced), callback)); in ParsePacket()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dunroll_batch_matmul.cc104 std::vector<Value> sliced; in sliceInput() local
112 sliced.emplace_back(reshape_op.output()); in sliceInput()
138 sliced.emplace_back(reshape_op.output()); in sliceInput()
141 return sliced; in sliceInput()
/external/strace/tests/
Dioctl_v4l2.c146 f->fmt.sliced.service_set = V4L2_SLICED_VPS; in init_v4l2_format()
147 f->fmt.sliced.io_size = 0xd897925a; in init_v4l2_format()
149 i < ARRAY_SIZE(f->fmt.sliced.service_lines[0]); in init_v4l2_format()
151 f->fmt.sliced.service_lines[0][i] = 0xc38e | i; in init_v4l2_format()
152 f->fmt.sliced.service_lines[1][i] = 0x3abb | i; in init_v4l2_format()
317 f->fmt.sliced.io_size); in dprint_ioctl_v4l2()
319 i < ARRAY_SIZE(f->fmt.sliced.service_lines); in dprint_ioctl_v4l2()
325 j < ARRAY_SIZE(f->fmt.sliced.service_lines[0]); in dprint_ioctl_v4l2()
330 f->fmt.sliced.service_lines[i][j]); in dprint_ioctl_v4l2()
/external/strace/tests-m32/
Dioctl_v4l2.c146 f->fmt.sliced.service_set = V4L2_SLICED_VPS; in init_v4l2_format()
147 f->fmt.sliced.io_size = 0xd897925a; in init_v4l2_format()
149 i < ARRAY_SIZE(f->fmt.sliced.service_lines[0]); in init_v4l2_format()
151 f->fmt.sliced.service_lines[0][i] = 0xc38e | i; in init_v4l2_format()
152 f->fmt.sliced.service_lines[1][i] = 0x3abb | i; in init_v4l2_format()
317 f->fmt.sliced.io_size); in dprint_ioctl_v4l2()
319 i < ARRAY_SIZE(f->fmt.sliced.service_lines); in dprint_ioctl_v4l2()
325 j < ARRAY_SIZE(f->fmt.sliced.service_lines[0]); in dprint_ioctl_v4l2()
330 f->fmt.sliced.service_lines[i][j]); in dprint_ioctl_v4l2()
/external/strace/tests-mx32/
Dioctl_v4l2.c146 f->fmt.sliced.service_set = V4L2_SLICED_VPS; in init_v4l2_format()
147 f->fmt.sliced.io_size = 0xd897925a; in init_v4l2_format()
149 i < ARRAY_SIZE(f->fmt.sliced.service_lines[0]); in init_v4l2_format()
151 f->fmt.sliced.service_lines[0][i] = 0xc38e | i; in init_v4l2_format()
152 f->fmt.sliced.service_lines[1][i] = 0x3abb | i; in init_v4l2_format()
317 f->fmt.sliced.io_size); in dprint_ioctl_v4l2()
319 i < ARRAY_SIZE(f->fmt.sliced.service_lines); in dprint_ioctl_v4l2()
325 j < ARRAY_SIZE(f->fmt.sliced.service_lines[0]); in dprint_ioctl_v4l2()
330 f->fmt.sliced.service_lines[i][j]); in dprint_ioctl_v4l2()
/external/tensorflow/tensorflow/python/debug/cli/
Ddebugger_cli_common_test.py786 sliced = self._original.slice(0, 1)
788 self.assertEqual(["Roses are red"], sliced.lines)
789 self.assertEqual({0: [(0, 5, "red")]}, sliced.font_attr_segs)
795 }, sliced.annotations)
797 self.assertEqual(1, sliced.num_lines())
800 sliced = self._original.slice(1, 2)
802 self.assertEqual(["Violets are blue"], sliced.lines)
805 self.assertEqual({0: [(0, 7, "blue")]}, sliced.font_attr_segs)
809 }, sliced.annotations)
811 self.assertEqual(1, sliced.num_lines())
/external/tensorflow/tensorflow/compiler/xla/service/
Dall_reduce_contiguous.cc70 HloInstruction* sliced = computation.AddInstruction( in ReplaceWithContiguousAllReduce() local
76 all_reduce->operand(i)->shape(), sliced))); in ReplaceWithContiguousAllReduce()
/external/strace/
Dv4l2.c305 printxval(v4l2_sliced_flags, f->fmt.sliced.service_set, in print_v4l2_format_fmt()
308 f->fmt.sliced.io_size); in print_v4l2_format_fmt()
309 for (i = 0; i < ARRAY_SIZE(f->fmt.sliced.service_lines); i++) { in print_v4l2_format_fmt()
314 j < ARRAY_SIZE(f->fmt.sliced.service_lines[0]); in print_v4l2_format_fmt()
319 f->fmt.sliced.service_lines[i][j]); in print_v4l2_format_fmt()
/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner_test.cc467 auto sliced = ops::Slice(root, shape, ones, ones); in TEST_F() local
471 .Input(sliced.node()) in TEST_F()
478 TF_ASSERT_OK(m.AddNode(sliced.node())); in TEST_F()
501 auto sliced = ops::Slice(root, shape, ones, ones); in TEST_F() local
505 .Input(sliced.node()) in TEST_F()
512 TF_ASSERT_OK(m.AddNode(sliced.node())); in TEST_F()
534 auto sliced = ops::Slice(root, shape, ones, ones); in TEST_F() local
538 .Input(sliced.node()) in TEST_F()
545 TF_ASSERT_OK(m.AddNode(sliced.node())); in TEST_F()
/external/protobuf/pkg/
DREADME.md16 Protobuf releases include source distributions, sliced by target language (C++,
/external/python/cpython3/Objects/
Dmemoryobject.c2495 PyMemoryViewObject *sliced; in memory_subscript() local
2497 sliced = (PyMemoryViewObject *)mbuf_add_view(self->mbuf, view); in memory_subscript()
2498 if (sliced == NULL) in memory_subscript()
2501 if (init_slice(&sliced->view, key, 0) < 0) { in memory_subscript()
2502 Py_DECREF(sliced); in memory_subscript()
2505 init_len(&sliced->view); in memory_subscript()
2506 init_flags(sliced); in memory_subscript()
2508 return (PyObject *)sliced; in memory_subscript()
/external/rust/crates/ring/pregenerated/
Dbsaes-armv7-linux32.S32 @ Bit-sliced AES for ARM NEON
633 add r12, #96 @ size of bit-sliced key schedule

1234