first commit

This commit is contained in:
2026-05-25 21:33:48 -03:00
commit ad9176d909
42 changed files with 5788 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
package org.neoflock.NeoNucleus;
import java.util.function.Function;
public final class nn_Architecture extends PointerBackedClass implements ManuallyAllocated {
public final String name;
public final Function<String, Integer> handler;
public nn_Architecture(String name, Function<String, Integer> handler) { // string is a placeholder; please fix
this.name = name;
this.handler = handler;
}
private int handleNative() { // i aint gonna be trying to call that Function from jni man
return handler.apply("placeholder");
}
public native boolean allocate();
public native boolean free();
}