Uses of Interface
org.tensorflow.ndarray.NdArray
-
-
Uses of NdArray in org.tensorflow.ndarray
Classes in org.tensorflow.ndarray with type parameters of type NdArray Modifier and Type Interface Description interfaceNdArraySequence<T extends NdArray<?>>A sequence of elements of an N-dimensional array.interfaceSparseNdArray<T,U extends NdArray<T>>Interface for Sparse ArraysSubinterfaces of NdArray in org.tensorflow.ndarray Modifier and Type Interface Description interfaceBooleanNdArrayAnNdArrayof booleans.interfaceByteNdArrayAnNdArrayof bytes.interfaceDoubleNdArrayAnNdArrayof doubles.interfaceFloatNdArrayAnNdArrayof floats.interfaceIntNdArrayAnNdArrayof integers.interfaceLongNdArrayAnNdArrayof longs.interfaceShortNdArrayAnNdArrayof shorts.interfaceSparseNdArray<T,U extends NdArray<T>>Interface for Sparse ArraysMethods in org.tensorflow.ndarray that return NdArray Modifier and Type Method Description NdArray<T>NdArray. copyTo(NdArray<T> dst)Copy the content of this array to the destination array.NdArray<T>NdArray. get(long... coordinates)Returns the N-dimensional element of this array at the given coordinates.static <T> NdArray<T>StdArrays. ndCopyOf(T[] array)Copy an array of objects in a newNdArraystatic <T> NdArray<T>StdArrays. ndCopyOf(T[][] array)Copy a 2-dimensional array of objects in a newNdArraystatic <T> NdArray<T>StdArrays. ndCopyOf(T[][][] array)Copy a 3-dimensional array of objects in a newNdArraystatic <T> NdArray<T>StdArrays. ndCopyOf(T[][][][] array)Copy a 4-dimensional array of objects in a newNdArraystatic <T> NdArray<T>StdArrays. ndCopyOf(T[][][][][] array)Copy a 5-dimensional array of objects in a newNdArraystatic <T> NdArray<T>StdArrays. ndCopyOf(T[][][][][][] array)Copy a 6-dimensional array of objects in a newNdArraystatic <T> NdArray<T>NdArrays. ofObjects(Class<T> clazz, Shape shape)Creates an N-dimensional array of the given shape.NdArray<T>NdArray. read(DataBuffer<T> dst)Read the content of this N-dimensional array into the destination buffer.static <T> NdArray<T>NdArrays. scalarOfObject(T value)Creates scalar (rank 0) initialized with the given value.NdArray<T>NdArray. set(NdArray<T> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.NdArray<T>NdArray. setObject(T value, long... coordinates)Assigns the value of the scalar found at the given coordinates.NdArray<T>NdArray. slice(Index... indices)Creates a multi-dimensional view (or slice) of this array by mapping one or more dimensions to the given index selectors.static <T> NdArray<T>NdArrays. sparseOfObjects(Class<T> type, LongNdArray indices, NdArray<T> values, Shape shape)Creates a Sparse array of values with a null default valuestatic <T> NdArray<T>NdArrays. sparseOfObjects(Class<T> type, LongNdArray indices, NdArray<T> values, T defaultValue, Shape shape)Creates a Sparse array of valuesstatic <T> NdArray<T>NdArrays. vectorOfObjects(T... values)Creates a vector (rank 1) initialized with the given values.static <T> NdArray<T>NdArrays. wrap(Shape shape, DataBuffer<T> buffer)Wraps a buffer in an N-dimensional array of a given shape.NdArray<T>NdArray. write(DataBuffer<T> src)Write the content of this N-dimensional array from the source buffer.Methods in org.tensorflow.ndarray that return types with arguments of type NdArray Modifier and Type Method Description NdArraySequence<? extends NdArray<T>>NdArray. elements(int dimensionIdx)Returns a sequence of all elements at a given dimension.NdArraySequence<? extends NdArray<T>>NdArray. scalars()Returns a sequence of all scalars in this array.Methods in org.tensorflow.ndarray with parameters of type NdArray Modifier and Type Method Description static <T> T[]StdArrays. array1dCopyOf(NdArray<T> ndArray, Class<T> objectType)Copy aNdArray<T>in a new 1-dimension standard array of objectsstatic <T> T[][]StdArrays. array2dCopyOf(NdArray<T> ndArray, Class<T> objectType)Copy aNdArray<T>in a new 2-dimension standard array of objectsstatic <T> T[][][]StdArrays. array3dCopyOf(NdArray<T> ndArray, Class<T> objectType)Copy aNdArray<T>in a new 3-dimension standard array of objectsstatic <T> T[][][][]StdArrays. array4dCopyOf(NdArray<T> ndArray, Class<T> objectType)Copy aNdArray<T>in a new 4-dimension standard array of objectsstatic <T> T[][][][][]StdArrays. array5dCopyOf(NdArray<T> ndArray, Class<T> objectType)Copy aNdArray<T>in a new 5-dimension standard array of objectsstatic <T> T[][][][][][]StdArrays. array6dCopyOf(NdArray<T> ndArray, Class<T> objectType)Copy aNdArray<T>in a new 6-dimension standard array of objectsstatic <T> voidStdArrays. copyFrom(NdArray<T> src, T[] dst)Copy aNdArrayto an array of objectsstatic <T> voidStdArrays. copyFrom(NdArray<T> src, T[][] dst)Copy aNdArrayto a 2-dimensional array of objectsstatic <T> voidStdArrays. copyFrom(NdArray<T> src, T[][][] dst)Copy aNdArrayto a 3-dimensional array of objectsstatic <T> voidStdArrays. copyFrom(NdArray<T> src, T[][][][] dst)Copy aNdArrayto a 4-dimensional array of objectsstatic <T> voidStdArrays. copyFrom(NdArray<T> src, T[][][][][] dst)Copy aNdArrayto a 5-dimensional array of objectsstatic <T> voidStdArrays. copyFrom(NdArray<T> src, T[][][][][][] dst)Copy aNdArrayto a 6-dimensional array of objectsBooleanNdArrayBooleanNdArray. copyTo(NdArray<Boolean> dst)ByteNdArrayByteNdArray. copyTo(NdArray<Byte> dst)DoubleNdArrayDoubleNdArray. copyTo(NdArray<Double> dst)FloatNdArrayFloatNdArray. copyTo(NdArray<Float> dst)IntNdArrayIntNdArray. copyTo(NdArray<Integer> dst)LongNdArrayLongNdArray. copyTo(NdArray<Long> dst)NdArray<T>NdArray. copyTo(NdArray<T> dst)Copy the content of this array to the destination array.ShortNdArrayShortNdArray. copyTo(NdArray<Short> dst)static <T> voidStdArrays. copyTo(T[][][][][][] src, NdArray<T> dst)Copy a 6-dimensional array of objects into thedstNdArraystatic <T> voidStdArrays. copyTo(T[][][][][] src, NdArray<T> dst)Copy a 5-dimensional array of objects into thedstNdArraystatic <T> voidStdArrays. copyTo(T[][][][] src, NdArray<T> dst)Copy a 4-dimensional array of objects into thedstNdArraystatic <T> voidStdArrays. copyTo(T[][][] src, NdArray<T> dst)Copy a 3-dimensional array of objects into thedstNdArraystatic <T> voidStdArrays. copyTo(T[][] src, NdArray<T> dst)Copy a 2-dimensional array of objects into thedstNdArraystatic <T> voidStdArrays. copyTo(T[] src, NdArray<T> dst)Copy an array of objects into thedstNdArrayBooleanNdArrayBooleanNdArray. set(NdArray<Boolean> src, long... coordinates)ByteNdArrayByteNdArray. set(NdArray<Byte> src, long... coordinates)DoubleNdArrayDoubleNdArray. set(NdArray<Double> src, long... coordinates)FloatNdArrayFloatNdArray. set(NdArray<Float> src, long... coordinates)IntNdArrayIntNdArray. set(NdArray<Integer> src, long... coordinates)LongNdArrayLongNdArray. set(NdArray<Long> src, long... coordinates)NdArray<T>NdArray. set(NdArray<T> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.ShortNdArrayShortNdArray. set(NdArray<Short> src, long... coordinates)static <T> NdArray<T>NdArrays. sparseOfObjects(Class<T> type, LongNdArray indices, NdArray<T> values, Shape shape)Creates a Sparse array of values with a null default valuestatic <T> NdArray<T>NdArrays. sparseOfObjects(Class<T> type, LongNdArray indices, NdArray<T> values, T defaultValue, Shape shape)Creates a Sparse array of values -
Uses of NdArray in org.tensorflow.ndarray.impl
Classes in org.tensorflow.ndarray.impl with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw NdArray Modifier and Type Class Description classorg.tensorflow.ndarray.impl.AbstractNdArray<T,U extends NdArray<T>> -
Uses of NdArray in org.tensorflow.ndarray.impl.dense
Classes in org.tensorflow.ndarray.impl.dense with type parameters of type NdArray Modifier and Type Class Description classAbstractDenseNdArray<T,U extends NdArray<T>>Classes in org.tensorflow.ndarray.impl.dense that implement NdArray Modifier and Type Class Description classAbstractDenseNdArray<T,U extends NdArray<T>>classBooleanDenseNdArrayclassByteDenseNdArrayclassDenseNdArray<T>classDoubleDenseNdArrayclassFloatDenseNdArrayclassIntDenseNdArrayclassLongDenseNdArrayclassShortDenseNdArrayMethods in org.tensorflow.ndarray.impl.dense that return NdArray Modifier and Type Method Description NdArray<T>DenseNdArray. copyTo(NdArray<T> dst)static <T> NdArray<T>DenseNdArray. wrap(DataBuffer<T> buffer, Shape shape)Methods in org.tensorflow.ndarray.impl.dense with parameters of type NdArray Modifier and Type Method Description BooleanNdArrayBooleanDenseNdArray. copyTo(NdArray<Boolean> dst)ByteNdArrayByteDenseNdArray. copyTo(NdArray<Byte> dst)NdArray<T>DenseNdArray. copyTo(NdArray<T> dst)DoubleNdArrayDoubleDenseNdArray. copyTo(NdArray<Double> dst)FloatNdArrayFloatDenseNdArray. copyTo(NdArray<Float> dst)IntNdArrayIntDenseNdArray. copyTo(NdArray<Integer> dst)LongNdArrayLongDenseNdArray. copyTo(NdArray<Long> dst)ShortNdArrayShortDenseNdArray. copyTo(NdArray<Short> dst)UAbstractDenseNdArray. set(NdArray<T> src, long... coordinates)protected voidAbstractDenseNdArray. slowCopyTo(NdArray<T> array) -
Uses of NdArray in org.tensorflow.ndarray.impl.sequence
Classes in org.tensorflow.ndarray.impl.sequence with type parameters of type NdArray Modifier and Type Class Description classFastElementSequence<T,U extends NdArray<T>>A sequence recycling the sameNdArrayinstance when iterating its elementsclassSingleElementSequence<T,U extends NdArray<T>>A sequence of one single elementclassSlicingElementSequence<T,U extends NdArray<T>>A sequence creating a newNdArrayinstance (slice) for each element of an iteration -
Uses of NdArray in org.tensorflow.ndarray.impl.sparse
Classes in org.tensorflow.ndarray.impl.sparse with type parameters of type NdArray Modifier and Type Class Description classAbstractSparseNdArray<T,U extends NdArray<T>>Abstract base class for sparse array.classSparseNdArray<T,U extends NdArray<T>>sparse array for the any data typeClasses in org.tensorflow.ndarray.impl.sparse that implement NdArray Modifier and Type Class Description classAbstractSparseNdArray<T,U extends NdArray<T>>Abstract base class for sparse array.classBooleanSparseNdArraysparse array for the boolean data typeclassByteSparseNdArraysparse array for the byte data typeclassDoubleSparseNdArrayA sparse array for the double data typeclassFloatSparseNdArraysparse array for the float data typeclassIntSparseNdArraysparse array for the int data typeclassLongSparseNdArraysparse array for the long data typeclassShortSparseNdArraysparse array for the short data typeclassSparseNdArray<T,U extends NdArray<T>>sparse array for the any data typeMethods in org.tensorflow.ndarray.impl.sparse with type parameters of type NdArray Modifier and Type Method Description static <T,U extends NdArray<T>>
SparseNdArray<T,U>SparseNdArray. create(Class<T> type, DataBuffer<T> dataBuffer, DimensionalSpace dimensions)Creates a new SparseNdArray from a data bufferstatic <T,U extends NdArray<T>>
SparseNdArray<T,U>SparseNdArray. create(Class<T> type, DataBuffer<T> buffer, Shape shape)Creates a new empty SparseNdArray from a float data bufferstatic <T,U extends NdArray<T>>
SparseNdArray<T,U>SparseNdArray. create(Class<T> type, DataBuffer<T> dataBuffer, T defaultValue, DimensionalSpace dimensions)Creates a new SparseNdArray from a data bufferstatic <T,U extends NdArray<T>>
SparseNdArray<T,U>SparseNdArray. create(Class<T> type, DataBuffer<T> buffer, T defaultValue, Shape shape)Creates a new empty SparseNdArray from a float data bufferstatic <T,U extends NdArray<T>>
SparseNdArray<T,U>SparseNdArray. create(Class<T> type, DimensionalSpace dimensions)Creates a new empty SparseNdArray from a data bufferstatic <T,U extends NdArray<T>>
SparseNdArray<T,U>SparseNdArray. create(Class<T> type, LongNdArray indices, U values, DimensionalSpace dimensions)Creates a new SparseNdArraystatic <T,U extends NdArray<T>>
SparseNdArray<T,U>SparseNdArray. create(Class<T> type, LongNdArray indices, U values, T defaultValue, DimensionalSpace dimensions)Creates a new SparseNdArraystatic <T,U extends NdArray<T>>
SparseNdArray<T,U>SparseNdArray. create(Class<T> type, T defaultValue, DimensionalSpace dimensions)Creates a new empty SparseNdArray from a data bufferstatic <T,U extends NdArray<T>>
SparseNdArray<T,U>SparseNdArray. create(Class<T> type, U src)Creates a new SparseNdArray from a NdArraystatic <T,U extends NdArray<T>>
SparseNdArray<T,U>SparseNdArray. create(Class<T> type, U src, T defaultValue)Creates a new SparseNdArray from a NdArrayMethods in org.tensorflow.ndarray.impl.sparse that return NdArray Modifier and Type Method Description NdArray<T>AbstractSparseNdArray. copyTo(NdArray<T> dst)Copy the content of this array to the destination array.NdArray<T>SparseNdArray. fromDense(NdArray<T> src)Populates this sparse array from a dense arrayNdArray<T>AbstractSparseNdArray. get(long... coordinates)Returns the N-dimensional element of this array at the given coordinates.NdArray<T>SparseNdArray. read(DataBuffer<T> dst)Read the content of this N-dimensional array into the destination buffer.NdArray<T>AbstractSparseNdArray. set(NdArray<T> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.NdArray<T>AbstractSparseNdArray. setObject(T value, long... coords)Assigns the value of the scalar found at the given coordinates.NdArray<T>AbstractSparseNdArray. slice(Index... indices)Creates a multi-dimensional view (or slice) of this array by mapping one or more dimensions to the given index selectors.NdArray<T>SparseNdArray. write(DataBuffer<T> src)Write the content of this N-dimensional array from the source buffer.Methods in org.tensorflow.ndarray.impl.sparse with parameters of type NdArray Modifier and Type Method Description NdArray<T>AbstractSparseNdArray. copyTo(NdArray<T> dst)Copy the content of this array to the destination array.BooleanNdArrayBooleanSparseNdArray. copyTo(NdArray<Boolean> dst)Copy the content of this array to the destination array.ByteNdArrayByteSparseNdArray. copyTo(NdArray<Byte> dst)Copy the content of this array to the destination array.DoubleNdArrayDoubleSparseNdArray. copyTo(NdArray<Double> dst)Copy the content of this array to the destination array.FloatNdArrayFloatSparseNdArray. copyTo(NdArray<Float> dst)Copy the content of this array to the destination array.IntNdArrayIntSparseNdArray. copyTo(NdArray<Integer> dst)Copy the content of this array to the destination array.LongNdArrayLongSparseNdArray. copyTo(NdArray<Long> dst)Copy the content of this array to the destination array.ShortNdArrayShortSparseNdArray. copyTo(NdArray<Short> dst)Copy the content of this array to the destination array.NdArray<T>SparseNdArray. fromDense(NdArray<T> src)Populates this sparse array from a dense arrayNdArray<T>AbstractSparseNdArray. set(NdArray<T> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.BooleanNdArrayBooleanSparseNdArray. set(NdArray<Boolean> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.ByteNdArrayByteSparseNdArray. set(NdArray<Byte> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.DoubleNdArrayDoubleSparseNdArray. set(NdArray<Double> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.FloatNdArrayFloatSparseNdArray. set(NdArray<Float> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.IntNdArrayIntSparseNdArray. set(NdArray<Integer> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.LongNdArrayLongSparseNdArray. set(NdArray<Long> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.ShortNdArrayShortSparseNdArray. set(NdArray<Short> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.protected voidAbstractSparseNdArray. slowCopyTo(NdArray<T> array) -
Uses of NdArray in org.tensorflow.ndarray.impl.sparse.slice
Classes in org.tensorflow.ndarray.impl.sparse.slice with type parameters of type NdArray Modifier and Type Class Description classObjectSparseSlice<T,U extends NdArray<T>>classSparseSlice<T,U extends NdArray<T>>A sparse window is a view into an AbstractSparseNdArray.Classes in org.tensorflow.ndarray.impl.sparse.slice that implement NdArray Modifier and Type Class Description classBooleanSparseSliceclassByteSparseSliceclassDoubleSparseSliceclassFloatSparseSliceclassIntSparseSliceclassLongSparseSliceclassObjectSparseSlice<T,U extends NdArray<T>>classShortSparseSliceclassSparseSlice<T,U extends NdArray<T>>A sparse window is a view into an AbstractSparseNdArray.Methods in org.tensorflow.ndarray.impl.sparse.slice that return NdArray Modifier and Type Method Description NdArray<T>SparseSlice. get(long... coordinates)Returns the N-dimensional element of this array at the given coordinates.NdArray<T>SparseSlice. slice(Index... indices)Creates a multi-dimensional view (or slice) of this array by mapping one or more dimensions to the given index selectors.NdArray<T>SparseSlice. write(DataBuffer<T> src)Write the content of this N-dimensional array from the source buffer.Methods in org.tensorflow.ndarray.impl.sparse.slice with parameters of type NdArray Modifier and Type Method Description BooleanNdArrayBooleanSparseSlice. copyTo(NdArray<Boolean> dst)ByteNdArrayByteSparseSlice. copyTo(NdArray<Byte> dst)DoubleNdArrayDoubleSparseSlice. copyTo(NdArray<Double> dst)FloatNdArrayFloatSparseSlice. copyTo(NdArray<Float> dst)IntNdArrayIntSparseSlice. copyTo(NdArray<Integer> dst)LongNdArrayLongSparseSlice. copyTo(NdArray<Long> dst)ShortNdArrayShortSparseSlice. copyTo(NdArray<Short> dst)BooleanNdArrayBooleanSparseSlice. set(NdArray<Boolean> src, long... coordinates)ByteNdArrayByteSparseSlice. set(NdArray<Byte> src, long... coordinates)DoubleNdArrayDoubleSparseSlice. set(NdArray<Double> src, long... coordinates)FloatNdArrayFloatSparseSlice. set(NdArray<Float> src, long... coordinates)IntNdArrayIntSparseSlice. set(NdArray<Integer> src, long... coordinates)LongNdArrayLongSparseSlice. set(NdArray<Long> src, long... coordinates)UObjectSparseSlice. set(NdArray<T> src, long... coordinates)ShortNdArrayShortSparseSlice. set(NdArray<Short> src, long... coordinates) -
Uses of NdArray in org.tensorflow.ndarray.index
Methods in org.tensorflow.ndarray.index with parameters of type NdArray Modifier and Type Method Description static IndexIndices. at(NdArray<? extends Number> coord)A coordinate that selects a specific element on a given dimension.static IndexIndices. at(NdArray<? extends Number> coord, boolean keepDim)A coordinate that selects a specific element on a given dimension.static IndexIndices. seq(NdArray<? extends Number> coords)An index that returns only specific elements on a given dimension.
-