def test_made(self): model = MADE(input_size=2, hidden_size=100, n_hidden=1, cond_label_size=None, activation='relu', input_order='sequential') self._train(model, 10)
def test_made_2_hidden_conditional(self): test_untrained_model( MADE(input_size=2, hidden_size=10, n_hidden=2, cond_label_size=self.cond_label_size, activation='relu', input_order='sequential'), self.cond_label_size)
def test_made_200_inputs_random_mask(self): test_untrained_model( MADE(input_size=200, hidden_size=10, n_hidden=2, cond_label_size=None, activation='relu', input_order='random'))
def test_made_1_hidden(self): test_untrained_model( MADE(input_size=2, hidden_size=10, n_hidden=1, cond_label_size=None, activation='relu', input_order='sequential'))
def test_made(self): test_layer(MADE(args.input_size, hidden_size=10, n_hidden=3), input_dims=(args.batch_size, args.input_size))