def test_binary_entropy(): cost = binary_entropy(X_sym) theano.function([X_sym], cost, mode="FAST_COMPILE")
def test_binary_entropy(): graph = OrderedDict() X_sym = add_datasets_to_graph([X], ["X"], graph) cost = binary_entropy(X_sym) theano.function([X_sym], cost, mode="FAST_COMPILE")