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

org.bytedeco.pytorch.BooleanElementReference 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("c10::impl::ListElementReference") @NoOffset @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
public class BooleanElementReference extends Pointer {
    static { Loader.load(); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public BooleanElementReference(Pointer p) { super(p); }

  public native @Name("operator std::conditional_t::type>,const bool&,bool>") boolean getBoolean();

  

  

  // assigning another ref to this assigns the underlying value
  

  public native @Const @ByRef IValue get();

  private static native @Namespace @NoException(true) void swap(@ByRef(true) BooleanElementReference lhs, @ByRef(true) BooleanElementReference rhs);
  public void swap(BooleanElementReference rhs) { swap(this, rhs); }

  
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy