Uses of Interface
org.tensorflow.ndarray.ShortNdArray
Packages that use ShortNdArray
Package
Description
-
Uses of ShortNdArray in org.tensorflow.ndarray
Methods in org.tensorflow.ndarray that return ShortNdArrayModifier and TypeMethodDescriptionShortNdArray.copyFrom(DataBuffer<Short> src) ShortNdArray.copyFrom(ShortDataBuffer src) ShortNdArray.copyTo(DataBuffer<Short> dst) ShortNdArray.copyTo(ShortDataBuffer dst) ShortNdArray.get(long... coordinates) static ShortNdArrayStdArrays.ndCopyOf(short[] array) Copy an array of shorts in a newShortNdArraystatic ShortNdArrayStdArrays.ndCopyOf(short[][] array) Copy a 2-dimensional array of shorts in a newShortNdArraystatic ShortNdArrayStdArrays.ndCopyOf(short[][][] array) Copy a 3-dimensional array of shorts in a newShortNdArraystatic ShortNdArrayStdArrays.ndCopyOf(short[][][][] array) Copy a 4-dimensional array of shorts in a newShortNdArraystatic ShortNdArrayStdArrays.ndCopyOf(short[][][][][] array) Copy a 5-dimensional array of shorts in a newShortNdArraystatic ShortNdArrayStdArrays.ndCopyOf(short[][][][][][] array) Copy a 6-dimensional array of shorts in a newShortNdArraystatic ShortNdArrayCreates an N-dimensional array of shorts of the given shape.static ShortNdArrayNdArrays.scalarOf(short value) Creates short scalar (rank 0) initialized with the given value.default ShortNdArrayShortNdArray.setShort(short value, long... coordinates) Assigns the short value of the scalar found at the given coordinates.static ShortNdArrayNdArrays.vectorOf(short... values) Creates a short vector (rank 1) initialized with the given values.static ShortNdArrayNdArrays.wrap(Shape shape, ShortDataBuffer buffer) Wraps a buffer in a short N-dimensional array of a given shape.Methods in org.tensorflow.ndarray that return types with arguments of type ShortNdArrayMethods in org.tensorflow.ndarray with parameters of type ShortNdArrayModifier and TypeMethodDescriptionstatic short[]StdArrays.array1dCopyOf(ShortNdArray ndArray) Copy aShortNdArrayin a new 1-dimension standard array of shortsstatic short[][]StdArrays.array2dCopyOf(ShortNdArray ndArray) Copy aShortNdArrayin a new 2-dimension standard array of shortsstatic short[][][]StdArrays.array3dCopyOf(ShortNdArray ndArray) Copy aShortNdArrayin a new 3-dimension standard array of shortsstatic short[][][][]StdArrays.array4dCopyOf(ShortNdArray ndArray) Copy aShortNdArrayin a new 4-dimension standard array of shortsstatic short[][][][][]StdArrays.array5dCopyOf(ShortNdArray ndArray) Copy aShortNdArrayin a new 5-dimension standard array of shortsstatic short[][][][][][]StdArrays.array6dCopyOf(ShortNdArray ndArray) Copy aShortNdArrayin a new 6-dimension standard array of shortsstatic voidStdArrays.copyFrom(ShortNdArray src, short[] dst) Copy aNdArrayto an array of shortsstatic voidStdArrays.copyFrom(ShortNdArray src, short[][] dst) Copy aNdArrayto a 2-dimensional array of shortsstatic voidStdArrays.copyFrom(ShortNdArray src, short[][][] dst) Copy aNdArrayto a 3-dimensional array of shortsstatic voidStdArrays.copyFrom(ShortNdArray src, short[][][][] dst) Copy aNdArrayto a 4-dimensional array of shortsstatic voidStdArrays.copyFrom(ShortNdArray src, short[][][][][] dst) Copy aNdArrayto a 5-dimensional array of shortsstatic voidStdArrays.copyFrom(ShortNdArray src, short[][][][][][] dst) Copy aNdArrayto a 6-dimensional array of shortsstatic voidStdArrays.copyTo(short[][][][][][] src, ShortNdArray dst) Copy a 6-dimensional array of shorts into thedstNdArraystatic voidStdArrays.copyTo(short[][][][][] src, ShortNdArray dst) Copy a 5-dimensional array of shorts into thedstNdArraystatic voidStdArrays.copyTo(short[][][][] src, ShortNdArray dst) Copy a 4-dimensional array of shorts into thedstNdArraystatic voidStdArrays.copyTo(short[][][] src, ShortNdArray dst) Copy a 3-dimensional array of shorts into thedstNdArraystatic voidStdArrays.copyTo(short[][] src, ShortNdArray dst) Copy a 2-dimensional array of shorts into thedstNdArraystatic voidStdArrays.copyTo(short[] src, ShortNdArray dst) Copy an array of shorts into thedstNdArraystatic 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 zero -
Uses of ShortNdArray in org.tensorflow.ndarray.impl.dense
Classes in org.tensorflow.ndarray.impl.dense that implement ShortNdArraySubclasses with type arguments of type ShortNdArray in org.tensorflow.ndarray.impl.denseMethods in org.tensorflow.ndarray.impl.dense that return ShortNdArrayModifier and TypeMethodDescriptionShortDenseNdArray.copyFrom(ShortDataBuffer src) ShortDenseNdArray.copyTo(ShortDataBuffer dst) static ShortNdArrayShortDenseNdArray.create(ShortDataBuffer buffer, Shape shape) ShortDenseNdArray.setShort(short value, long... indices) -
Uses of ShortNdArray in org.tensorflow.ndarray.impl.sparse
Classes in org.tensorflow.ndarray.impl.sparse that implement ShortNdArraySubclasses with type arguments of type ShortNdArray in org.tensorflow.ndarray.impl.sparseMethods in org.tensorflow.ndarray.impl.sparse that return ShortNdArrayModifier and TypeMethodDescriptionShortSparseNdArray.copyFrom(DataBuffer<Short> src) Copy the content of the source buffer into this N-dimensional array.ShortSparseNdArray.copyFrom(ShortDataBuffer src) ShortSparseNdArray.copyTo(DataBuffer<Short> dst) Copy the content of this N-dimensional array into the destination buffer.ShortSparseNdArray.copyTo(ShortDataBuffer dst) Copy the content of this array to the destination array.ShortSparseNdArray.createDefaultArray()Creates the NdArray with the default value as a scalarShortSparseNdArray.createValues(Shape shape) Creates a ShortNdArray of the specified shapeShortSparseNdArray.fromDense(ShortNdArray src) Populates this sparse array from a dense arrayShortSparseNdArray.get(long... coordinates) Returns the N-dimensional element of this array at the given coordinates.Assigns the value of the N-dimensional element found at the given coordinates.Assigns the value of the scalar found at the given coordinates.ShortSparseNdArray.setShort(short value, long... coordinates) Assigns the short value of the scalar found at the given coordinates.ShortSparseNdArray.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.ShortSparseNdArray.toDense()Converts the sparse array to a dense arrayMethods in org.tensorflow.ndarray.impl.sparse with parameters of type ShortNdArrayModifier and TypeMethodDescriptionstatic 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 ShortSparseNdArrayShortSparseNdArray.create(ShortNdArray src) Creates a new ShortSparseNdArray from a ShortNdArraystatic ShortSparseNdArrayShortSparseNdArray.create(ShortNdArray src, short defaultValue) Creates a new ShortSparseNdArray from a ShortNdArrayShortSparseNdArray.fromDense(ShortNdArray src) Populates this sparse array from a dense arrayConstructors in org.tensorflow.ndarray.impl.sparse with parameters of type ShortNdArrayModifierConstructorDescriptionprotectedShortSparseNdArray(LongNdArray indices, ShortNdArray values, short defaultValue, DimensionalSpace dimensions) Creates a ShortSparseNdArray -
Uses of ShortNdArray in org.tensorflow.ndarray.impl.sparse.slice
Classes in org.tensorflow.ndarray.impl.sparse.slice that implement ShortNdArraySubclasses with type arguments of type ShortNdArray in org.tensorflow.ndarray.impl.sparse.sliceMethods in org.tensorflow.ndarray.impl.sparse.slice that return ShortNdArrayModifier and TypeMethodDescriptionShortSparseSlice.copyFrom(DataBuffer<Short> src) ShortSparseSlice.copyFrom(ShortDataBuffer src) ShortSparseSlice.copyTo(DataBuffer<Short> dst) Copy the content of this N-dimensional array into the destination buffer.ShortSparseSlice.copyTo(ShortDataBuffer dst) ShortSparseSlice.createDefaultArray()ShortSparseSlice.get(long... coordinates) ShortSparseSlice.setShort(short value, long... coordinates) ShortSparseSlice.slice(long position, DimensionalSpace sliceDimensions) ShortSparseSlice.toDense()Converts the sparse window to a dense NdArrayConstructor parameters in org.tensorflow.ndarray.impl.sparse.slice with type arguments of type ShortNdArrayModifierConstructorDescriptionShortSparseSlice(AbstractSparseNdArray<Short, ShortNdArray> source, long sourcePosition, DimensionalSpace dimensions) Creates a LongSparseSlice