org.canova.image.loader

Class ImageByteBuffer

  • java.lang.Object
    • org.nd4j.linalg.api.buffer.BaseDataBuffer
      • org.canova.image.loader.ImageByteBuffer
  • All Implemented Interfaces:
    Serializable, org.nd4j.linalg.api.buffer.DataBuffer


    public class ImageByteBufferextends org.nd4j.linalg.api.buffer.BaseDataBuffer
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.nd4j.linalg.api.buffer.DataBuffer

        org.nd4j.linalg.api.buffer.DataBuffer.AllocationMode, org.nd4j.linalg.api.buffer.DataBuffer.Type
    • Field Summary

      • Fields inherited from class org.nd4j.linalg.api.buffer.BaseDataBuffer

        allocationMode, dataBuffer, dirty, doubleData, elementSize, floatData, intData, isPersist, length, ref, referencing
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      org.nd4j.linalg.api.buffer.DataBuffercreate(io.netty.buffer.ByteBuf byteBuf, int i) 
      org.nd4j.linalg.api.buffer.DataBuffercreate(double[] doubles) 
      org.nd4j.linalg.api.buffer.DataBuffercreate(float[] floats) 
      protected org.nd4j.linalg.api.buffer.DataBuffercreate(int i) 
      org.nd4j.linalg.api.buffer.DataBuffercreate(int[] ints) 
      org.nd4j.linalg.api.buffer.DataBuffer.TypedataType() 
      doublegetDouble(int i) 
      intgetElementSize() 
      floatgetFloat(int i) 
      intgetInt(int i) 
      NumbergetNumber(int i) 
      • Methods inherited from class org.nd4j.linalg.api.buffer.BaseDataBuffer

        addReferencing, allocationMode, array, asBytes, asDouble, asFloat, asInt, asNetty, asNio, asNioDouble, asNioFloat, assign, assign, assign, assign, assign, assign, assign, assign, assign, assign, copyAtStride, destroy, dirty, doReadObject, dup, ensureWritable, equals, flush, getComplex, getComplexDouble, getComplexFloat, getDoublesAt, getDoublesAt, getFloatsAt, getFloatsAt, hashCode, isPersist, length, persist, put, put, put, put, read, read, references, removeReferencing, setData, setData, setData, toString, unPersist, write, write
    • Constructor Detail

      • ImageByteBuffer

        public ImageByteBuffer(byte[] data,                       int length)
      • ImageByteBuffer

        public ImageByteBuffer(int i)
      • ImageByteBuffer

        public ImageByteBuffer(double[] doubles)
      • ImageByteBuffer

        public ImageByteBuffer(float[] floats)
      • ImageByteBuffer

        public ImageByteBuffer(int[] ints)
      • ImageByteBuffer

        public ImageByteBuffer(io.netty.buffer.ByteBuf byteBuf,                       int i)
    • Method Detail

      • create

        protected org.nd4j.linalg.api.buffer.DataBuffer create(int i)
        Specified by:
        create in class org.nd4j.linalg.api.buffer.BaseDataBuffer
      • create

        public org.nd4j.linalg.api.buffer.DataBuffer create(double[] doubles)
        Specified by:
        create in class org.nd4j.linalg.api.buffer.BaseDataBuffer
      • create

        public org.nd4j.linalg.api.buffer.DataBuffer create(float[] floats)
        Specified by:
        create in class org.nd4j.linalg.api.buffer.BaseDataBuffer
      • create

        public org.nd4j.linalg.api.buffer.DataBuffer create(int[] ints)
        Specified by:
        create in class org.nd4j.linalg.api.buffer.BaseDataBuffer
      • create

        public org.nd4j.linalg.api.buffer.DataBuffer create(io.netty.buffer.ByteBuf byteBuf,                                                    int i)
        Specified by:
        create in class org.nd4j.linalg.api.buffer.BaseDataBuffer
      • getElementSize

        public int getElementSize()
      • dataType

        public org.nd4j.linalg.api.buffer.DataBuffer.Type dataType()
      • getInt

        public int getInt(int i)
        Specified by:
        getInt in interface org.nd4j.linalg.api.buffer.DataBuffer
        Overrides:
        getInt in class org.nd4j.linalg.api.buffer.BaseDataBuffer
      • getFloat

        public float getFloat(int i)
        Specified by:
        getFloat in interface org.nd4j.linalg.api.buffer.DataBuffer
        Overrides:
        getFloat in class org.nd4j.linalg.api.buffer.BaseDataBuffer
      • getNumber

        public Number getNumber(int i)
        Specified by:
        getNumber in interface org.nd4j.linalg.api.buffer.DataBuffer
        Overrides:
        getNumber in class org.nd4j.linalg.api.buffer.BaseDataBuffer
      • getDouble

        public double getDouble(int i)
        Specified by:
        getDouble in interface org.nd4j.linalg.api.buffer.DataBuffer
        Overrides:
        getDouble in class org.nd4j.linalg.api.buffer.BaseDataBuffer

Copyright © 2015. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14