parameters: (self)
docstring: analyze default case
docstring_summary: analyze default case
docstring_tokens: analyze default case
function: def default_analyze(self):
          """analyze default case"""
          def _cal_default_space(op):
              space = self.prod(op.output.shape)
              for t in op.inputs:
                  size = self.prod(t.shape)
                  if size > space:
                      space = size
              return space
          space = max([_cal_default_space(op) for op in self.dom_op])
  
          # each sm least 4 wrap
          block = (space + (self.WRAP_SIZE * 4) - 1) // (self.WRAP_SIZE * 4)
          self.block_num = min(self.MAX_BLOCK, block)
          self.block_weight = self._cal_weight(self.ops) // self.block_num
function_tokens: def default_analyze ( self ) : def _cal_default_space ( op ) : space = self . prod ( op . output . shape ) for t in op . inputs : size = self . prod ( t . shape ) if size > space : space = size return space space = max ( [ _cal_default_space ( op ) for op in self . dom_op ] ) # each sm least 4 wrap block = ( space + ( self . WRAP_SIZE * 4 ) - 1 ) // ( self . WRAP_SIZE * 4 ) self . block_num = min ( self . MAX_BLOCK , block ) self . block_weight = self . _cal_weight ( self . ops ) // self . block_num