def METHOD_NAME(blob):
    shape = predictor_export_meta.shapes.get(blob)
    if shape is None:
        if blob not in ws.blobs:
            raise Exception(
                "{} not in workspace but needed for shape: {}".format(
                    blob, ws.blobs
                )
            )
        shape = ws.blobs[blob].fetch().shape
    # Explicitly null-out the scope so users (e.g. PredictorGPU)
    # can control (at a Net-global level) the DeviceOption of
    # these filling operators.
    with scope.EmptyDeviceScope():
        net.ConstantFill([], blob, shape=shape, value=0.0)