code: def shape_func(func, inputs, outputs, is_inputs):
      """Invoke the shape function of the passed function.
  
      Parameters
      ----------
      func : tvm.relay.Expr
          The primitive function from which to compute the shape function.
  
      inputs : tvm.relay.Tuple
          The tupled inputs.
  
      outputs : tvm.relay.Tuple
          The tupled outputs.
  
      is_inputs : List[bool]
          A boolean list indicating whether the shape function should expect
          shape or input at each position.
  
      Returns
      -------
      result : tvm.relay.Expr
          The shape function expression.
      """
      return _ffi_api.shape_func(func, inputs, outputs, is_inputs)
  
imports: from .None import _ffi_api
label_desc: Use image node_id 3 for calling a global function with example usage: shape_func(func, inputs, outputs, is_inputs) and returns: _ffi_api