Uses of Interface
org.tensorflow.ndarray.ShortNdArray
-
Packages that use ShortNdArray Package Description org.tensorflow.ndarray org.tensorflow.ndarray.impl.dense org.tensorflow.ndarray.impl.sparse org.tensorflow.ndarray.impl.sparse.slice -
-
Uses of ShortNdArray in org.tensorflow.ndarray
Methods in org.tensorflow.ndarray that return ShortNdArray Modifier and Type Method Description ShortNdArrayShortNdArray. copyTo(NdArray<Short> dst)ShortNdArrayShortNdArray. 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 ShortNdArrayNdArrays. ofShorts(Shape shape)Creates an N-dimensional array of shorts of the given shape.ShortNdArrayShortNdArray. read(DataBuffer<Short> dst)ShortNdArrayShortNdArray. read(ShortDataBuffer dst)static ShortNdArrayNdArrays. scalarOf(short value)Creates short scalar (rank 0) initialized with the given value.ShortNdArrayShortNdArray. set(NdArray<Short> src, long... coordinates)default ShortNdArrayShortNdArray. setObject(Short value, long... coordinates)ShortNdArrayShortNdArray. setShort(short value, long... coordinates)Assigns the short value of the scalar found at the given coordinates.ShortNdArrayShortNdArray. slice(Index... 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.ShortNdArrayShortNdArray. write(DataBuffer<Short> src)ShortNdArrayShortNdArray. write(ShortDataBuffer src)Methods in org.tensorflow.ndarray that return types with arguments of type ShortNdArray Modifier and Type Method Description NdArraySequence<ShortNdArray>ShortNdArray. elements(int dimensionIdx)NdArraySequence<ShortNdArray>ShortNdArray. scalars()Methods in org.tensorflow.ndarray with parameters of type ShortNdArray Modifier and Type Method Description static 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 ShortNdArray Modifier and Type Class Description classShortDenseNdArrayMethods in org.tensorflow.ndarray.impl.dense that return ShortNdArray Modifier and Type Method Description ShortNdArrayShortDenseNdArray. copyTo(NdArray<Short> dst)static ShortNdArrayShortDenseNdArray. create(ShortDataBuffer buffer, Shape shape)ShortNdArrayShortDenseNdArray. read(ShortDataBuffer dst)ShortNdArrayShortDenseNdArray. setShort(short value, long... indices)ShortNdArrayShortDenseNdArray. write(ShortDataBuffer src) -
Uses of ShortNdArray in org.tensorflow.ndarray.impl.sparse
Classes in org.tensorflow.ndarray.impl.sparse that implement ShortNdArray Modifier and Type Class Description classShortSparseNdArraysparse array for the short data typeMethods in org.tensorflow.ndarray.impl.sparse that return ShortNdArray Modifier and Type Method Description ShortNdArrayShortSparseNdArray. copyTo(NdArray<Short> dst)Copy the content of this array to the destination array.ShortNdArrayShortSparseNdArray. createDefaultArray()Creates the NdArray with the default value as a scalarShortNdArrayShortSparseNdArray. createValues(Shape shape)Creates a ShortNdArray of the specified shapeShortNdArrayShortSparseNdArray. fromDense(ShortNdArray src)Populates this sparse array from a dense arrayShortNdArrayShortSparseNdArray. get(long... coordinates)Returns the N-dimensional element of this array at the given coordinates.ShortNdArrayShortSparseNdArray. read(DataBuffer<Short> dst)Read the content of this N-dimensional array into the destination buffer.ShortNdArrayShortSparseNdArray. read(ShortDataBuffer dst)ShortNdArrayShortSparseNdArray. set(NdArray<Short> src, long... coordinates)Assigns the value of the N-dimensional element found at the given coordinates.ShortNdArrayShortSparseNdArray. setObject(Short value, long... coordinates)Assigns the value of the scalar found at the given coordinates.ShortNdArrayShortSparseNdArray. setShort(short value, long... coordinates)Assigns the short value of the scalar found at the given coordinates.ShortNdArrayShortSparseNdArray. slice(long position, DimensionalSpace sliceDimensions)ShortNdArrayShortSparseNdArray. slice(Index... indices)Creates a multi-dimensional view (or slice) of this array by mapping one or more dimensions to the given index selectors.ShortNdArrayShortSparseNdArray. toDense()Converts the sparse array to a dense arrayShortNdArrayShortSparseNdArray. write(DataBuffer<Short> src)Write the content of this N-dimensional array from the source buffer.ShortNdArrayShortSparseNdArray. write(ShortDataBuffer src)Methods in org.tensorflow.ndarray.impl.sparse with parameters of type ShortNdArray Modifier and Type Method Description static 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 ShortNdArrayShortNdArrayShortSparseNdArray. fromDense(ShortNdArray src)Populates this sparse array from a dense arrayConstructors in org.tensorflow.ndarray.impl.sparse with parameters of type ShortNdArray Constructor Description ShortSparseNdArray(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 ShortNdArray Modifier and Type Class Description classShortSparseSliceMethods in org.tensorflow.ndarray.impl.sparse.slice that return ShortNdArray Modifier and Type Method Description ShortNdArrayShortSparseSlice. copyTo(NdArray<Short> dst)ShortNdArrayShortSparseSlice. createDefaultArray()ShortNdArrayShortSparseSlice. get(long... coordinates)ShortNdArrayShortSparseSlice. read(DataBuffer<Short> dst)Read the content of this N-dimensional array into the destination buffer.ShortNdArrayShortSparseSlice. read(ShortDataBuffer dst)ShortNdArrayShortSparseSlice. set(NdArray<Short> src, long... coordinates)ShortNdArrayShortSparseSlice. setObject(Short value, long... coordinates)ShortNdArrayShortSparseSlice. setShort(short value, long... coordinates)ShortNdArrayShortSparseSlice. slice(long position, DimensionalSpace sliceDimensions)ShortNdArrayShortSparseSlice. slice(Index... indices)ShortNdArrayShortSparseSlice. toDense()Converts the sparse window to a dense NdArrayShortNdArrayShortSparseSlice. write(DataBuffer<Short> src)ShortNdArrayShortSparseSlice. write(ShortDataBuffer src)Constructor parameters in org.tensorflow.ndarray.impl.sparse.slice with type arguments of type ShortNdArray Constructor Description ShortSparseSlice(AbstractSparseNdArray<Short,ShortNdArray> source, long sourcePosition, DimensionalSpace dimensions)Creates a LongSparseSlice
-