Home / Class/ ShareExternal Class — pytorch Architecture

ShareExternal Class — pytorch Architecture

Architecture documentation for the ShareExternal class in blob.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/core/blob.h lines 146–152

  template <class T>
  std::remove_const_t<T>* ShareExternal(
      std::remove_const_t<T>* allocated) {
    return static_cast<T*>(ShareExternal(
        static_cast<void*>(allocated),
        TypeMeta::Make<std::remove_const_t<T>>()));
  }

Analyze Your Own Codebase

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

Try Supermodel Free