code: def compute(data, method):
      # configure a covariance object
      algo = d4p.covariance(method=method, fptype="float")
      return algo.compute(data)
  
imports: import os
  import numpy
  import daal4py
  from daal4py.oneapi import sycl_buffer
label_desc: Use image node_id 1 for calling a global function with example usage: compute(data, method) and returns: algo