Home / Class/ append Class — pytorch Architecture

append Class — pytorch Architecture

Architecture documentation for the append class in List_inl.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/core/List_inl.h lines 270–277

template<class T>
void List<T>::append(List<T> b) const {
  if (b.use_count() == 1) {
    impl_->list.insert(impl_->list.end(), make_move_iterator(b.impl_->list.begin()), make_move_iterator(b.impl_->list.end()));
  } else {
    impl_->list.insert(impl_->list.end(), b.impl_->list.begin(), b.impl_->list.end());
  }
}

Analyze Your Own Codebase

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

Try Supermodel Free