HomeSort by relevance Sort by last modified time
    Searched defs:Slice (Results 1 - 25 of 37) sorted by null

1 2

  /external/tensorflow/tensorflow/core/kernels/
slice_op.h 28 struct Slice {
44 To32Bit(output).device(d) = To32Bit(input).slice(indices, sizes);
46 output.device(d) = input.slice(slice_indices, slice_sizes);
  /external/grpc-grpc/include/grpcpp/impl/codegen/
slice.h 26 #include <grpc/impl/codegen/slice.h>
32 /// A slice represents a contiguous reference counted array of bytes.
33 /// It is cheap to take references to a slice, and it is cheap to create a
34 /// slice pointing to a subset of another slice.
35 class Slice final {
37 /// Construct an empty slice.
38 Slice() : slice_(g_core_codegen_interface->grpc_empty_slice()) {}
40 ~Slice() { g_core_codegen_interface->grpc_slice_unref(slice_); }
43 /// Construct a slice from \a slice, adding a reference
    [all...]
  /external/flatbuffers/lua/flatbuffers/
binaryarray.lua 30 -- Get a slice of the binary array from start to end position
31 function mt:Slice(startPos, endPos)
39 -- new table to store the slice components
57 -- correctly. in python a slice includes start -> end - 1
  /external/perfetto/include/perfetto/tracing/core/
slice.h 33 struct Slice {
34 Slice() : start(nullptr), size(0) {}
35 Slice(const void* st, size_t sz) : start(st), size(sz) {}
38 explicit Slice(std::unique_ptr<std::string> str)
41 Slice(Slice&& other) noexcept = default;
43 // Create a Slice which owns |size| bytes of memory.
44 static Slice Allocate(size_t size) {
45 Slice slice; local
    [all...]
  /external/perfetto/src/protozero/
scattered_heap_buffer.cc 23 ScatteredHeapBuffer::Slice::Slice(size_t size)
33 ScatteredHeapBuffer::Slice::Slice(Slice&& slice) noexcept = default;
35 ScatteredHeapBuffer::Slice::~Slice() = default;
60 for (const auto& slice : slices_) {
61 auto used_range = slice.GetUsedRange()
    [all...]
  /external/tensorflow/tensorflow/lite/toco/graph_transformations/
resolve_constant_slice.cc 27 bool Slice(SliceOperator const& op, Array const& input_array,
131 if (!Slice<ArrayDataType::kFloat>(*op, input_array, &output_array)) {
136 if (!Slice<ArrayDataType::kUint8>(*op, input_array, &output_array)) {
141 if (!Slice<ArrayDataType::kInt32>(*op, input_array, &output_array)) {
146 if (!Slice<ArrayDataType::kInt64>(*op, input_array, &output_array)) {
151 if (!Slice<ArrayDataType::kComplex64>(*op, input_array, &output_array)) {
156 LOG(FATAL) << "Unsupported data type input to Slice op with output \""
  /external/sfntly/cpp/src/sfntly/data/
writable_font_data.cc 169 CALLER_ATTACH FontData* WritableFontData::Slice(int32_t offset,
180 FontDataPtr slice = new WritableFontData(this, offset, length); local
181 return slice.Detach();
184 CALLER_ATTACH FontData* WritableFontData::Slice(int32_t offset) {
192 FontDataPtr slice = new WritableFontData(this, offset); local
193 return slice.Detach();
readable_font_data.cc 314 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset,
325 FontDataPtr slice = new ReadableFontData(this, offset, length); local
326 return slice.Detach();
329 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset) {
337 FontDataPtr slice = new ReadableFontData(this, offset); local
338 return slice.Detach();
  /external/webrtc/webrtc/common_audio/
channel_buffer.h 103 // Sets the |slice| pointers to the |start_frame| position for each channel.
104 // Returns |slice| for convenience.
105 const T* const* Slice(T** slice, size_t start_frame) const {
108 slice[i] = &channels_[i][start_frame];
109 return slice;
111 T** Slice(T** slice, size_t start_frame) {
113 return const_cast<T**>(t->Slice(slice, start_frame))
    [all...]
  /build/kati/
eval.go 90 func (ac *accessCache) Slice() []*accessedMakefile {
723 accessedMks: ev.cache.Slice(),
  /external/perfetto/include/perfetto/protozero/
scattered_heap_buffer.h 35 class PERFETTO_EXPORT Slice {
37 explicit Slice(size_t size);
38 Slice(Slice&& slice) noexcept;
39 ~Slice();
73 const std::vector<Slice>& slices() const { return slices_; }
79 // Update unused_bytes() of the current |Slice| based on the writer's state.
89 std::vector<Slice> slices_;
  /external/llvm/lib/Transforms/Scalar/
SROA.cpp 114 /// \brief A used slice of an alloca.
116 /// This structure represents a slice of an alloca used by some instruction. It
120 class Slice {
127 /// \brief Storage for both the use of this slice and whether it can be
132 Slice() : BeginOffset(), EndOffset() {}
133 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable)
154 bool operator<(const Slice &RHS) const {
167 friend LLVM_ATTRIBUTE_UNUSED bool operator<(const Slice &LHS,
172 const Slice &RHS) {
176 bool operator==(const Slice &RHS) const
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
SROA.cpp 153 /// A used slice of an alloca.
155 /// This structure represents a slice of an alloca used by some instruction. It
159 class Slice {
166 /// Storage for both the use of this slice and whether it can be
171 Slice() = default;
173 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable)
194 bool operator<(const Slice &RHS) const {
207 friend LLVM_ATTRIBUTE_UNUSED bool operator<(const Slice &LHS,
212 const Slice &RHS) {
216 bool operator==(const Slice &RHS) const
    [all...]
  /external/tensorflow/tensorflow/core/kernels/data/
shuffle_dataset_op.cc 84 slices_.push_back(absl::make_unique<Slice>(0, 0));
127 slices_.push_back(absl::make_unique<Slice>(n, n));
162 // slice, and then remove the element from the slice.
285 slices_.push_back(absl::make_unique<Slice>(start, end));
314 struct Slice {
315 Slice(int64 start, int64 end) : start(start), end(end) {}
332 std::deque<std::unique_ptr<Slice>> slices_ GUARDED_BY(mu_);
  /external/tensorflow/tensorflow/core/util/sparse/
sparse_tensor.h 236 // each slice.
241 // Slice() will slice the input SparseTensor into a SparseTensor based on
246 static SparseTensor Slice(const SparseTensor& tensor,
328 // Helper for Split() that returns the slice index.
342 // Helper for Split() that returns the dimension in the slice.
356 // Helper for Split() that returns the shape given a slice index.
655 SparseTensor SparseTensor::Slice(const SparseTensor& input_tensor,
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
ast.py 1171 class Slice(Node):
    [all...]
  /external/libchrome/third_party/jinja2/
nodes.py 740 class Slice(Expr):
741 """Represents a slice object. This must only be used as argument for
752 return slice(const(self.start), const(self.stop), const(self.step))
  /external/python/cpython2/Lib/compiler/
ast.py 1171 class Slice(Node):
1197 return "Slice(%s, %s, %s, %s)" % (repr(self.expr), repr(self.flags), repr(self.lower), repr(self.upper))
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/python/
local_computation_builder.cc 515 LocalOp ComputationBuilder::Slice(const LocalOp& operand,
519 return xla::Slice(operand.op(), start_indices, limit_indices, strides);
  /external/tensorflow/tensorflow/compiler/xla/service/
buffer_assignment.h 57 // of the allocation, represented by a Slice. A single BufferAllocation may hold
160 // A Slice represents a contiguous portion of a memory allocation. It is used
162 class Slice {
164 Slice() {}
165 Slice(const BufferAllocation* allocation, int64 offset, int64 size)
173 bool operator==(const Slice& other) const {
177 bool operator!=(const Slice& other) const { return !(*this == other); }
178 bool operator<(const Slice& other) const {
184 // Returns true iff this slice's memory range has a non-empty intersection
185 // with the other slice's memory range
    [all...]
  /external/tensorflow/tensorflow/core/framework/
tensor.cc 805 Tensor Tensor::Slice(int64 start, int64 limit) const {
    [all...]
  /external/tensorflow/tensorflow/lite/kernels/internal/optimized/
legacy_optimized_ops.h     [all...]
  /external/tensorflow/tensorflow/lite/kernels/internal/reference/
legacy_reference_ops.h     [all...]
  /external/tensorflow/tensorflow/lite/toco/tflite/
operator.cc     [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Python-ast.h 291 slice_ty slice; member in struct:_expr::__anon5252::__anon5271
323 } Slice;
500 expr_ty _Py_Subscript(expr_ty value, slice_ty slice, expr_context_ty ctx, int
513 #define Slice(a0, a1, a2, a3) _Py_Slice(a0, a1, a2, a3)

Completed in 1036 milliseconds

1 2