Home / Class/ tensor_complex_backend Class — pytorch Architecture

tensor_complex_backend Class — pytorch Architecture

Architecture documentation for the tensor_complex_backend class in Utils.cpp from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/Utils.cpp lines 49–55

template <typename T>
Tensor tensor_complex_backend(
    ArrayRef<T> values,
    const TensorOptions& options) {
  auto cpu_tensor = tensor_complex_cpu(values, options.device(DeviceType::CPU));
  return cpu_tensor.to(options.device());
}

Analyze Your Own Codebase

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

Try Supermodel Free