#NEWLINE# def __init__( self , input_dim , alpha = 1.0 , beta = 1.0 , Z = None , name = 'SLVMPrior' , **kw ) : #NEWLINE# #INDENT# super ( SLVMPrior , self ) . __init__ ( name = name , ** kw ) #NEWLINE# self . input_dim = input_dim #NEWLINE# self . variance = 1.0 #NEWLINE# self . alpha = alpha #NEWLINE# self . beta = beta #NEWLINE# self . Z = Z #NEWLINE# if ( Z is not None ) : #NEWLINE# #INDENT# assert np . all ( ( np . unique ( Z ) == np . array ( [ 0 , 1 ] ) ) )