Home / Class/ strides Class — pytorch Architecture

strides Class — pytorch Architecture

Architecture documentation for the strides class in TensorIterator.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/TensorIterator.h lines 443–453

  template <
      typename loop1d_t,
      std::enable_if_t<
          std::is_convertible_v<
              loop1d_t,
              c10::function_ref<
                  void(char**, const int64_t* strides, int64_t size)>>,
          int> = 0>
  void serial_for_each(loop1d_t loop, Range range) {
    serial_for_each(loop_2d_from_1d(loop), range);
  }

Analyze Your Own Codebase

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

Try Supermodel Free