Home
last modified time | relevance | path

Searched defs:IndexToOffset (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/pytorch/aten/src/ATen/cuda/detail/
H A DTensorInfo.cuh77 struct IndexToOffset { struct
78 static __host__ __device__ IndexType get( in get()
98 struct IndexToOffset<T, IndexType, -1> { struct
99 static inline __host__ __device__ IndexType get( in get()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cpu/
H A DIndexKernel.cpp36 struct IndexToOffset { struct
37 const IntArrayRef sizes;
38 const IntArrayRef strides;
39 const int64_t ndim;
40 explicit IndexToOffset(const TensorBase & tensor) : in IndexToOffset() argument
44 int64_t get(int64_t linear_index) const { in get()
/aosp_15_r20/art/runtime/gc/accounting/
H A Dspace_bitmap.h76 static constexpr T IndexToOffset(T index) { in IndexToOffset() function
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
H A Dlegalize_hlo.cc1438 static int64_t IndexToOffset(ArrayRef<int64_t> shape, in IndexToOffset() function in mlir::TF::__anonab43b57b0111::StridedArrayViewBase