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:
2024-05-15 19:01:35 +01:00
parent e3690b0425
commit ae14a1d7c0
2 changed files with 9 additions and 0 deletions

View File

@@ -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__":