class_docstr: Represent all cuFFT plan caches, return the cuFFTPlanCache for a given device when indexed.
  
  Finally, this object, when used directly as a `cuFFTPlanCache` object (e.g.,
  setting the `.max_size`) attribute, the current device's cuFFT plan cache is
  used.
class_docstr_tok: ["Represent","all","cuFFT","plan","caches",",","return","the","cuFFTPlanCache","for","a","given","device","when","indexed",".","Finally",",","this","object",",","when","used","directly","as","a","`","cuFFTPlanCache","`","object","(","e.g.",",","setting","the","`",".max_size","`",")","attribute",",","the","current","device","'s","cuFFT","plan","cache","is","used","."]
code: def __init__(self):
      self.caches = []
      self.__initialized = True
  
imports: import contextlib
  from typing import Union
  import torch
  from torch._C import _SDPAParams, _SDPBackend
label_desc: Use image node_id 1 to create a new cuFFTPlanCacheManager object  with example: obj = cuFFTPlanCacheManager()