diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/IdentityImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/IdentityImpl.java index 80c8e6de2cd..6a3d78ff031 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/IdentityImpl.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/IdentityImpl.java @@ -32,7 +32,7 @@ public class IdentityImpl extends IdentityImplCloneable { public IdentityImpl(long size) { super((Pointer)null); allocateArray(size); } /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ public IdentityImpl(Pointer p) { super(p); } - private native void allocate(); + @SharedPtr private native void allocate(); private native void allocateArray(long size); @Override public IdentityImpl position(long position) { return (IdentityImpl)super.position(position); diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/LogSigmoidImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/LogSigmoidImpl.java index b9ac75d9bae..9ea1c353fbc 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/LogSigmoidImpl.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/LogSigmoidImpl.java @@ -32,7 +32,7 @@ public class LogSigmoidImpl extends LogSigmoidImplCloneable { public LogSigmoidImpl(long size) { super((Pointer)null); allocateArray(size); } /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ public LogSigmoidImpl(Pointer p) { super(p); } - private native void allocate(); + @SharedPtr private native void allocate(); private native void allocateArray(long size); @Override public LogSigmoidImpl position(long position) { return (LogSigmoidImpl)super.position(position); diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/MishImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/MishImpl.java index 005e5214978..edc0153ab9e 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/MishImpl.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/MishImpl.java @@ -32,7 +32,7 @@ public class MishImpl extends MishImplCloneable { public MishImpl(long size) { super((Pointer)null); allocateArray(size); } /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ public MishImpl(Pointer p) { super(p); } - private native void allocate(); + @SharedPtr private native void allocate(); private native void allocateArray(long size); @Override public MishImpl position(long position) { return (MishImpl)super.position(position); diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Resolver.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Resolver.java index dbccdd2a605..8a3aa68ef79 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/Resolver.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Resolver.java @@ -41,7 +41,7 @@ public class Resolver extends Pointer { public Resolver(long size) { super((Pointer)null); allocateArray(size); } /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ public Resolver(Pointer p) { super(p); } - private native void allocate(); + @SharedPtr private native void allocate(); private native void allocateArray(long size); @Override public Resolver position(long position) { return (Resolver)super.position(position); diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/SiLUImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/SiLUImpl.java index 1e2941da8e0..733ad00a4a7 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/SiLUImpl.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/SiLUImpl.java @@ -32,7 +32,7 @@ public class SiLUImpl extends SiLUImplCloneable { public SiLUImpl(long size) { super((Pointer)null); allocateArray(size); } /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ public SiLUImpl(Pointer p) { super(p); } - private native void allocate(); + @SharedPtr private native void allocate(); private native void allocateArray(long size); @Override public SiLUImpl position(long position) { return (SiLUImpl)super.position(position); diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/SigmoidImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/SigmoidImpl.java index 09256d58399..98a81b30f70 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/SigmoidImpl.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/SigmoidImpl.java @@ -32,7 +32,7 @@ public class SigmoidImpl extends SigmoidImplCloneable { public SigmoidImpl(long size) { super((Pointer)null); allocateArray(size); } /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ public SigmoidImpl(Pointer p) { super(p); } - private native void allocate(); + @SharedPtr private native void allocate(); private native void allocateArray(long size); @Override public SigmoidImpl position(long position) { return (SigmoidImpl)super.position(position); diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Softmax2dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Softmax2dImpl.java index 51cfa208d0c..6d4e230841f 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/Softmax2dImpl.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Softmax2dImpl.java @@ -32,7 +32,7 @@ public class Softmax2dImpl extends Softmax2dImplCloneable { public Softmax2dImpl(long size) { super((Pointer)null); allocateArray(size); } /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ public Softmax2dImpl(Pointer p) { super(p); } - private native void allocate(); + @SharedPtr private native void allocate(); private native void allocateArray(long size); @Override public Softmax2dImpl position(long position) { return (Softmax2dImpl)super.position(position); diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/SoftsignImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/SoftsignImpl.java index e268e01f2f9..6d4aa08ddb2 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/SoftsignImpl.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/SoftsignImpl.java @@ -32,7 +32,7 @@ public class SoftsignImpl extends SoftsignImplCloneable { public SoftsignImpl(long size) { super((Pointer)null); allocateArray(size); } /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ public SoftsignImpl(Pointer p) { super(p); } - private native void allocate(); + @SharedPtr private native void allocate(); private native void allocateArray(long size); @Override public SoftsignImpl position(long position) { return (SoftsignImpl)super.position(position); diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/TanhImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/TanhImpl.java index 00690e3c568..432f41004f9 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/TanhImpl.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/TanhImpl.java @@ -32,7 +32,7 @@ public class TanhImpl extends TanhImplCloneable { public TanhImpl(long size) { super((Pointer)null); allocateArray(size); } /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ public TanhImpl(Pointer p) { super(p); } - private native void allocate(); + @SharedPtr private native void allocate(); private native void allocateArray(long size); @Override public TanhImpl position(long position) { return (TanhImpl)super.position(position); diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/TanhshrinkImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/TanhshrinkImpl.java index d9b3ecb991a..d369a879095 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/TanhshrinkImpl.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/TanhshrinkImpl.java @@ -32,7 +32,7 @@ public class TanhshrinkImpl extends TanhshrinkImplCloneable { public TanhshrinkImpl(long size) { super((Pointer)null); allocateArray(size); } /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ public TanhshrinkImpl(Pointer p) { super(p); } - private native void allocate(); + @SharedPtr private native void allocate(); private native void allocateArray(long size); @Override public TanhshrinkImpl position(long position) { return (TanhshrinkImpl)super.position(position);