All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bytedeco.pytorch.AdaptiveAvgPool3d Maven / Gradle / Ivy

// Targeted by JavaCPP version 1.5.9: 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 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 static org.bytedeco.pytorch.global.torch.*;


/** A {@code ModuleHolder} subclass for {@code AdaptiveAvgPool3dImpl}.
 *  See the documentation for {@code AdaptiveAvgPool3dImpl} class to learn what
 *  methods it provides, and examples of how to use {@code AdaptiveAvgPool3d} with
 *  {@code torch::nn::AdaptiveAvgPool3dOptions}. See the documentation for
 *  {@code ModuleHolder} to learn about PyTorch's module storage semantics. */
@Namespace("torch::nn") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
public class AdaptiveAvgPool3d extends AdaptiveAvgPool3dImplModuleHolder {
    static { Loader.load(); }

     public AdaptiveAvgPool3d(@ByVal @Cast("std::nullptr_t*") PointerPointer arg0) { super((Pointer)null); allocate(arg0); }
    private native void allocate(@ByVal @Cast("std::nullptr_t*") PointerPointer arg0); public AdaptiveAvgPool3d(@SharedPtr @Cast({"", "std::shared_ptr"}) AdaptiveAvgPool3dImpl module) { super((Pointer)null); allocate(module); }
    private native void allocate(@SharedPtr @Cast({"", "std::shared_ptr"}) AdaptiveAvgPool3dImpl module);
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public AdaptiveAvgPool3d(Pointer p) { super(p); }

  }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy