Class TensorDim

java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.TensorDim

public final class TensorDim extends com.google.flatbuffers.Table
---------------------------------------------------------------------- Data structures for dense tensors Shape data for a single axis in a tensor
  • Constructor Details

    • TensorDim

      public TensorDim()
  • Method Details

    • ValidateVersion

      public static void ValidateVersion()
    • getRootAsTensorDim

      public static TensorDim getRootAsTensorDim(ByteBuffer _bb)
    • getRootAsTensorDim

      public static TensorDim getRootAsTensorDim(ByteBuffer _bb, TensorDim obj)
    • __init

      public void __init(int _i, ByteBuffer _bb)
    • __assign

      public TensorDim __assign(int _i, ByteBuffer _bb)
    • size

      public long size()
      Length of dimension
    • name

      public String name()
      Name of the dimension, optional
    • nameAsByteBuffer

      public ByteBuffer nameAsByteBuffer()
    • nameInByteBuffer

      public ByteBuffer nameInByteBuffer(ByteBuffer _bb)
    • createTensorDim

      public static int createTensorDim(com.google.flatbuffers.FlatBufferBuilder builder, long size, int nameOffset)
    • startTensorDim

      public static void startTensorDim(com.google.flatbuffers.FlatBufferBuilder builder)
    • addSize

      public static void addSize(com.google.flatbuffers.FlatBufferBuilder builder, long size)
    • addName

      public static void addName(com.google.flatbuffers.FlatBufferBuilder builder, int nameOffset)
    • endTensorDim

      public static int endTensorDim(com.google.flatbuffers.FlatBufferBuilder builder)