Class BNNSNDArrayDescriptor


  • public final class BNNSNDArrayDescriptor
    extends org.moe.natj.c.StructObject
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable org.moe.natj.general.ptr.VoidPtr data()  
      float data_bias()  
      float data_scale()
      0.0f value will be set to 1.0f during computation
      int data_type()  
      int flags()  
      int layout()  
      void setData​(@Nullable org.moe.natj.general.ptr.VoidPtr value)  
      void setData_bias​(float value)  
      void setData_scale​(float value)
      0.0f value will be set to 1.0f during computation
      void setData_type​(int value)  
      void setFlags​(int value)  
      void setLayout​(int value)  
      void setSize​(long value, int field_idx)  
      void setStride​(long value, int field_idx)  
      void setTable_data​(@Nullable org.moe.natj.general.ptr.VoidPtr value)  
      void setTable_data_type​(int value)  
      long size​(int field_idx)  
      long stride​(int field_idx)  
      @Nullable org.moe.natj.general.ptr.VoidPtr table_data()  
      int table_data_type()  
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BNNSNDArrayDescriptor

        public BNNSNDArrayDescriptor()
      • BNNSNDArrayDescriptor

        protected BNNSNDArrayDescriptor​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • flags

        public int flags()
      • setFlags

        public void setFlags​(int value)
      • layout

        public int layout()
      • setLayout

        public void setLayout​(int value)
      • size

        public long size​(int field_idx)
      • setSize

        public void setSize​(long value,
                            int field_idx)
      • stride

        public long stride​(int field_idx)
      • setStride

        public void setStride​(long value,
                              int field_idx)
      • data

        @Nullable
        public @Nullable org.moe.natj.general.ptr.VoidPtr data()
      • setData

        public void setData​(@Nullable
                            @Nullable org.moe.natj.general.ptr.VoidPtr value)
      • data_type

        public int data_type()
      • setData_type

        public void setData_type​(int value)
      • table_data

        @Nullable
        public @Nullable org.moe.natj.general.ptr.VoidPtr table_data()
      • setTable_data

        public void setTable_data​(@Nullable
                                  @Nullable org.moe.natj.general.ptr.VoidPtr value)
      • table_data_type

        public int table_data_type()
      • setTable_data_type

        public void setTable_data_type​(int value)
      • data_scale

        public float data_scale()
        0.0f value will be set to 1.0f during computation
      • setData_scale

        public void setData_scale​(float value)
        0.0f value will be set to 1.0f during computation
      • data_bias

        public float data_bias()
      • setData_bias

        public void setData_bias​(float value)