Uses of Interface
org.tensorflow.ndarray.buffer.layout.DataLayout
-
Packages that use DataLayout Package Description org.tensorflow.ndarray.buffer.layout org.tensorflow.ndarray.impl.buffer.adapter org.tensorflow.ndarray.impl.buffer.layout -
-
Uses of DataLayout in org.tensorflow.ndarray.buffer.layout
Subinterfaces of DataLayout in org.tensorflow.ndarray.buffer.layout Modifier and Type Interface Description interfaceBooleanDataLayout<S extends DataBuffer<?>>ADataLayoutthat converts data stored in a buffer to booleans.interfaceByteDataLayout<S extends DataBuffer<?>>ADataLayoutthat converts data stored in a buffer to bytes.interfaceDoubleDataLayout<S extends DataBuffer<?>>ADataLayoutthat converts data stored in a buffer to doubles.interfaceFloatDataLayout<S extends DataBuffer<?>>ADataLayoutthat converts data stored in a buffer to floats.interfaceIntDataLayout<S extends DataBuffer<?>>ADataLayoutthat converts data stored in a buffer to ints.interfaceLongDataLayout<S extends DataBuffer<?>>ADataLayoutthat converts data stored in a buffer to longs.interfaceShortDataLayout<S extends DataBuffer<?>>ADataLayoutthat converts data stored in a buffer to shorts.Methods in org.tensorflow.ndarray.buffer.layout that return DataLayout Modifier and Type Method Description static DataLayout<DataBuffer<byte[]>,String>DataLayouts. ofStrings(Charset charset)Creates a data layout for converting strings to/from byte sequences. -
Uses of DataLayout in org.tensorflow.ndarray.impl.buffer.adapter
Methods in org.tensorflow.ndarray.impl.buffer.adapter with parameters of type DataLayout Modifier and Type Method Description static <S extends DataBuffer<?>,T>
DataBuffer<T>DataBufferAdapterFactory. create(S buffer, DataLayout<S,T> layout)Creates an adapter that applies a data layout to the given buffer. -
Uses of DataLayout in org.tensorflow.ndarray.impl.buffer.layout
Classes in org.tensorflow.ndarray.impl.buffer.layout that implement DataLayout Modifier and Type Class Description classBfloat16LayoutData layout that converts 32-bit floats from/to 16-bit, truncating their mantissa to 7 bits but preserving the 8-bit exponent with the same bias.classBoolLayoutData layout that converts booleans from/to bytes.classFloat16LayoutData layout that converts 32-bit floats from/to 16-bit, accordingly to the IEEE-754 half-precision floating point specification.classStringLayoutData layout that converts a String to/from a sequence of bytes applying a given charset.
-