Home / Class/ make_tensor Class — pytorch Architecture

make_tensor Class — pytorch Architecture

Architecture documentation for the make_tensor class in TensorBody.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/templates/TensorBody.h lines 646–649

template <typename T, typename... Args>
Tensor make_tensor(Args&&... args) {
  return Tensor(c10::make_intrusive<T>(std::forward<Args>(args)...));
}

Analyze Your Own Codebase

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

Try Supermodel Free