blob: 44ae32a1e2d7dbd96f705891ca732de7f044fe4e [file] [log] [blame]
#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