public QueueEnqueueMany queueEnqueueMany(Operand<?> handle, Iterable<Operand<?>> components, QueueEnqueueMany.Options... options)
QueueEnqueueMany operationhandle - The handle to a queue.components - One or more tensors from which the enqueued tensors shouldoptions - carries optional attributes valuesQueueEnqueueManypublic <T> DeserializeManySparse<T> deserializeManySparse(Operand<String> serializedSparse, Class<T> dtype)
DeserializeManySparse operationserializedSparse - 2-D, The `N` serialized `SparseTensor` objects.dtype - The `dtype` of the serialized `SparseTensor` objects.DeserializeManySparsepublic <U,T> SerializeSparse<U> serializeSparse(Operand<Long> sparseIndices, Operand<T> sparseValues, Operand<Long> sparseShape, Class<U> outType)
SerializeSparse operationsparseIndices - 2-D. The `indices` of the `SparseTensor`.sparseValues - 1-D. The `values` of the `SparseTensor`.sparseShape - 1-D. The `shape` of the `SparseTensor`.outType - The `dtype` to use for serialization; the supported types are `string`SerializeSparsepublic ParseSingleExample parseSingleExample(Operand<String> serialized, Iterable<Operand<?>> denseDefaults, Long numSparse, List<String> sparseKeys, List<String> denseKeys, List<Class<?>> sparseTypes, List<Shape> denseShapes)
ParseSingleExample operationserialized - A vector containing a batch of binary serialized Example protos.denseDefaults - A list of Tensors (some may be empty), whose length matchesnumSparse - The number of sparse features to be parsed from the example. ThissparseKeys - A list of `num_sparse` strings.denseKeys - The keys expected in the Examples' features associated with densesparseTypes - A list of `num_sparse` types; the data types of data in eachdenseShapes - The shapes of data in each Feature given in dense_keys.ParseSingleExamplepublic ReaderReset readerReset(Operand<?> readerHandle)
ReaderReset operationreaderHandle - Handle to a Reader.ReaderResetpublic RandomShuffleQueue randomShuffleQueue(List<Class<?>> componentTypes, RandomShuffleQueue.Options... options)
RandomShuffleQueue operationcomponentTypes - The type of each component in a value.options - carries optional attributes valuesRandomShuffleQueuepublic QueueDequeue queueDequeue(Operand<?> handle, List<Class<?>> componentTypes, QueueDequeue.Options... options)
QueueDequeue operationhandle - The handle to a queue.componentTypes - The type of each component in a tuple.options - carries optional attributes valuesQueueDequeuepublic ParseSingleSequenceExample parseSingleSequenceExample(Operand<String> serialized, Operand<String> featureListDenseMissingAssumedEmpty, Iterable<Operand<String>> contextSparseKeys, Iterable<Operand<String>> contextDenseKeys, Iterable<Operand<String>> featureListSparseKeys, Iterable<Operand<String>> featureListDenseKeys, Iterable<Operand<?>> contextDenseDefaults, Operand<String> debugName, List<Class<?>> contextSparseTypes, List<Class<?>> featureListDenseTypes, List<Class<?>> featureListSparseTypes, ParseSingleSequenceExample.Options... options)
ParseSingleSequenceExample operationserialized - A scalar containing a binary serialized SequenceExample proto.featureListDenseMissingAssumedEmpty - A vector listing thecontextSparseKeys - A list of Ncontext_sparse string Tensors (scalars).contextDenseKeys - A list of Ncontext_dense string Tensors (scalars).featureListSparseKeys - A list of Nfeature_list_sparse string TensorsfeatureListDenseKeys - A list of Nfeature_list_dense string Tensors (scalars).contextDenseDefaults - A list of Ncontext_dense Tensors (some may be empty).debugName - A scalar containing the name of the serialized proto.contextSparseTypes - A list of Ncontext_sparse types; the data types of data infeatureListDenseTypes - featureListSparseTypes - A list of Nfeature_list_sparse types; the data typesoptions - carries optional attributes valuesParseSingleSequenceExamplepublic <T> SerializeSparse<String> serializeSparse(Operand<Long> sparseIndices, Operand<T> sparseValues, Operand<Long> sparseShape)
SerializeSparse operationsparseIndices - 2-D. The `indices` of the `SparseTensor`.sparseValues - 1-D. The `values` of the `SparseTensor`.sparseShape - 1-D. The `shape` of the `SparseTensor`.SerializeSparsepublic ParseSequenceExample parseSequenceExample(Operand<String> serialized, Operand<String> debugName, Iterable<Operand<?>> contextDenseDefaults, List<String> featureListDenseMissingAssumedEmpty, List<String> contextSparseKeys, List<String> contextDenseKeys, List<String> featureListSparseKeys, List<String> featureListDenseKeys, List<Class<?>> contextSparseTypes, List<Class<?>> featureListDenseTypes, List<Class<?>> featureListSparseTypes, ParseSequenceExample.Options... options)
ParseSequenceExample operationserialized - A vector containing binary serialized SequenceExample protos.debugName - A vector containing the names of the serialized protos.contextDenseDefaults - A list of Ncontext_dense Tensors (some may be empty).featureListDenseMissingAssumedEmpty - A vector listing thecontextSparseKeys - A list of Ncontext_sparse string Tensors (scalars).contextDenseKeys - A list of Ncontext_dense string Tensors (scalars).featureListSparseKeys - A list of Nfeature_list_sparse string TensorsfeatureListDenseKeys - A list of Nfeature_list_dense string Tensors (scalars).contextSparseTypes - A list of Ncontext_sparse types; the data types of data infeatureListDenseTypes - featureListSparseTypes - A list of Nfeature_list_sparse types; the data typesoptions - carries optional attributes valuesParseSequenceExamplepublic ReaderNumWorkUnitsCompleted readerNumWorkUnitsCompleted(Operand<?> readerHandle)
ReaderNumWorkUnitsCompleted operationreaderHandle - Handle to a Reader.ReaderNumWorkUnitsCompletedpublic ReaderReadUpTo readerReadUpTo(Operand<?> readerHandle, Operand<?> queueHandle, Operand<Long> numRecords)
ReaderReadUpTo operationreaderHandle - Handle to a `Reader`.queueHandle - Handle to a `Queue`, with string work items.numRecords - number of records to read from `Reader`.ReaderReadUpTopublic DecodeBase64 decodeBase64(Operand<String> input)
DecodeBase64 operationinput - Base64 strings to decode.DecodeBase64public QueueEnqueue queueEnqueue(Operand<?> handle, Iterable<Operand<?>> components, QueueEnqueue.Options... options)
QueueEnqueue operationhandle - The handle to a queue.components - One or more tensors from which the enqueued tensors should be taken.options - carries optional attributes valuesQueueEnqueuepublic QueueDequeueUpTo queueDequeueUpTo(Operand<?> handle, Operand<Integer> n, List<Class<?>> componentTypes, QueueDequeueUpTo.Options... options)
QueueDequeueUpTo operationhandle - The handle to a queue.n - The number of tuples to dequeue.componentTypes - The type of each component in a tuple.options - carries optional attributes valuesQueueDequeueUpTopublic WholeFileReader wholeFileReader(WholeFileReader.Options... options)
WholeFileReader operationoptions - carries optional attributes valuesWholeFileReaderpublic MatchingFiles matchingFiles(Operand<String> pattern)
MatchingFiles operationpattern - Shell wildcard pattern(s). Scalar or vector of type string.MatchingFilespublic QueueClose queueClose(Operand<?> handle, QueueClose.Options... options)
QueueClose operationhandle - The handle to a queue.options - carries optional attributes valuesQueueClosepublic WriteFile writeFile(Operand<String> filename, Operand<String> contents)
WriteFile operationfilename - scalar. The name of the file to which we write the contents.contents - scalar. The content to be written to the output file.WriteFilepublic DecodeCompressed decodeCompressed(Operand<String> bytes, DecodeCompressed.Options... options)
DecodeCompressed operationbytes - A Tensor of string which is compressed.options - carries optional attributes valuesDecodeCompressedpublic ParseExample parseExample(Operand<String> serialized, Operand<String> names, Iterable<Operand<String>> sparseKeys, Iterable<Operand<String>> denseKeys, Iterable<Operand<?>> denseDefaults, List<Class<?>> sparseTypes, List<Shape> denseShapes)
ParseExample operationserialized - A vector containing a batch of binary serialized Example protos.names - A vector containing the names of the serialized protos.sparseKeys - A list of Nsparse string Tensors (scalars).denseKeys - A list of Ndense string Tensors (scalars).denseDefaults - A list of Ndense Tensors (some may be empty).sparseTypes - A list of Nsparse types; the data types of data in each FeaturedenseShapes - A list of Ndense shapes; the shapes of data in each FeatureParseExamplepublic ReadFile readFile(Operand<String> filename)
ReadFile operationfilename - ReadFilepublic FifoQueue fifoQueue(List<Class<?>> componentTypes, FifoQueue.Options... options)
FifoQueue operationcomponentTypes - The type of each component in a value.options - carries optional attributes valuesFifoQueuepublic LmdbReader lmdbReader(LmdbReader.Options... options)
LmdbReader operationoptions - carries optional attributes valuesLmdbReaderpublic <T> ParseTensor<T> parseTensor(Operand<String> serialized, Class<T> outType)
ParseTensor operationserialized - A scalar string containing a serialized TensorProto proto.outType - The type of the serialized tensor. The provided type must match theParseTensorpublic ShardedFilename shardedFilename(Operand<String> basename, Operand<Integer> shard, Operand<Integer> numShards)
ShardedFilename operationbasename - shard - numShards - ShardedFilenamepublic PriorityQueue priorityQueue(List<Class<?>> componentTypes, List<Shape> shapes, PriorityQueue.Options... options)
PriorityQueue operationcomponentTypes - The type of each component in a value.shapes - The shape of each component in a value. The length of this attr mustoptions - carries optional attributes valuesPriorityQueuepublic ReaderRestoreState readerRestoreState(Operand<?> readerHandle, Operand<String> state)
ReaderRestoreState operationreaderHandle - Handle to a Reader.state - Result of a ReaderSerializeState of a Reader with typeReaderRestoreStatepublic QueueDequeueMany queueDequeueMany(Operand<?> handle, Operand<Integer> n, List<Class<?>> componentTypes, QueueDequeueMany.Options... options)
QueueDequeueMany operationhandle - The handle to a queue.n - The number of tuples to dequeue.componentTypes - The type of each component in a tuple.options - carries optional attributes valuesQueueDequeueManypublic DecodeJsonExample decodeJsonExample(Operand<String> jsonExamples)
DecodeJsonExample operationjsonExamples - Each string is a JSON object serialized according to the JSONDecodeJsonExamplepublic <T> DecodeRaw<T> decodeRaw(Operand<String> bytes, Class<T> outType, DecodeRaw.Options... options)
DecodeRaw operationbytes - All the elements must have the same length.outType - options - carries optional attributes valuesDecodeRawpublic ShardedFilespec shardedFilespec(Operand<String> basename, Operand<Integer> numShards)
ShardedFilespec operationbasename - numShards - ShardedFilespecpublic ReaderRead readerRead(Operand<?> readerHandle, Operand<?> queueHandle)
ReaderRead operationreaderHandle - Handle to a Reader.queueHandle - Handle to a Queue, with string work items.ReaderReadpublic <U,T> SerializeManySparse<U> serializeManySparse(Operand<Long> sparseIndices, Operand<T> sparseValues, Operand<Long> sparseShape, Class<U> outType)
SerializeManySparse operationsparseIndices - 2-D. The `indices` of the minibatch `SparseTensor`.sparseValues - 1-D. The `values` of the minibatch `SparseTensor`.sparseShape - 1-D. The `shape` of the minibatch `SparseTensor`.outType - The `dtype` to use for serialization; the supported types are `string`SerializeManySparsepublic ReaderNumRecordsProduced readerNumRecordsProduced(Operand<?> readerHandle)
ReaderNumRecordsProduced operationreaderHandle - Handle to a Reader.ReaderNumRecordsProducedpublic <T> SerializeTensor serializeTensor(Operand<T> tensor)
SerializeTensor operationtensor - A Tensor of type `T`.SerializeTensorpublic TfRecordReader tfRecordReader(TfRecordReader.Options... options)
TfRecordReader operationoptions - carries optional attributes valuesTfRecordReaderpublic QueueIsClosed queueIsClosed(Operand<?> handle)
QueueIsClosed operationhandle - The handle to a queue.QueueIsClosedpublic IdentityReader identityReader(IdentityReader.Options... options)
IdentityReader operationoptions - carries optional attributes valuesIdentityReaderpublic QueueSize queueSize(Operand<?> handle)
QueueSize operationhandle - The handle to a queue.QueueSizepublic PaddingFifoQueue paddingFifoQueue(List<Class<?>> componentTypes, PaddingFifoQueue.Options... options)
PaddingFifoQueue operationcomponentTypes - The type of each component in a value.options - carries optional attributes valuesPaddingFifoQueuepublic <T> SerializeManySparse<String> serializeManySparse(Operand<Long> sparseIndices, Operand<T> sparseValues, Operand<Long> sparseShape)
SerializeManySparse operationsparseIndices - 2-D. The `indices` of the minibatch `SparseTensor`.sparseValues - 1-D. The `values` of the minibatch `SparseTensor`.sparseShape - 1-D. The `shape` of the minibatch `SparseTensor`.SerializeManySparsepublic EncodeBase64 encodeBase64(Operand<String> input, EncodeBase64.Options... options)
EncodeBase64 operationinput - Strings to be encoded.options - carries optional attributes valuesEncodeBase64public ReaderSerializeState readerSerializeState(Operand<?> readerHandle)
ReaderSerializeState operationreaderHandle - Handle to a Reader.ReaderSerializeStatepublic FixedLengthRecordReader fixedLengthRecordReader(Long recordBytes, FixedLengthRecordReader.Options... options)
FixedLengthRecordReader operationrecordBytes - Number of bytes in the record.options - carries optional attributes valuesFixedLengthRecordReaderpublic TextLineReader textLineReader(TextLineReader.Options... options)
TextLineReader operationoptions - carries optional attributes valuesTextLineReaderpublic DecodeCsv decodeCsv(Operand<String> records, Iterable<Operand<?>> recordDefaults, DecodeCsv.Options... options)
DecodeCsv operationrecords - Each string is a record/row in the csv and all records should haverecordDefaults - One tensor per column of the input record, with either aoptions - carries optional attributes valuesDecodeCsvCopyright © 2022. All rights reserved.