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

org.bytedeco.tensorflowlite.TfLiteIntArray 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.*;


// Fixed size list of integers. Used for dimensions and inputs/outputs tensor
// indices
@Properties(inherit = org.bytedeco.tensorflowlite.presets.tensorflowlite.class)
public class TfLiteIntArray extends Pointer {
    static { Loader.load(); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public TfLiteIntArray(Pointer p) { super(p); }

  public native int size(); public native TfLiteIntArray size(int setter);

// #if defined(_MSC_VER)
  // Context for why this is needed is in http://b/189926408#comment21
  public native int data(int i); public native TfLiteIntArray data(int i, int setter);
  @MemberGetter public native IntPointer data();
// #elif (!defined(__clang__) && defined(__GNUC__) && __GNUC__ == 6 &&
//        __GNUC_MINOR__ >= 1) ||
//     defined(HEXAGON) ||
//     (defined(__clang__) && __clang_major__ == 7 && __clang_minor__ == 1)
  // gcc 6.1+ have a bug where flexible members aren't properly handled
  // https://github.com/google/re2/commit/b94b7cd42e9f02673cd748c1ac1d16db4052514c
// #else
// #endif
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy