Uses of Interface
org.tensorflow.ndarray.LongNdArray
-
Packages that use LongNdArray Package Description org.tensorflow.ndarray org.tensorflow.ndarray.impl.dense org.tensorflow.ndarray.impl.sparse org.tensorflow.ndarray.impl.sparse.slice -
-
Uses of LongNdArray in org.tensorflow.ndarray
Methods in org.tensorflow.ndarray that return LongNdArray Modifier and Type Method Description LongNdArrayLongNdArray. copyTo(NdArray<Long> dst)LongNdArrayLongNdArray. get(long... coordinates)LongNdArraySparseNdArray. getIndices()Gets the Indicesstatic LongNdArrayStdArrays. ndCopyOf(long[] array)Copy an array of longs in a newLongNdArraystatic LongNdArrayStdArrays. ndCopyOf(long[][] array)Copy a 2-dimensional array of longs in a newLongNdArraystatic LongNdArrayStdArrays. ndCopyOf(long[][][] array)Copy a 3-dimensional array of longs in a newLongNdArraystatic LongNdArrayStdArrays. ndCopyOf(long[][][][] array)Copy a 4-dimensional array of longs in a newLongNdArraystatic LongNdArrayStdArrays. ndCopyOf(long[][][][][] array)Copy a 5-dimensional array of longs in a newLongNdArraystatic LongNdArrayStdArrays. ndCopyOf(long[][][][][][] array)Copy a 6-dimensional array of longs in a newLongNdArraystatic LongNdArrayNdArrays. ofLongs(Shape shape)Creates an N-dimensional array of longs of the given shape.LongNdArrayLongNdArray. read(DataBuffer<Long> dst)LongNdArrayLongNdArray. read(LongDataBuffer dst)static LongNdArrayNdArrays. scalarOf(long value)Creates long scalar (rank 0) initialized with the given value.LongNdArrayLongNdArray. set(NdArray<Long> src, long... coordinates)LongNdArrayLongNdArray. setLong(long value, long... coordinates)Assigns the long value of the scalar found at the given coordinates.default LongNdArrayLongNdArray. setObject(Long value, long... coordinates)LongNdArrayLongNdArray. slice(Index... indices)static LongNdArrayNdArrays. vectorOf(long... values)Creates a long vector (rank 1) initialized with the given values.static LongNdArrayNdArrays. wrap(Shape shape, LongDataBuffer buffer)Wraps a buffer in a long N-dimensional array of a given shape.LongNdArrayLongNdArray. write(DataBuffer<Long> src)LongNdArrayLongNdArray. write(LongDataBuffer src)Methods in org.tensorflow.ndarray that return types with arguments of type LongNdArray Modifier and Type Method Description NdArraySequence<LongNdArray>LongNdArray. elements(int dimensionIdx)NdArraySequence<LongNdArray>LongNdArray. scalars()Methods in org.tensorflow.ndarray with parameters of type LongNdArray Modifier and Type Method Description static long[]StdArrays. array1dCopyOf(LongNdArray ndArray)Copy aLongNdArrayin a new 1-dimension standard array of longsstatic long[][]StdArrays. array2dCopyOf(LongNdArray ndArray)Copy aLongNdArrayin a new 2-dimension standard array of longsstatic long[][][]StdArrays. array3dCopyOf(LongNdArray ndArray)Copy aLongNdArrayin a new 3-dimension standard array of longsstatic long[][][][]StdArrays. array4dCopyOf(LongNdArray ndArray)Copy aLongNdArrayin a new 4-dimension standard array of longsstatic long[][][][][]StdArrays. array5dCopyOf(LongNdArray ndArray)Copy aLongNdArrayin a new 5-dimension standard array of longsstatic long[][][][][][]StdArrays. array6dCopyOf(LongNdArray ndArray)Copy aLongNdArrayin a new 6-dimension standard array of longsstatic voidStdArrays. copyFrom(LongNdArray src, long[] dst)Copy aNdArrayto an array of longsstatic voidStdArrays. copyFrom(LongNdArray src, long[][] dst)Copy aNdArrayto a 2-dimensional array of longsstatic voidStdArrays. copyFrom(LongNdArray src, long[][][] dst)Copy aNdArrayto a 3-dimensional array of longsstatic voidStdArrays. copyFrom(LongNdArray src, long[][][][] dst)Copy aNdArrayto a 4-dimensional array of longsstatic voidStdArrays. copyFrom(LongNdArray src, long[][][][][] dst)Copy aNdArrayto a 5-dimensional array of longsstatic voidStdArrays. copyFrom(LongNdArray src, long[][][][][][] dst)Copy aNdArrayto a 6-dimensional array of longsstatic voidStdArrays. copyTo(long[][][][][][] src, LongNdArray dst)Copy a 6-dimensional array of longs into thedstNdArraystatic voidStdArrays. copyTo(long[][][][][] src, LongNdArray dst)Copy a 5-dimensional array of longs into thedstNdArraystatic voidStdArrays. copyTo(long[][][][] src, LongNdArray dst)Copy a 4-dimensional array of longs into thedstNdArraystatic voidStdArrays. copyTo(long[][][] src, LongNdArray dst)Copy a 3-dimensional array of longs into thedstNdArraystatic voidStdArrays. copyTo(long[][] src, LongNdArray dst)Copy a 2-dimensional array of longs into thedstNdArraystatic voidStdArrays. copyTo(long[] src, LongNdArray dst)Copy an array of longs into thedstNdArraystatic BooleanSparseNdArrayNdArrays. sparseOf(LongNdArray indices, BooleanNdArray values, boolean defaultValue, Shape shape)Creates a Sparse array of boolean valuesstatic BooleanSparseNdArrayNdArrays. sparseOf(LongNdArray indices, BooleanNdArray values, Shape shape)Creates a Sparse array of boolean values with a default value of 'false'static ByteSparseNdArrayNdArrays. sparseOf(LongNdArray indices, ByteNdArray values, byte defaultValue, Shape shape)Creates a Sparse array of byte valuesstatic ByteSparseNdArrayNdArrays. sparseOf(LongNdArray indices, ByteNdArray values, Shape shape)Creates a Sparse array of byte values with a default value of zerostatic DoubleSparseNdArrayNdArrays. sparseOf(LongNdArray indices, DoubleNdArray values, double defaultValue, Shape shape)Creates a Sparse array of double valuesstatic DoubleSparseNdArrayNdArrays. sparseOf(LongNdArray indices, DoubleNdArray values, Shape shape)Creates a Sparse array of double values with a default value of zerostatic FloatSparseNdArrayNdArrays. sparseOf(LongNdArray indices, FloatNdArray values, float defaultValue, Shape shape)Creates a Sparse array of float valuesstatic FloatSparseNdArrayNdArrays. sparseOf(LongNdArray indices, FloatNdArray values, Shape shape)Creates a Sparse array of float values with a default value of zerostatic IntSparseNdArrayNdArrays. sparseOf(LongNdArray indices, IntNdArray values, int defaultValue, Shape shape)Creates a Sparse array of int valuesstatic IntSparseNdArrayNdArrays. sparseOf(LongNdArray indices, IntNdArray values, Shape shape)Creates a Sparse array of int values with a default value of zero.static LongSparseNdArrayNdArrays. sparseOf(LongNdArray indices, LongNdArray values, long defaultValue, Shape shape)Creates a Sparse array of long values with a default value of zerostatic LongSparseNdArrayNdArrays. sparseOf(LongNdArray indices, LongNdArray values, Shape shape)Creates a Sparse array of long values with a default value of zerostatic ShortSparseNdArrayNdArrays. sparseOf(LongNdArray indices, ShortNdArray values, short defaultValue, Shape shape)Creates a Sparse array of short valuesstatic ShortSparseNdArrayNdArrays. sparseOf(LongNdArray indices, ShortNdArray values, Shape shape)Creates a Sparse array of short values with a default value of zerostatic <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 LongNdArray in org.tensorflow.ndarray.impl.dense
Classes in org.tensorflow.ndarray.impl.dense that implement LongNdArray Modifier and Type Class Description classLongDenseNdArrayMethods in org.tensorflow.ndarray.impl.dense that return LongNdArray Modifier and Type Method Description LongNdArrayLongDenseNdArray. copyTo(NdArray<Long> dst)static LongNdArrayLongDenseNdArray. create(LongDataBuffer buffer, Shape shape)LongNdArrayLongDenseNdArray. read(LongDataBuffer dst)LongNdArrayLongDenseNdArray. setLong(long value, long... indices)LongNdArrayLongDenseNdArray. write(LongDataBuffer src) -
Uses of LongNdArray in org.tensorflow.ndarray.impl.sparse
Classes in org.tensorflow.ndarray.impl.sparse that implement LongNdArray Modifier and Type Class Description classLongSparseNdArraysparse array for the long data typeMethods in org.tensorflow.ndarray.impl.sparse that return LongNdArray Modifier and Type Method Description LongNdArrayLongSparseNdArray. copyTo(NdArray<Long> dst)Copy the content of this array to the destination array.LongNdArrayLongSparseNdArray. createDefaultArray()Creates the NdArray with the default value as a scalarLongNdArrayLongSparseNdArray. createValues(Shape shape)Creates a LongNdArray of the specified shapeLongNdArrayLongSparseNdArray. fromDense(LongNdArray src)Populates this sparse array from a dense arrayLongNdArrayLongSparseNdArray. get(long... coordinates)Returns the N-dimensional element of this array at the given coordinates.LongNdArrayAbstractSparseNdArray. getIndices()Gets the IndicesLongNdArrayLongSparseNdArray. read(DataBuffer<Long> dst)Read the content of this N-dimensional array into the destination buffer.LongNdArrayLongSparseNdArray. read(LongDataBuffer dst)LongNdArrayLongSparseNdArray. set(NdArray<Long> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.LongNdArrayLongSparseNdArray. setLong(long value, long... coordinates)Assigns the long value of the scalar found at the given coordinates.LongNdArrayLongSparseNdArray. setObject(Long value, long... coordinates)Assigns the value of the scalar found at the given coordinates.LongNdArrayLongSparseNdArray. slice(long position, DimensionalSpace sliceDimensions)LongNdArrayLongSparseNdArray. slice(Index... indices)Creates a multi-dimensional view (or slice) of this array by mapping one or more dimensions to the given index selectors.LongNdArrayLongSparseNdArray. toDense()Converts the sparse array to a dense arrayLongNdArrayLongSparseNdArray. write(DataBuffer<Long> src)Write the content of this N-dimensional array from the source buffer.LongNdArrayLongSparseNdArray. write(LongDataBuffer src)Methods in org.tensorflow.ndarray.impl.sparse with parameters of type LongNdArray Modifier and Type Method Description static BooleanSparseNdArrayBooleanSparseNdArray. create(LongNdArray indices, BooleanNdArray values, boolean defaultValue, DimensionalSpace dimensions)Creates a new BooleanSparseNdArraystatic BooleanSparseNdArrayBooleanSparseNdArray. create(LongNdArray indices, BooleanNdArray values, DimensionalSpace dimensions)Creates a new BooleanSparseNdArraystatic ByteSparseNdArrayByteSparseNdArray. create(LongNdArray indices, ByteNdArray values, byte defaultValue, DimensionalSpace dimensions)Creates a new ByteSparseNdArraystatic ByteSparseNdArrayByteSparseNdArray. create(LongNdArray indices, ByteNdArray values, DimensionalSpace dimensions)Creates a new ByteSparseNdArraystatic DoubleSparseNdArrayDoubleSparseNdArray. create(LongNdArray indices, DoubleNdArray values, double defaultValue, DimensionalSpace dimensions)Creates a new DoubleSparseNdArraystatic DoubleSparseNdArrayDoubleSparseNdArray. create(LongNdArray indices, DoubleNdArray values, DimensionalSpace dimensions)Creates a new DoubleSparseNdArraystatic FloatSparseNdArrayFloatSparseNdArray. create(LongNdArray indices, FloatNdArray values, float defaultValue, DimensionalSpace dimensions)Creates a new FloatSparseNdArraystatic FloatSparseNdArrayFloatSparseNdArray. create(LongNdArray indices, FloatNdArray values, DimensionalSpace dimensions)Creates a new FloatSparseNdArraystatic IntSparseNdArrayIntSparseNdArray. create(LongNdArray indices, IntNdArray values, int defaultValue, DimensionalSpace dimensions)Creates a new IntSparseNdArraystatic IntSparseNdArrayIntSparseNdArray. create(LongNdArray indices, IntNdArray values, DimensionalSpace dimensions)Creates a new IntSparseNdArraystatic LongSparseNdArrayLongSparseNdArray. create(LongNdArray src)Creates a new LongSparseNdArray from a LongNdArraystatic LongSparseNdArrayLongSparseNdArray. create(LongNdArray src, long defaultValue)Creates a new LongSparseNdArray from a LongNdArraystatic LongSparseNdArrayLongSparseNdArray. create(LongNdArray indices, LongNdArray values, long defaultValue, DimensionalSpace dimensions)Creates a new LongSparseNdArraystatic LongSparseNdArrayLongSparseNdArray. create(LongNdArray indices, LongNdArray values, DimensionalSpace dimensions)Creates a new LongSparseNdArraystatic ShortSparseNdArrayShortSparseNdArray. create(LongNdArray indices, ShortNdArray values, short defaultValue, DimensionalSpace dimensions)Creates a new ShortSparseNdArraystatic ShortSparseNdArrayShortSparseNdArray. create(LongNdArray indices, ShortNdArray values, DimensionalSpace dimensions)Creates a new ShortSparseNdArraystatic <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 SparseNdArrayLongNdArrayLongSparseNdArray. fromDense(LongNdArray src)Populates this sparse array from a dense arrayprotected long[]AbstractSparseNdArray. getIndicesCoordinates(LongNdArray l)Converts the given set of indices coordinates to a long array of coordinates.voidAbstractSparseNdArray. setIndices(LongNdArray indices)Sets the IndicesConstructors in org.tensorflow.ndarray.impl.sparse with parameters of type LongNdArray Constructor Description AbstractSparseNdArray(LongNdArray indices, U values, T defaultValue, DimensionalSpace dimensions)Creates an abstract SparseNdArrayBooleanSparseNdArray(LongNdArray indices, BooleanNdArray values, boolean defaultValue, DimensionalSpace dimensions)Creates a BooleanSparseNdArrayByteSparseNdArray(LongNdArray indices, ByteNdArray values, byte defaultValue, DimensionalSpace dimensions)Creates a ByteSparseNdArray with a default value of zero.DoubleSparseNdArray(LongNdArray indices, DoubleNdArray values, double defaultValue, DimensionalSpace dimensions)Creates a DoubleSparseNdArrayFloatSparseNdArray(LongNdArray indices, FloatNdArray values, float defaultValue, DimensionalSpace dimensions)Creates a FloatSparseNdArrayIntSparseNdArray(LongNdArray indices, IntNdArray values, int defaultValue, DimensionalSpace dimensions)Creates a IntSparseNdArrayLongSparseNdArray(LongNdArray indices, LongNdArray values, long defaultValue, DimensionalSpace dimensions)Creates a LongSparseNdArrayShortSparseNdArray(LongNdArray indices, ShortNdArray values, short defaultValue, DimensionalSpace dimensions)Creates a ShortSparseNdArraySparseNdArray(Class<T> type, LongNdArray indices, U values, T defaultValue, DimensionalSpace dimensions)Creates a SparseNdArray -
Uses of LongNdArray in org.tensorflow.ndarray.impl.sparse.slice
Classes in org.tensorflow.ndarray.impl.sparse.slice that implement LongNdArray Modifier and Type Class Description classLongSparseSliceMethods in org.tensorflow.ndarray.impl.sparse.slice that return LongNdArray Modifier and Type Method Description LongNdArrayLongSparseSlice. copyTo(NdArray<Long> dst)LongNdArrayLongSparseSlice. createDefaultArray()LongNdArrayLongSparseSlice. get(long... coordinates)LongNdArrayLongSparseSlice. read(DataBuffer<Long> dst)Read the content of this N-dimensional array into the destination buffer.LongNdArrayLongSparseSlice. read(LongDataBuffer dst)LongNdArrayLongSparseSlice. set(NdArray<Long> src, long... coordinates)LongNdArrayLongSparseSlice. setLong(long value, long... coordinates)LongNdArrayLongSparseSlice. setObject(Long value, long... coordinates)LongNdArrayLongSparseSlice. slice(long position, DimensionalSpace sliceDimensions)LongNdArrayLongSparseSlice. slice(Index... indices)LongNdArrayLongSparseSlice. toDense()Converts the sparse window to a dense NdArrayLongNdArrayLongSparseSlice. write(DataBuffer<Long> src)LongNdArrayLongSparseSlice. write(LongDataBuffer src)Constructor parameters in org.tensorflow.ndarray.impl.sparse.slice with type arguments of type LongNdArray Constructor Description LongSparseSlice(AbstractSparseNdArray<Long,LongNdArray> source, long sourcePosition, DimensionalSpace dimensions)Creates a LongSparseSlice
-