def __init__(self, op, slicing, prio, objectName="Unnamed LazyflowRequest" ): self._req = LazyflowRequest._req_on_demand(op, slicing, prio) self._slicing = slicing shape = op.output.meta.shape if shape is not None: slicing = make_bounded(slicing, shape) self._shape = slicing2shape(slicing) self._objectName = objectName
def __init__(self, op, slicing, prio, objectName="Unnamed LazyflowRequest"): shape = op.Output.meta.shape if shape is not None: slicing = make_bounded(slicing, shape) self._req = op.Output[slicing] self._slicing = slicing self._shape = slicing2shape(slicing) self._objectName = objectName