Home / Class/ InferExpandGeometryResult Class — pytorch Architecture

InferExpandGeometryResult Class — pytorch Architecture

Architecture documentation for the InferExpandGeometryResult class in ExpandUtils.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/ExpandUtils.h lines 32–40

template <typename Container>
struct InferExpandGeometryResult {
  Container sizes;
  Container strides;
  explicit InferExpandGeometryResult(size_t ndim)
      : sizes(ndim), strides(ndim) {}
  explicit InferExpandGeometryResult(IntArrayRef sizes_, size_t ndim)
      : sizes(sizes_.begin(), sizes_.end()), strides(ndim) {}
};

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free