class_docstr: Count-Min Sketch Commands
class_docstr_tok: ["Count-Min","Sketch","Commands"]
docstr: Initialize a Count-Min Sketch `key` to dimensions (`width`, `depth`) specified by user.
  For more information see `CMS.INITBYDIM <https://redis.io/commands/cms.initbydim>`_.
docstr_tok: ["Initialize","a","Count-Min","Sketch","`","key","`","to","dimensions","(","`","width","`",",","`","depth","`",")","specified","by","user",".","For","more","information","see","`","CMS.INITBYDIM","<","https",":","\/\/redis.io\/commands\/cms.initbydim",">","`","_","."]
code: def initbydim(self, key, width, depth):
      """
      Initialize a Count-Min Sketch `key` to dimensions (`width`, `depth`) specified by user.
      For more information see `CMS.INITBYDIM <https://redis.io/commands/cms.initbydim>`_.
      """  # noqa
      return self.execute_command(CMS_INITBYDIM, key, width, depth)
  
imports: from redis.client import NEVER_DECODE
  from redis.exceptions import ModuleError
  from redis.utils import HIREDIS_AVAILABLE, deprecated_function
label_desc: Use image node_id 1 for calling the CMSCommands obj's underlying member method code with example usage: obj.initbydim(key, width, depth) and returns: self