<s> """<STR_LIT>""" <EOL> class LinearMixin ( object ) : <EOL> """<STR_LIT>""" <EOL> def transpose ( zlike , * inputs_1_to_n ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError ( '<STR_LIT>' ) <EOL> def grads_1_to_n ( inputs , gzlist ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError ( '<STR_LIT>' ) <EOL> def grad ( self , inputs , gzlist ) : <EOL> """<STR_LIT>""" <EOL> if len ( gzlist ) > <NUM_LIT:1> : <EOL> raise NotImplementedError ( ) <EOL> g_input0 = self . transpose ( gzlist [ <NUM_LIT:0> ] , * inputs [ <NUM_LIT:1> : ] ) <EOL> return [ g_input0 ] + self . grads_1_to_n ( inputs , gzlist ) </s>
