class_docstr: Bitmask to mark this layer as first, last, nothing or both
class_docstr_tok: ["Bitmask","to","mark","this","layer","as","first",",","last",",","nothing","or","both"]
code: def __init__(self):
      self.bitmask = LayerPositionBitmask.Default
  
imports: from dataclasses import dataclass
  from enum import Enum
  from typing import Any, Dict, Optional
  from xformers.components import NormalizationType, ResidualNormStyle
  from xformers.components.feedforward import FEEDFORWARD_REGISTRY, FeedforwardConfig
  from xformers.components.positional_embedding import POSITION_EMBEDDING_REGISTRY, PositionEmbeddingConfig
  from xformers.utils import generate_matching_config
label_desc: Use image node_id 1 to create a new LayerPosition object  with example: obj = LayerPosition()