![JAR search and dependency download from the Maven repository](/logo.png)
org.bytedeco.pytorch.LPPool2dImplBase Maven / Gradle / Ivy
The newest version!
// Targeted by JavaCPP version 1.5.11: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
import org.bytedeco.pytorch.Allocator;
import org.bytedeco.pytorch.Function;
import org.bytedeco.pytorch.Module;
import org.bytedeco.javacpp.annotation.Cast;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.bytedeco.openblas.global.openblas.*;
import org.bytedeco.javacpp.chrono.*;
import static org.bytedeco.javacpp.global.chrono.*;
import static org.bytedeco.pytorch.global.torch.*;
@Name("torch::nn::LPPoolImpl<2,torch::nn::LPPool2dImpl>") @NoOffset @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
public class LPPool2dImplBase extends LPPool2dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public LPPool2dImplBase(Pointer p) { super(p); }
public LPPool2dImplBase(double norm_type, @ByVal @Cast("torch::ExpandingArray<2>*") LongPointer kernel_size) { super((Pointer)null); allocate(norm_type, kernel_size); }
private native void allocate(double norm_type, @ByVal @Cast("torch::ExpandingArray<2>*") LongPointer kernel_size);
public LPPool2dImplBase(@Const @ByRef LPPool2dOptions options_) { super((Pointer)null); allocate(options_); }
private native void allocate(@Const @ByRef LPPool2dOptions options_);
public native void reset();
/** Pretty prints the {@code LPPool{1,2}d} module into the given {@code stream}. */
public native void pretty_print(@Cast("std::ostream*") @ByRef Pointer stream);
public native @ByRef LPPool2dOptions options(); public native LPPool2dImplBase options(LPPool2dOptions setter);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy