#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
#pragma once

// @generated by torchgen/gen.py from enum_tag.h

namespace at {
    // Enum of valid tags obtained from the entries in tags.yaml
    enum class Tag {
        core,
        cudagraph_unsafe,
        data_dependent_output,
        dynamic_output_shape,
        flexible_layout,
        generated,
        inplace_view,
        maybe_aliasing_or_mutating,
        needs_contiguous_strides,
        needs_exact_strides,
        needs_fixed_stride_order,
        nondeterministic_bitwise,
        nondeterministic_seeded,
        out_variant,
        pointwise,
        pt2_compliant_tag,
        reduction,
        view_copy
    };
}

#else
#error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
#endif  // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
