mirror of
https://github.com/Cian-H/symbolic_nn_tests.git
synced 2025-12-22 22:22:01 +00:00
Added a garbage semantic function
Added a semantic function where the injected "knowledge" is just random garbage. This function was written to isolate the "knowledge" component of the other semantic functions, basically to ensure it's the matrices and not the rest of the process that is making the difference in training.
This commit is contained in:
@@ -31,6 +31,7 @@ def main():
|
||||
run_test(semantic_loss.hasline_cross_entropy, "hasline_cross_entropy")
|
||||
run_test(semantic_loss.hasloop_cross_entropy, "hasloop_cross_entropy")
|
||||
run_test(semantic_loss.multisemantic_cross_entropy, "multisemantic_cross_entropy")
|
||||
run_test(semantic_loss.garbage_cross_entropy, "garbage_cross_entropy")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user