Home
last modified time | relevance | path

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

/external/pytorch/aten/src/ATen/cuda/detail/
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()
/external/pytorch/aten/src/ATen/native/cpu/
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()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dlegalize_hlo.cc1438 static int64_t IndexToOffset(ArrayRef<int64_t> shape, in IndexToOffset() function in mlir::TF::__anon09b86ffb0111::StridedArrayViewBase