Uses of Interface
org.tensorflow.ndarray.NdArray
Packages that use NdArray
Package
Description
Defines classes that represent TensorFlow tensor types.
-
Uses of NdArray in org.tensorflow.ndarray
Classes in org.tensorflow.ndarray with type parameters of type NdArrayModifier and TypeInterfaceDescriptioninterfaceNdArraySequence<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.ndarrayModifier and TypeInterfaceDescriptioninterfaceAnNdArrayof booleans.interfaceAnNdArrayof bytes.interfaceAnNdArrayof doubles.interfaceAnNdArrayof floats.interfaceAnNdArrayof integers.interfaceAnNdArrayof longs.interfaceAnNdArrayof shorts.interfaceSparseNdArray<T, U extends NdArray<T>>Interface for Sparse ArraysMethods in org.tensorflow.ndarray that return NdArrayModifier and TypeMethodDescriptionNdArray.copyFrom(DataBuffer<T> src) Copy the content of the source buffer into this N-dimensional array.NdArray.copyTo(DataBuffer<T> dst) Copy the content of this N-dimensional array into the destination buffer.Copy the content of this array to the destination array.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> Creates an N-dimensional array of the given shape.static <T> NdArray<T> NdArrays.scalarOfObject(T value) Creates scalar (rank 0) initialized with the given value.Assigns the value of the N-dimensional element found at the given coordinates.Assigns the value of the scalar found at the given coordinates.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.Returns a new N-dimensional view of this array with the givenshape.static <T> NdArray<T> NdArrays.wrap(Shape shape, DataBuffer<T> buffer) Wraps a buffer in an N-dimensional array of a given shape.Methods in org.tensorflow.ndarray that return types with arguments of type NdArrayModifier and TypeMethodDescriptionNdArraySequence<? 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 NdArrayModifier and TypeMethodDescriptionstatic <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> voidCopy aNdArrayto an array of objectsstatic <T> voidCopy aNdArrayto a 2-dimensional array of objectsstatic <T> voidCopy aNdArrayto a 3-dimensional array of objectsstatic <T> voidCopy aNdArrayto a 4-dimensional array of objectsstatic <T> voidCopy aNdArrayto a 5-dimensional array of objectsstatic <T> voidCopy aNdArrayto a 6-dimensional array of objectsCopy the content of this array to the destination array.static <T> voidCopy a 6-dimensional array of objects into thedstNdArraystatic <T> voidCopy a 5-dimensional array of objects into thedstNdArraystatic <T> voidCopy a 4-dimensional array of objects into thedstNdArraystatic <T> voidCopy a 3-dimensional array of objects into thedstNdArraystatic <T> voidCopy a 2-dimensional array of objects into thedstNdArraystatic <T> voidCopy an array of objects into thedstNdArrayAssigns the value of the N-dimensional element found at the given 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.dense
Classes in org.tensorflow.ndarray.impl.dense with type parameters of type NdArrayClasses in org.tensorflow.ndarray.impl.dense that implement NdArrayModifier and TypeClassDescriptionclassAbstractDenseNdArray<T, U extends NdArray<T>>classclassclassDenseNdArray<T>classclassclassclassclassSubclasses with type arguments of type NdArray in org.tensorflow.ndarray.impl.denseMethods in org.tensorflow.ndarray.impl.dense that return NdArrayModifier and TypeMethodDescriptionstatic <T> NdArray<T> DenseNdArray.wrap(DataBuffer<T> buffer, Shape shape) Methods in org.tensorflow.ndarray.impl.dense with parameters of type NdArrayModifier and TypeMethodDescriptionprotected 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 NdArrayModifier and TypeClassDescriptionfinal classFastElementSequence<T, U extends NdArray<T>>A sequence recycling the sameNdArrayinstance when iterating its elementsfinal classSingleElementSequence<T, U extends NdArray<T>>A sequence of one single elementfinal classSlicingElementSequence<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 NdArrayModifier and TypeClassDescriptionclassAbstractSparseNdArray<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 NdArrayModifier and TypeClassDescriptionclassAbstractSparseNdArray<T, U extends NdArray<T>>Abstract base class for sparse array.classsparse array for the boolean data typeclasssparse array for the byte data typeclassA sparse array for the double data typeclasssparse array for the float data typeclasssparse array for the int data typeclasssparse array for the long data typeclasssparse 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 NdArrayModifier and TypeMethodDescriptionstatic <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> Creates a new SparseNdArray from a NdArraystatic <T, U extends NdArray<T>>
SparseNdArray<T, U> Creates a new SparseNdArray from a NdArrayMethods in org.tensorflow.ndarray.impl.sparse that return NdArrayModifier and TypeMethodDescriptionSparseNdArray.copyFrom(DataBuffer<T> src) Copy the content of the source buffer into this N-dimensional array.Copy the content of this array to the destination array.SparseNdArray.copyTo(DataBuffer<T> dst) Copy the content of this N-dimensional array into the destination buffer.Populates this sparse array from a dense arrayAbstractSparseNdArray.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.Creates a multi-dimensional view (or slice) of this array by mapping one or more dimensions to the given index selectors.Methods in org.tensorflow.ndarray.impl.sparse with parameters of type NdArrayModifier and TypeMethodDescriptionCopy the content of this array to the destination array.Copy the content of this array to the destination array.Copy the content of this array to the destination array.Copy the content of this array to the destination array.Copy the content of this array to the destination array.Copy the content of this array to the destination array.Copy the content of this array to the destination array.Copy the content of this array to the destination array.Populates this sparse array from a dense arrayAssigns the value of the N-dimensional element found at the given coordinates.Assigns the value of the N-dimensional element found at the given coordinates.Assigns the value of the N-dimensional element found at the given coordinates.Assigns the value of the N-dimensional element found at the given coordinates.Assigns the value of the N-dimensional element found at the given coordinates.Assigns the value of the N-dimensional element found at the given coordinates.Assigns the value of the N-dimensional element found at the given 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 NdArrayModifier and TypeClassDescriptionclassObjectSparseSlice<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 NdArrayModifier and TypeClassDescriptionclassclassclassclassclassclassclassObjectSparseSlice<T, U extends NdArray<T>>classclassSparseSlice<T, U extends NdArray<T>>A sparse window is a view into an AbstractSparseNdArray.Methods in org.tensorflow.ndarray.impl.sparse.slice that return NdArrayModifier and TypeMethodDescriptionSparseSlice.copyFrom(DataBuffer<T> src) Copy the content of the source buffer into this N-dimensional array.SparseSlice.get(long... coordinates) Returns the N-dimensional element of this array at the given coordinates.Creates a multi-dimensional view (or slice) of this array by mapping one or more dimensions to the given index selectors.Methods in org.tensorflow.ndarray.impl.sparse.slice with parameters of type NdArrayModifier and TypeMethodDescription -
Uses of NdArray in org.tensorflow.ndarray.index
Methods in org.tensorflow.ndarray.index with parameters of type NdArray -
Uses of NdArray in org.tensorflow.op
Methods in org.tensorflow.op with parameters of type NdArrayModifier and TypeMethodDescriptionCreates a constant ofStringelements that is a copy of a given n-dimensional array, using the given encoding.Creates a constant ofStringelements that is a copy of a given n-dimensional array, using the default UTF-8 encoding. -
Uses of NdArray in org.tensorflow.op.core
Methods in org.tensorflow.op.core with parameters of type NdArrayModifier and TypeMethodDescriptionCreates a constant ofStringelements that is a copy of a given n-dimensional array, using the given encoding.Creates a constant ofStringelements that is a copy of a given n-dimensional array, using the default UTF-8 encoding. -
Uses of NdArray in org.tensorflow.types
Subinterfaces of NdArray in org.tensorflow.typesModifier and TypeInterfaceDescriptioninterfaceBrain 16-bit float tensor type.interfaceBoolean tensor type.interfaceIEEE-754 half-precision 16-bit float tensor type.interfaceIEEE-754 single-precision 32-bit float tensor type.interfaceIEEE-754 double-precision 64-bit float tensor type.interface32-bit signed integer tensor type.interface64-bit signed integer tensor type.interfaceString type.interface16-bit unsigned integer tensor type.interface8-bit unsigned integer tensor type.Methods in org.tensorflow.types that return NdArrayMethods in org.tensorflow.types with parameters of type NdArrayModifier and TypeMethodDescriptionstatic TBfloat16Allocates a new tensor which is a copy of a given array of floats.static TBoolAllocates a new tensor which is a copy of a given array of booleans.static TFloat16Allocates a new tensor which is a copy of a given array of floats.static TFloat32Allocates a new tensor which is a copy of a given array of floats.static TFloat64Allocates a new tensor which is a copy of a given array of doubles.static TInt32Allocates a new tensor which is a copy of a given array of ints.static TInt64Allocates a new tensor which is a copy of a given array of longs.static TStringAllocates a new tensor which is a copy of a given array.static TStringAllocates a new tensor which is a copy of a given array.static TUint16Allocates a new tensor which is a copy of a given array of shorts.static TUint8Allocates a new tensor which is a copy of a given array of bytes.static TStringTString.tensorOfBytes(NdArray<byte[]> src) Allocates a new tensor which is a copy of a given array of raw bytes.