Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

neilisaac / torch   python

Repository URL to install this package:

Version: 1.8.0 

/ include / ATen / SequenceNumber.h

#pragma once

#include <cstdint>
#include <torch/csrc/WindowsTorchApiMacro.h>

namespace at {

// A simple thread local enumeration, used to link forward and backward pass
// ops and is used by autograd and observers framework
namespace sequence_number {

TORCH_API uint64_t peek();
TORCH_API uint64_t get_and_increment();

} // namespace sequence_number
} // namespace at