Home / Class/ ReturnTypes Class — pytorch Architecture

ReturnTypes Class — pytorch Architecture

Architecture documentation for the ReturnTypes class in infer_schema.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/core/op_registration/infer_schema.h lines 78–85

template<class... ReturnTypes>
struct createReturns<std::tuple<ReturnTypes...>, void> final {
  static constexpr std::array<ArgumentDef, sizeof...(ReturnTypes)> call() {
    return createArgumentVectorFromTypes<ReturnTypes...>(
        std::make_index_sequence<sizeof...(ReturnTypes)>()
    );
  }
};

Analyze Your Own Codebase

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

Try Supermodel Free