def __init__(self, sc=None, layer=None, pickle_registry=None, path=None, bigdl_type="<STR_LIT:float>"):
if layer is not None:<EOL><INDENT>self.bigdl_type = layer.bigdl_type<EOL><DEDENT>else:<EOL><INDENT>self.bigdl_type = bigdl_type<EOL><DEDENT>super(ModelBroadcast, self).__init__(sc, layer, pickle_registry, path)<EOL>
Should not be called directly by users -- use L{SparkContext.broadcast()}
instead.