stereo.core.StPipeline.set_layer

StPipeline.set_layer(key, value=None)[source]

Set the layer value.

Parameters:
  • key (str) – the key of layer.

  • value (Union[ndarray, csr_matrix, DataFrame, None]) – the value of layer, if None, set the value of layer to the data.exp_matrix.