Uses of Interface
org.tensorflow.ndarray.LongNdArray
Packages that use LongNdArray
Package
Description
-
Uses of LongNdArray in org.tensorflow.ndarray
Methods in org.tensorflow.ndarray that return LongNdArrayModifier and TypeMethodDescriptionLongNdArray.copyFrom(DataBuffer<Long> src) LongNdArray.copyFrom(LongDataBuffer src) LongNdArray.copyTo(DataBuffer<Long> dst) LongNdArray.copyTo(LongDataBuffer dst) LongNdArray.get(long... coordinates) SparseNdArray.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 LongNdArrayCreates an N-dimensional array of longs of the given shape.static LongNdArrayNdArrays.scalarOf(long value) Creates long scalar (rank 0) initialized with the given value.LongNdArray.setLong(long value, long... coordinates) Assigns the long value of the scalar found at the given coordinates.default LongNdArraystatic 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.Methods in org.tensorflow.ndarray that return types with arguments of type LongNdArrayMethods in org.tensorflow.ndarray with parameters of type LongNdArrayModifier and TypeMethodDescriptionstatic 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 LongNdArraySubclasses with type arguments of type LongNdArray in org.tensorflow.ndarray.impl.denseMethods in org.tensorflow.ndarray.impl.dense that return LongNdArrayModifier and TypeMethodDescriptionLongDenseNdArray.copyFrom(LongDataBuffer src) LongDenseNdArray.copyTo(LongDataBuffer dst) static LongNdArrayLongDenseNdArray.create(LongDataBuffer buffer, Shape shape) LongDenseNdArray.setLong(long value, long... indices) -
Uses of LongNdArray in org.tensorflow.ndarray.impl.sparse
Classes in org.tensorflow.ndarray.impl.sparse that implement LongNdArraySubclasses with type arguments of type LongNdArray in org.tensorflow.ndarray.impl.sparseMethods in org.tensorflow.ndarray.impl.sparse that return LongNdArrayModifier and TypeMethodDescriptionLongSparseNdArray.copyFrom(DataBuffer<Long> src) Copy the content of the source buffer into this N-dimensional array.LongSparseNdArray.copyFrom(LongDataBuffer src) LongSparseNdArray.copyTo(DataBuffer<Long> dst) Copy the content of this N-dimensional array into the destination buffer.LongSparseNdArray.copyTo(LongDataBuffer dst) Copy the content of this array to the destination array.LongSparseNdArray.createDefaultArray()Creates the NdArray with the default value as a scalarLongSparseNdArray.createValues(Shape shape) Creates a LongNdArray of the specified shapeLongSparseNdArray.fromDense(LongNdArray src) Populates this sparse array from a dense arrayLongSparseNdArray.get(long... coordinates) Returns the N-dimensional element of this array at the given coordinates.AbstractSparseNdArray.getIndices()Gets the IndicesAssigns the value of the N-dimensional element found at the given coordinates.LongSparseNdArray.setLong(long value, long... coordinates) Assigns the long value of the scalar found at the given coordinates.Assigns the value of the scalar found at the given coordinates.LongSparseNdArray.slice(long position, DimensionalSpace sliceDimensions) Creates a multi-dimensional view (or slice) of this array by mapping one or more dimensions to the given index selectors.LongSparseNdArray.toDense()Converts the sparse array to a dense arrayMethods in org.tensorflow.ndarray.impl.sparse with parameters of type LongNdArrayModifier and TypeMethodDescriptionstatic 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 SparseNdArrayLongSparseNdArray.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 LongNdArrayModifierConstructorDescriptionprotectedAbstractSparseNdArray(LongNdArray indices, U values, T defaultValue, DimensionalSpace dimensions) Creates an abstract SparseNdArrayprotectedBooleanSparseNdArray(LongNdArray indices, BooleanNdArray values, boolean defaultValue, DimensionalSpace dimensions) Creates a BooleanSparseNdArrayprotectedByteSparseNdArray(LongNdArray indices, ByteNdArray values, byte defaultValue, DimensionalSpace dimensions) Creates a ByteSparseNdArray with a default value of zero.protectedDoubleSparseNdArray(LongNdArray indices, DoubleNdArray values, double defaultValue, DimensionalSpace dimensions) Creates a DoubleSparseNdArrayprotectedFloatSparseNdArray(LongNdArray indices, FloatNdArray values, float defaultValue, DimensionalSpace dimensions) Creates a FloatSparseNdArrayprotectedIntSparseNdArray(LongNdArray indices, IntNdArray values, int defaultValue, DimensionalSpace dimensions) Creates a IntSparseNdArrayprotectedLongSparseNdArray(LongNdArray indices, LongNdArray values, long defaultValue, DimensionalSpace dimensions) Creates a LongSparseNdArrayprotectedShortSparseNdArray(LongNdArray indices, ShortNdArray values, short defaultValue, DimensionalSpace dimensions) Creates a ShortSparseNdArrayprotectedSparseNdArray(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 LongNdArraySubclasses with type arguments of type LongNdArray in org.tensorflow.ndarray.impl.sparse.sliceMethods in org.tensorflow.ndarray.impl.sparse.slice that return LongNdArrayModifier and TypeMethodDescriptionLongSparseSlice.copyFrom(DataBuffer<Long> src) LongSparseSlice.copyFrom(LongDataBuffer src) LongSparseSlice.copyTo(DataBuffer<Long> dst) Copy the content of this N-dimensional array into the destination buffer.LongSparseSlice.copyTo(LongDataBuffer dst) LongSparseSlice.createDefaultArray()LongSparseSlice.get(long... coordinates) LongSparseSlice.setLong(long value, long... coordinates) LongSparseSlice.slice(long position, DimensionalSpace sliceDimensions) LongSparseSlice.toDense()Converts the sparse window to a dense NdArrayConstructor parameters in org.tensorflow.ndarray.impl.sparse.slice with type arguments of type LongNdArrayModifierConstructorDescriptionLongSparseSlice(AbstractSparseNdArray<Long, LongNdArray> source, long sourcePosition, DimensionalSpace dimensions) Creates a LongSparseSlice