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

org.bytedeco.tensorflowlite.FileCopyAllocation Maven / Gradle / Ivy

There is a newer version: 2.18.0-1.5.11
Show newest version
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE

package org.bytedeco.tensorflowlite;

import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.tensorflowlite.global.tensorflowlite.*;


@Namespace("tflite") @NoOffset @Properties(inherit = org.bytedeco.tensorflowlite.presets.tensorflowlite.class)
public class FileCopyAllocation extends Allocation {
    static { Loader.load(); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public FileCopyAllocation(Pointer p) { super(p); }

  // Loads the provided file into a heap memory region.
  public FileCopyAllocation(@Cast("const char*") BytePointer filename, ErrorReporter error_reporter) { super((Pointer)null); allocate(filename, error_reporter); }
  private native void allocate(@Cast("const char*") BytePointer filename, ErrorReporter error_reporter);
  public FileCopyAllocation(String filename, ErrorReporter error_reporter) { super((Pointer)null); allocate(filename, error_reporter); }
  private native void allocate(String filename, ErrorReporter error_reporter);
  public native @Const Pointer base();
  public native @Cast("size_t") long bytes();
  public native @Cast("bool") boolean valid();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy