pystencils.codegen.config.CpuOptions.copy

pystencils.codegen.config.CpuOptions.copy#

CpuOptions.copy()#

Perform a semi-deep copy of this configuration object.

This will recursively copy any config subobjects (categories, i.e. subclasses of ConfigBase wrapped in the Category descriptor) nested in this configuration object. Any other fields will be copied by reference.