class_docstr: Class defining a rectangular region in the canvas
class_docstr_tok: ["Class","defining","a","rectangular","region","in","the","canvas"]
code: def width(self):
      return self.col_end - self.col_init
  
imports: import re
  from copy import deepcopy
  from dataclasses import asdict, dataclass
  from enum import Enum
  from typing import List, Optional, Union
  import numpy
  import torch
  from numpy import exp, pi, sqrt
  from torchvision.transforms.functional import resize
  from tqdm.auto import tqdm
  from transformers import CLIPFeatureExtractor, CLIPTextModel, CLIPTokenizer
  from diffusers.models import AutoencoderKL, UNet2DConditionModel
  from diffusers.pipeline_utils import DiffusionPipeline
  from diffusers.pipelines.stable_diffusion import StableDiffusionSafetyChecker
  from diffusers.schedulers import DDIMScheduler, LMSDiscreteScheduler, PNDMScheduler
label_desc: Use image node_id 2 for calling the CanvasRegion obj's underlying member method code with example usage: obj.width() and returns: unknown