Home / Class/ arg Class — pytorch Architecture

arg Class — pytorch Architecture

Architecture documentation for the arg class in function_schema.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/core/function_schema.h lines 637–643

template<>
  struct hash<c10::SchemaArgument> {
    size_t operator()(const c10::SchemaArgument& arg) const
    {
      return c10::hash_combine(std::hash<size_t>()(arg.index), std::hash<size_t>()(static_cast<std::size_t>(arg.type)));
    }
  };

Analyze Your Own Codebase

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

Try Supermodel Free