Home / Class/ from_json Class — pytorch Architecture

from_json Class — pytorch Architecture

Architecture documentation for the from_json class in Interpreter.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/functorch/Interpreter.h lines 118–122

  template <typename T>
  friend void from_json(const T& json_j, VmapInterpreterMeta& json_t) {
    json_t.batchSize_ = c10::SymInt(SymInt::Unchecked::UNCHECKED, json_j["batchSize"]);
    json_t.randomness_ = static_cast<RandomnessType>(json_j["randomness"]);
  }

Analyze Your Own Codebase

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

Try Supermodel Free