docstr: Set weights for this layer
  
  :param weights: a list of numpy arrays which represent weight and bias
docstr_tok: ["Set","weights","for","this","layer",":","param","weights",":","a","list","of","numpy","arrays","which","represent","weight","and","bias"]
code: def set_weights(self, weights):
      """
      Set weights for this layer
  
      :param weights: a list of numpy arrays which represent weight and bias
      """
      current_shapes = self.get_weights_shape()
      invalidInputError(
          len(current_shapes) == len(weights),
          "The parameters number should be the same",
      )
      for w, cws in zip(weights, current_shapes):
          invalidInputError(
              w.shape == cws,
              "The shape of parameter should be the same,"
              " but got %s, %s" % (w.shape, cws),
          )
  
      tensors = [
          JTensor.from_ndarray(param, self.bigdl_type)
          for param in to_list(weights)
      ]
      callZooFunc(self.bigdl_type, "zooSetWeights", self.value, tensors)
  
imports: from bigdl.dllib.nn.layer import Layer
  from bigdl.dllib.utils.common import *
  from bigdl.dllib.utils.file_utils import callZooFunc
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 3 for calling the ZooKerasLayer obj's underlying member method code with example usage: obj.set_weights(weights) without return types