Home / Class/ named_algorithms Class — pytorch Architecture

named_algorithms Class — pytorch Architecture

Architecture documentation for the named_algorithms class in ComputeSparseTile.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/native/sparse/cuda/ComputeSparseTile.h lines 167–174

template <typename T>
void named_algorithms(T callback) {
  callback(LargestValuesGreedy<IdentityOp>(), "largest_values_greedy");
  callback(Causal1122<IdentityOp>(), "causal1122");
  callback(LargestValuesGreedy<AbsOp>(), "largest_abs_values_greedy");
  // default one
  callback(LargestValuesGreedy<IdentityOp>(), "");
}

Analyze Your Own Codebase

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

Try Supermodel Free