Uses of Interface
org.tensorflow.ndarray.Shaped
Packages that use Shaped
Package
Description
Defines classes to build, save, load and execute TensorFlow models.
Defines classes that represent TensorFlow tensor types.
Interfaces used to group tensor types in families that define a particular domain of data.
-
Uses of Shaped in org.tensorflow
Subinterfaces of Shaped in org.tensorflowModifier and TypeInterfaceDescriptioninterfaceInterface implemented by operands of a TensorFlow operation.interfaceSparseTensor<T extends TType>A virtual type ofTensorcomposed of three dense tensors (indices, values and dimensions) used to represent the sparse data into a multi-dimensional dense space.interfaceA statically typed multi-dimensional array.Classes in org.tensorflow that implement Shaped -
Uses of Shaped in org.tensorflow.ndarray
Subinterfaces of Shaped in org.tensorflow.ndarrayModifier and TypeInterfaceDescriptioninterfaceAnNdArrayof booleans.interfaceAnNdArrayof bytes.interfaceAnNdArrayof doubles.interfaceAnNdArrayof floats.interfaceAnNdArrayof integers.interfaceAnNdArrayof longs.interfaceNdArray<T>A data structure of N-dimensions.interfaceAnNdArrayof shorts.interfaceSparseNdArray<T, U extends NdArray<T>>Interface for Sparse Arrays -
Uses of Shaped in org.tensorflow.ndarray.impl.dense
Classes in org.tensorflow.ndarray.impl.dense that implement ShapedModifier and TypeClassDescriptionclassAbstractDenseNdArray<T, U extends NdArray<T>>classclassclassDenseNdArray<T>classclassclassclassclass -
Uses of Shaped in org.tensorflow.ndarray.impl.sparse
Classes in org.tensorflow.ndarray.impl.sparse that implement ShapedModifier 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 type -
Uses of Shaped in org.tensorflow.ndarray.impl.sparse.slice
Classes in org.tensorflow.ndarray.impl.sparse.slice that implement ShapedModifier and TypeClassDescriptionclassclassclassclassclassclassclassObjectSparseSlice<T, U extends NdArray<T>>classclassSparseSlice<T, U extends NdArray<T>>A sparse window is a view into an AbstractSparseNdArray. -
Uses of Shaped in org.tensorflow.op.audio
Classes in org.tensorflow.op.audio that implement ShapedModifier and TypeClassDescriptionfinal classProduces a visualization of audio data over time.final classEncode audio data using the WAV file format.final classTransforms a spectrogram into a form that's useful for speech recognition. -
Uses of Shaped in org.tensorflow.op.bitwise
Classes in org.tensorflow.op.bitwise that implement ShapedModifier and TypeClassDescriptionfinal classBitwiseAnd<T extends TNumber>Elementwise computes the bitwise AND ofxandy.final classElementwise computes the bitwise OR ofxandy.final classBitwiseXor<T extends TNumber>Elementwise computes the bitwise XOR ofxandy.final classInvert (flip) each bit of supported types; for example, typeuint8value 01010101 becomes 10101010.final classElementwise computes the bitwise left-shift ofxandy.final classRightShift<T extends TNumber>Elementwise computes the bitwise right-shift ofxandy. -
Uses of Shaped in org.tensorflow.op.cluster
Classes in org.tensorflow.op.cluster that implement ShapedModifier and TypeClassDescriptionfinal classReturns the index of a data point that should be added to the seed set.final classSelects num_to_sample rows of input using the KMeans++ criterion. -
Uses of Shaped in org.tensorflow.op.collective
Classes in org.tensorflow.op.collective that implement ShapedModifier and TypeClassDescriptionfinal classCollectiveAllToAll<T extends TNumber>Mutually exchanges multiple tensors of identical type and shape.final classCollectiveBcastRecv<U extends TType>Receives a tensor value broadcast from another device.final classCollectiveBcastSend<T extends TType>Broadcasts a tensor value to one or more other devices.final classCollectiveGather<T extends TNumber>Mutually accumulates multiple tensors of identical type and shape.final classInitializes a group for collective operations.final classCollectivePermute<T extends TType>An Op to permute tensors across replicated TPU instances.final classCollectiveReduce<T extends TNumber>Mutually reduces multiple tensors of identical type and shape.final classCollectiveReduceScatter<T extends TNumber>Mutually reduces multiple tensors of identical type and shape and scatters the result. -
Uses of Shaped in org.tensorflow.op.core
Classes in org.tensorflow.op.core that implement ShapedModifier and TypeClassDescriptionfinal classComputes the "logical and" of elements across dimensions of a tensor.final classCreates a uninitialized anonymous hash table.final classCreates an empty anonymous mutable hash table that uses tensors as the backing store.final classCreates an empty anonymous mutable hash table.final classCreates an empty anonymous mutable hash table of vector values.final classComputes the "logical or" of elements across dimensions of a tensor.final classUpdate 'ref' by assigning 'value' to it.final classUpdate 'ref' by adding 'value' to it.final classUpdate 'ref' by subtracting 'value' from it.final classDefines a barrier that persists across different graph executions.final classComputes the number of incomplete elements in the given barrier.final classComputes the number of complete elements in the given barrier.final classBatchToSpace<T extends TType>BatchToSpace for 4-D tensors of type T.final classBatchToSpaceNd<T extends TType>BatchToSpace for N-D tensors of type T.final classBitcasts a tensor from one type to another without copying data.final classBroadcastDynamicShape<T extends TNumber>Return the shape of s0 op s1 with broadcast.final classBroadcastTo<T extends TType>Broadcast an array for a compatible shape.final classBucketizes 'input' based on 'boundaries'.final classCheckPinned<T extends TType>Checks whether a tensor is located in host memory pinned for GPU.final classClipByValue<T extends TType>Clips tensor values to a specified min and max.final classEncodes anExtensionTypevalue into avariantscalar Tensor.final classConcatenates tensors along one dimension.final classAn operator producing a constant value.final classCopy a tensor from CPU-to-CPU or GPU-to-GPU.final classCopy a tensor to host.final classCopyToMesh<T extends TType>The CopyToMesh operationfinal classCopyToMeshGrad<T extends TType>The CopyToMeshGrad operationfinal classIncrements 'ref' until it reaches 'limit'.final classMakes a copy ofx.final classDestroyTemporaryVariable<T extends TType>Destroys the temporary variable and returns its final value.final classReturn the index of device the op runs.final classThe DummyMemoryCache operationfinal classDynamicStitch<T extends TType>Interleave the values from thedatatensors into a single tensor.final classComputes the (possibly normalized) Levenshtein Edit Distance.final classCreates a tensor with the given shape.final classCreates and returns an empty tensor list.final classCreates and returns an empty tensor map. handle: an empty tensor mapfinal classThe op serializes protobuf messages provided in the input tensors.final classEnsureShape<T extends TType>Ensures that the tensor's shape matches the expected shape.final classCreates or finds a child frame, and makesdataavailable to the child frame.final classExits the current frame to its parent frame.final classExpandDims<T extends TType>Inserts a dimension of 1 into a tensor's shape.final classExtractVolumePatches<T extends TNumber>Extractpatchesfrominputand put them in the"depth"output dimension. 3D extension ofextract_image_patches.final classThis op is used as a placeholder in If branch functions.final classCreates a tensor filled with a scalar value.final classGenerates fingerprint values.final classGather slices fromparamsaxisaxisaccording toindices.final classGather slices fromparamsinto a Tensor with shape specified byindices.final classReturns thetf.data.Optionsattached toinput_dataset.final classStore the input tensor in the state of the current session.final classGetSessionTensor<T extends TType>Get the value of the tensor specified by its handle.final classGuaranteeConst<T extends TType>Gives a guarantee to the TF runtime that the input tensor is a constant.final classCreates a non-initialized hash table.final classHistogramFixedWidth<U extends TNumber>Return histogram of values.final classReturns a constant tensor on the host.final classReturn a tensor with the same shape and contents as the input tensor or value.final classImmutableConst<T extends TType>Returns immutable tensor from memory region.final classInplaceAdd<T extends TType>Adds v into specified rows of x.final classInplaceSub<T extends TType>Subtracts `v` into specified rows of `x`.final classInplaceUpdate<T extends TType>Updates specified rows 'i' with values 'v'.final classChecks whether a tensor has been initialized.final classComputes the Kth order statistic of a data set.final classGenerates values in an interval.final classLookupTableFind<U extends TType>Looks up keys in a table, outputs the corresponding values.final classComputes the number of elements in the given table.final classForwards the input to the output.final classLowerBound<U extends TNumber>Applies lower_bound(sorted_search_values, values) along each row.final classMake all elements in the non-Batch dimension unique, but "close" to their initial value.final classOp returns the number of incomplete elements in the underlying container.final classOp returns the number of elements in the underlying container.final classComputes the maximum of elements across dimensions of a tensor.final classComputes the minimum of elements across dimensions of a tensor.final classPads a tensor with mirrored values.final classMirrorPadGrad<T extends TType>Gradient op forMirrorPadop.final classCreates an empty hash table that uses tensors as the backing store.final classCreates an empty hash table.final classCreates an empty hash table.final classCreates a Mutex resource that can be locked byMutexLock.final classLocks a mutex resource.final classNcclAllReduce<T extends TNumber>Deprecated.final classNcclBroadcast<T extends TNumber>Deprecated.useNcclBroadcastinsteadfinal classNcclReduce<T extends TNumber>Deprecated.useNcclReduceinsteadfinal classNextIteration<T extends TType>Makes its input available to the next iteration.final classReturns a one-hot tensor.final classAn operator creating a constant initialized with ones of the shape given by `dims`.final classReturns a tensor of ones with the same shape and type as x.final classOp returns the number of incomplete elements in the underlying container.final classOp returns the number of elements in the underlying container.final classPads a tensor.final classParallelConcat<T extends TType>Concatenates a list ofNtensors along the first dimension.final classParallelDynamicStitch<T extends TType>Interleave the values from thedatatensors into a single tensor.final classPlaceholder<T extends TType>A placeholder op for a value that will be fed into the computation.final classPlaceholderWithDefault<T extends TType>A placeholder op that passes throughinputwhen its output is not fed.final classComputes the product of elements across dimensions of a tensor.final classRandomIndexShuffle<T extends TNumber>Outputs the position ofvaluein a permutation of [0, ..., max_index].final classCreates a sequence of numbers.final classReturns the rank of a tensor.final classReadVariableOp<T extends TType>Reads the value of a variable.final classReceives the named tensor from send_device on recv_device.final classComputes the "logical and" of elements across dimensions of a tensor.final classComputes the "logical or" of elements across dimensions of a tensor.final classComputes the maximum of elements across dimensions of a tensor.final classComputes the minimum of elements across dimensions of a tensor.final classReduceProd<T extends TType>Computes the product of elements across dimensions of a tensor.final classComputes the sum of elements across dimensions of a tensor.final classCreates or finds a child frame, and makesdataavailable to the child frame.final classExits the current frame to its parent frame.final classRefIdentity<T extends TType>Return the same ref tensor as the input ref tensor.final classRefNextIteration<T extends TType>Makes its input available to the next iteration.final classForwards theindexth element ofinputstooutput.final classThe Relayout operationfinal classRelayoutLike<T extends TType>The RelayoutLike operationfinal classReshapes a tensor.final classResourceCountUpTo<T extends TNumber>Increments variable pointed to by 'resource' until it reaches 'limit'.final classResourceGather<U extends TType>Gather slices from the variable pointed to byresourceaccording toindices.final classResourceGatherNd<U extends TType>The ResourceGatherNd operationfinal classReverses specific dimensions of a tensor.final classReverseSequence<T extends TType>Reverses variable length slices.final classRolls the elements of a tensor along an axis.final classScatterAdd<T extends TType>Adds sparse updates to a variable reference.final classScatterDiv<T extends TType>Divides a variable reference by sparse updates.final classScatterMax<T extends TNumber>Reduces sparse updates into a variable reference using themaxoperation.final classScatterMin<T extends TNumber>Reduces sparse updates into a variable reference using theminoperation.final classScatterMul<T extends TType>Multiplies sparse updates into a variable reference.final classScattersupdatesinto a tensor of shapeshapeaccording toindices.final classScatterNdAdd<T extends TType>Applies sparse addition to individual values or slices in a Variable.final classScatterNdMax<T extends TType>Computes element-wise maximum.final classScatterNdMin<T extends TType>Computes element-wise minimum.final classScatterNdNonAliasingAdd<T extends TType>Applies sparse addition toinputusing individual values or slices fromupdatesaccording to indicesindices.final classScatterNdSub<T extends TType>Applies sparse subtraction to individual values or slices in a Variable. within a given variable according toindices.final classScatterNdUpdate<T extends TType>Applies sparseupdatesto individual values or slices within a given variable according toindices.final classScatterSub<T extends TType>Subtracts sparse updates to a variable reference.final classScatterUpdate<T extends TType>Applies sparse updates to a variable reference.final classThe SelectV2 operationfinal classNumber of unique elements along last dimension of inputset.final classReturns the shape of a tensor.final classReturns the size of a tensor.final classReturn a slice from 'input'.final classReturns a copy of the input tensor.final classSpaceToBatchNd<T extends TType>SpaceToBatch for N-D tensors of type T.final classRemoves dimensions of size 1 from the shape of a tensor.final classPacks a list ofNrank-Rtensors into one rank-(R+1)tensor.final classA stack that produces elements in first-in last-out order.final classPop the element at the top of the stack.final classPush an element onto the stack.final classOp returns the number of elements in the underlying container.final classStochasticCastToInt<U extends TNumber>Stochastically cast a given tensor from floats to ints.final classStopGradient<T extends TType>Stops gradient computation.final classStridedSlice<T extends TType>Return a strided slice frominput.final classStridedSliceAssign<T extends TType>Assignvalueto the sliced l-value reference ofref.final classStridedSliceGrad<U extends TType>Returns the gradient ofStridedSlice.final classComputes the sum of elements across dimensions of a tensor.final classTemporaryVariable<T extends TType>Returns a tensor that may be mutated, but only persists within a single step.final classTensorArrayGather<T extends TType>Gather specific elements from the TensorArray into outputvalue.final classTensorArrayPack<T extends TType>The TensorArrayPack operationfinal classTensorArrayRead<T extends TType>Read an element from the TensorArray into outputvalue.final classScatter the data from the input value into specific TensorArray elements.final classGet the current size of the TensorArray.final classSplit the data from the input value into TensorArray elements.final classThe TensorArrayUnpack operationfinal classPush an element onto the tensor_array.final classThe TensorListConcatLists operationfinal classTensorListElementShape<T extends TNumber>The shape of the elements of the given list, as a tensor. input_handle: the list element_shape: the shape of elements of the listfinal classCreates a TensorList which, when stacked, has the value oftensor.final classTensorListGather<T extends TType>Creates a Tensor by indexing into the TensorList.final classTensorListGetItem<U extends TType>Returns the item in the list with the given index. input_handle: the list index: the position in the list from which an element will be retrieved item: the element at that positionfinal classReturns the number of tensors in the input tensor list. input_handle: the input list length: the number of tensors in the listfinal classReturns a list which has the passed-inTensoras last element and the other elements of the given list ininput_handle. tensor: The tensor to put on the list. input_handle: The old list. output_handle: A list with the elements of the old list followed by tensor. element_dtype: the type of elements in the list. element_shape: a shape compatible with that of elements in the list.final classThe TensorListPushBackBatch operationfinal classList of the given size with empty elements. element_shape: the shape of the future elements of the list num_elements: the number of elements to reserve handle: the output list element_dtype: the desired type of elements in the list.final classResizes the list. input_handle: the input list size: size of the output listfinal classCreates a TensorList by indexing into a Tensor.final classScatters tensor at indices in an input list.final classSets the index-th position of the list to contain the given tensor. input_handle: the list index: the position in the list to which the tensor will be assigned item: the element to be assigned to that position output_handle: the new list, with the element in the proper positionfinal classSplits a tensor into a list. list[i] corresponds to lengths[i] tensors from the input tensor.final classTensorListStack<T extends TType>Stacks all tensors in the list.final classReturns a tensor map with item from given key erased. input_handle: the original map output_handle: the map with value from given key removed key: the key of the value to be erasedfinal classReturns whether the given key exists in the map. input_handle: the input map key: the key to check has_key: whether the key is already in the map or notfinal classReturns a map that is the 'input_handle' with the given key-value pair inserted. input_handle: the original map output_handle: the map with key and value inserted key: the key to be inserted value: the value to be insertedfinal classTensorMapLookup<U extends TType>Returns the value from a given key in a tensor map. input_handle: the input map key: the key to be looked up value: the value found from the given keyfinal classReturns the number of tensors in the input tensor map. input_handle: the input map size: the number of tensors in the mapfinal classTensorMapStackKeys<T extends TType>Returns a Tensor stack of all keys in a tensor map. input_handle: the input map keys: the returned Tensor of all keys in the mapfinal classTensorScatterNdAdd<T extends TType>Adds sparseupdatesto an existing tensor according toindices.final classTensorScatterNdMax<T extends TType>Apply a sparse update to a tensor taking the element-wise maximum.final classTensorScatterNdMin<T extends TType>The TensorScatterMin operationfinal classTensorScatterNdSub<T extends TType>Subtracts sparseupdatesfrom an existing tensor according toindices.final classTensorScatterNdUpdate<T extends TType>Scatterupdatesinto an existing tensor according toindices.final classTensorStridedSliceUpdate<T extends TType>Assignvalueto the sliced l-value reference ofinput.final classConstructs a tensor by tiling a given tensor.final classProvides the time since epoch in seconds.final classReverses the operation of Batch for a single output Tensor.final classUnbatchGrad<T extends TType>Gradient of Unbatch.final classUniformQuantizedClipByValue<T extends TNumber>Perform clip by value on the quantized Tensoroperand.final classUnravelIndex<T extends TNumber>Converts an array of flat indices into a tuple of coordinate arrays.final classUpperBound<U extends TNumber>Applies upper_bound(sorted_search_values, values) along each row.final classCreates a handle to a Variable resource.final classHolds state in the form of a tensor that persists across steps.final classVariableShape<T extends TNumber>Returns the shape of the variable pointed to byresource.final classChecks whether a resource handle-based variable has been initialized.final classReturns locations of nonzero / true values in a tensor.final classAn operator creating a constant initialized with zeros of the shape given by `dims`.final classReturns a tensor of zeros with the same shape and type as x. -
Uses of Shaped in org.tensorflow.op.data
Classes in org.tensorflow.op.data that implement ShapedModifier and TypeClassDescriptionfinal classA container for an iterator resource.final classA container for a multi device iterator resource.final classThe AssertCardinalityDataset operationfinal classA transformation that asserts which transformations happen next.final classA transformation that asserts which transformations happened previously.final classCreates a dataset that shards the input dataset.final classCreates a dataset that batchesbatch_sizeelements frominput_dataset.final classRecords the bytes size of each element ofinput_datasetin a StatsAggregator.final classThe CacheDatasetV2 operationfinal classThe ChooseFastestBranchDataset operationfinal classThe ChooseFastestDataset operationfinal classCompresses a dataset element.final classCreates a dataset that concatenatesinput_datasetwithanother_dataset.final classThe CSVDatasetV2 operationfinal classCreates a dataset that reads data from the tf.data service.final classReturns the cardinality ofinput_dataset.final classReturns the fingerprint ofinput_dataset.final classCreates a dataset from the givengraph_def.final classReturns a serialized GraphDef representinginput_dataset.final classCreates a dataset that batches input elements into a SparseTensor.final classA substitute forInterleaveDataseton a fixed list ofNdatasets.final classThe DummyIterationCounter operationfinal classCreates a dataset containing elements of first component ofinput_datasethaving true in the last component.final classCreates a dataset containing elements ofinput_datasetmatchingpredicate.final classCreates a dataset by applyingtf.data.Optionstoinput_dataset.final classThe FixedLengthRecordDatasetV2 operationfinal classCreates a dataset that appliesfto the outputs ofinput_dataset.final classCreates a dataset that invokes a function to generate elements.final classThe GlobalShuffleDataset operationfinal classCreates a dataset that computes a group-by oninput_dataset.final classCreates a dataset that computes a windowed group-by oninput_dataset. // TODO(mrry): Support non-int64 keys.final classCreates a dataset that contains the elements ofinput_datasetignoring errors.final classThe IndexFlatMapDataset operationfinal classCreates a dataset that appliesfto the outputs ofinput_dataset.final classThe IteratorV2 operationfinal classThe IteratorFromStringHandleV2 operationfinal classReturns the name of the device on whichresourcehas been placed.final classReturns the serialized model proto of an iterator resource.final classGets the next output from the given iterator as an Optional variant.final classConverts the givenresource_handlerepresenting an iterator to a string.final classRecords the latency of producinginput_datasetelements in a StatsAggregator.final classLeakyReluGrad<T extends TNumber>Computes rectified linear gradients for a LeakyRelu operation.final classCreates a dataset that appliesfto the outputs ofinput_dataset.final classCreates a dataset that emits each oftensorsonce.final classThe ListSnapshotChunksDataset operationfinal classCreates a dataset that emits the key-value pairs in one or more LMDB files.final classThe LoadDataset operationfinal classCreates a dataset that fuses mapping with batching.final classCreates a dataset that appliesfto the outputs ofinput_dataset.final classThe MatchingFilesDataset operationfinal classCreates a dataset that overrides the maximum intra-op parallelism.final classIdentity transformation that models performance.final classCreates a MultiDeviceIterator resource.final classGenerates a MultiDeviceIterator resource from its provided string handle.final classInitializes the multi device iterator with the given dataset.final classProduces a string handle for the given MultiDeviceIterator.final classThe NonSerializableDataset operationfinal classMakes a "one-shot" iterator that can be iterated only once.final classCreates a dataset by applying related optimizations toinput_dataset.final classConstructs an Optional variant from a tuple of tensors.final classReturns true if and only if the given Optional variant has a value.final classCreates an Optional variant with no value.final classCreates a dataset by attaching tf.data.Options toinput_dataset.final classCreates a dataset that batches and padsbatch_sizeelements from the input.final classThe ParallelBatchDataset operationfinal classCreates a dataset containing elements ofinput_datasetmatchingpredicate.final classCreates a dataset that appliesfto the outputs ofinput_dataset.final classCreates a dataset that appliesfto the outputs ofinput_dataset.final classTransformsinput_datasetcontainingExampleprotos as vectors of DT_STRING into a dataset ofTensororSparseTensorobjects representing the parsed features.final classCreates a dataset that asynchronously prefetches elements frominput_dataset.final classCreates a dataset that uses a custom thread pool to computeinput_dataset.final classCreates a Dataset that returns pseudorandom numbers.final classCreates a dataset with a range of values.final classCreates a dataset that changes the batch size.final classRegisters a dataset with the tf.data service.final classCreates a dataset that emits the outputs ofinput_datasetcounttimes.final classThe RewriteDataset operationfinal classCreates a dataset that takes a Bernoulli sample of the contents of another dataset.final classThe SaveDatasetV2 operationfinal classCreates a dataset successively reducesfover the elements ofinput_dataset.final classConverts the givenresource_handlerepresenting an iterator to a variant tensor.final classThe SetStatsAggregatorDataset operationfinal classCreates aDatasetthat includes only 1/num_shardsof this dataset.final classThe ShuffleAndRepeatDatasetV2 operationfinal classThe ShuffleDatasetV3 operationfinal classCreates a dataset that skipscountelements from theinput_dataset.final classThe SleepDataset operationfinal classCreates a dataset that passes a sliding window overinput_dataset.final classThe SnapshotChunkDataset operationfinal classCreates a dataset that will write to / read from a snapshot.final classThe SnapshotDatasetReader operationfinal classThe SnapshotNestedDatasetReader operationfinal classCreates a dataset that splits a SparseTensor into elements row-wise.final classCreates a dataset that executes a SQL query and emits rows of the result set.final classThe StatsAggregatorHandleV2 operationfinal classCreates a dataset that containscountelements from theinput_dataset.final classCreates a dataset that stops iteration when predicate` is false.final classCreates a dataset that emitscomponentsas a tuple of tensors once.final classCreates a dataset that emits each dim-0 slice ofcomponentsonce.final classCreates a dataset that emits the lines of one or more text files.final classCreates a dataset that emits the records from one or more TFRecord files.final classCreates a dataset that uses a custom thread pool to computeinput_dataset.final classCreates a dataset that uses a custom thread pool to computeinput_dataset.final classA dataset that splits the elements of its input into multiple elements.final classCreates a dataset that contains the unique elements ofinput_dataset.final classThe UnwrapDatasetVariant operationfinal classThe WeightedFlatMapDataset operationfinal classCombines (nests of) input elements into a dataset of (nests of) windows.final classThe WindowOp operationfinal classThe WrapDatasetVariant operationfinal classCreates a dataset that zips togetherinput_datasets. -
Uses of Shaped in org.tensorflow.op.data.experimental
Classes in org.tensorflow.op.data.experimental that implement ShapedModifier and TypeClassDescriptionfinal classThe ExperimentalAssertNextDataset operationfinal classCreates a dataset that shards the input dataset.final classRecords the bytes size of each element ofinput_datasetin a StatsAggregator.final classThe ExperimentalChooseFastestDataset operationfinal classThe ExperimentalCSVDataset operationfinal classReturns the cardinality ofinput_dataset.final classCreates a dataset that batches input elements into a SparseTensor.final classA substitute forInterleaveDataseton a fixed list ofNdatasets.final classCreates a dataset that computes a group-by oninput_dataset.final classCreates a dataset that computes a windowed group-by oninput_dataset. // TODO(mrry): Support non-int64 keys.final classCreates a dataset that contains the elements ofinput_datasetignoring errors.final classReturns the name of the device on whichresourcehas been placed.final classRecords the latency of producinginput_datasetelements in a StatsAggregator.final classThe ExperimentalLMDBDataset operationfinal classCreates a dataset that fuses mapping with batching.final classCreates a dataset that appliesfto the outputs ofinput_dataset.final classThe ExperimentalMatchingFilesDataset operationfinal classCreates a dataset that overrides the maximum intra-op parallelism.final classThe ExperimentalNonSerializableDataset operationfinal classCreates a dataset that appliesfto the outputs ofinput_dataset.final classTransformsinput_datasetcontainingExampleprotos as vectors of DT_STRING into a dataset ofTensororSparseTensorobjects representing the parsed features.final classCreates a dataset that uses a custom thread pool to computeinput_dataset.final classCreates a Dataset that returns pseudorandom numbers.final classCreates a dataset that changes the batch size.final classCreates a dataset successively reducesfover the elements ofinput_dataset.final classThe ExperimentalSetStatsAggregatorDataset operationfinal classThe ExperimentalSleepDataset operationfinal classCreates a dataset that passes a sliding window overinput_dataset.final classCreates a dataset that executes a SQL query and emits rows of the result set.final classCreates a statistics manager resource.final classProduces a summary of any statistics recorded by the given statistics manager.final classCreates a dataset that stops iteration when predicate` is false.final classCreates a dataset that uses a custom thread pool to computeinput_dataset.final classCreates a dataset that uses a custom thread pool to computeinput_dataset.final classA dataset that splits the elements of its input into multiple elements.final classCreates a dataset that contains the unique elements ofinput_dataset. -
Uses of Shaped in org.tensorflow.op.debugging
Classes in org.tensorflow.op.debugging that implement ShapedModifier and TypeClassDescriptionfinal classCheckNumerics<T extends TNumber>Checks a tensor for NaN, -Inf and +Inf values.final classDebugGradientIdentity<T extends TType>Identity op for gradient debugging.final classDebugGradientRefIdentity<T extends TType>Identity op for gradient debugging.final classDebugIdentity<T extends TType>Provides an identity mapping of the non-Ref type input tensor for debugging.final classDebug NaN Value Counter Op.final classDebugNumericsSummary<U extends TNumber>Debug Numeric Summary V2 Op. -
Uses of Shaped in org.tensorflow.op.distribute
Classes in org.tensorflow.op.distribute that implement ShapedModifier and TypeClassDescriptionfinal classNcclAllReduce<T extends TNumber>Outputs a tensor containing the reduction across all input tensors.final classNcclBroadcast<T extends TNumber>Sendsinputto all devices that are connected to the output.final classNcclReduce<T extends TNumber>Reducesinputfromnum_devicesusingreductionto a single device. -
Uses of Shaped in org.tensorflow.op.dtypes
Classes in org.tensorflow.op.dtypes that implement ShapedModifier and TypeClassDescriptionfinal classConverts each entry in the given tensor to strings.final classCast x of type SrcT to y of DstT.final classConverts two real numbers to a complex number.final classConverts a tensor to a scalar predicate. -
Uses of Shaped in org.tensorflow.op.image
Classes in org.tensorflow.op.image that implement ShapedModifier and TypeClassDescriptionfinal classAdjustContrast<T extends TNumber>Adjust the contrast of one or more images.final classAdjust the hue of one or more images.final classAdjustSaturation<T extends TNumber>Adjust the saturation of one or more images.final classExtracts crops from the input image tensor and resizes them.final classComputes the gradient of the crop_and_resize op wrt the input boxes tensor.final classCropAndResizeGradImage<T extends TNumber>Computes the gradient of the crop_and_resize op wrt the input image tensor.final classDecode and Crop a JPEG-encoded image to a uint8 tensor.final classDecode the first frame of a BMP-encoded image to a uint8 tensor.final classDecode the frame(s) of a GIF-encoded image to a uint8 tensor.final classDecodeImage<T extends TNumber>Function for decode_bmp, decode_gif, decode_jpeg, decode_jxl, decode_webp, and decode_png.final classDecode a JPEG-encoded image to a uint8 tensor.final classDecode a PNG-encoded image to a uint8 or uint16 tensor.final classDecodeWebP<T extends TNumber>Decode a WebP-encoded image to a uint8 tensor.final classDrawBoundingBoxes<T extends TNumber>Draw bounding boxes on a batch of images.final classJPEG-encode an image.final classJPEG encode input image with provided compression quality.final classPNG-encode an image.final classExtracts a glimpse from the input tensor.final classExtractImagePatches<T extends TType>Extractpatchesfromimagesand put them in the "depth" output dimension.final classExtractJpegShape<T extends TNumber>Extract the shape information of a JPEG-encoded image.final classConvert one or more images from HSV to RGB.final classImageProjectiveTransformV2<T extends TNumber>Applies the given transform to each of the images.final classImageProjectiveTransformV3<T extends TNumber>Applies the given transform to each of the images.final classGreedily selects a subset of bounding boxes in descending order of score, pruning away boxes that have high overlaps with previously selected boxes.final classRandomCrop<T extends TNumber>Randomly cropimage.final classResizeimagestosizeusing area interpolation.final classResizeimagestosizeusing bicubic interpolation.final classResizeBicubicGrad<T extends TNumber>Computes the gradient of bicubic interpolation.final classResizeimagestosizeusing bilinear interpolation.final classResizeBilinearGrad<T extends TNumber>Computes the gradient of bilinear interpolation.final classResizeNearestNeighbor<T extends TNumber>Resizeimagestosizeusing nearest neighbor interpolation.final classResizeNearestNeighborGrad<T extends TNumber>Computes the gradient of nearest neighbor interpolation.final classConverts one or more images from RGB to HSV.final classThe ScaleAndTranslate operationfinal classScaleAndTranslateGrad<T extends TNumber>The ScaleAndTranslateGrad operation -
Uses of Shaped in org.tensorflow.op.io
Classes in org.tensorflow.op.io that implement ShapedModifier and TypeClassDescriptionfinal classDecode web-safe base64-encoded strings.final classDecompress strings.final classConvert JSON-encoded Example records to binary protocol buffer strings.final classDecodePaddedRaw<T extends TNumber>Reinterpret the bytes of a string as a vector of numbers.final classReinterpret the bytes of a string as a vector of numbers.final classEncode strings into web-safe base64 format.final classDeprecated.final classA queue that produces elements in first-in first-out order.final classA Reader that outputs fixed-length records from a file.final classA Reader that outputs the queued work as both the key and value.final classA Reader that outputs the records from a LMDB file.final classReturns the set of files matching one or more glob patterns.final classA queue that produces elements in first-in first-out order.final classParseTensor<T extends TType>Transforms a serialized tensorflow.TensorProto proto into a Tensor.final classA queue that produces elements sorted by the first component value.final classReturns true if queue is closed.final classComputes the number of elements in the given queue.final classA queue that randomizes the order of elements.final classReturns the number of records this Reader has produced.final classReturns the number of work units this Reader has finished processing.final classProduce a string tensor that encodes the state of a Reader.final classReads and outputs the entire contents of the input filename.final classSerializeManySparse<U extends TType>Serialize anN-minibatchSparseTensorinto an[N, 3]Tensorobject.final classSerializeSparse<U extends TType>Serialize aSparseTensorinto a[3]Tensorobject.final classTransforms a Tensor into a serialized TensorProto proto.final classGenerate a sharded filename.final classGenerate a glob pattern matching all sharded file names.final classA Reader that outputs the lines of a file delimited by '\n'.final classA Reader that outputs the records from a TensorFlow Records file.final classA Reader that outputs the entire contents of a file as a value. -
Uses of Shaped in org.tensorflow.op.linalg
Classes in org.tensorflow.op.linalg that implement ShapedModifier and TypeClassDescriptionfinal classBandedTriangularSolve<T extends TType>The BandedTriangularSolve operationfinal classCopy a tensor setting everything outside a central band in each innermost matrix to zero.final classBatchCholesky<T extends TNumber>The BatchCholesky operationfinal classBatchCholeskyGrad<T extends TNumber>The BatchCholeskyGrad operationfinal classBatchMatrixBandPart<T extends TType>The BatchMatrixBandPart operationfinal classBatchMatrixDeterminant<T extends TType>The BatchMatrixDeterminant operationfinal classBatchMatrixDiag<T extends TType>The BatchMatrixDiag operationfinal classBatchMatrixDiagPart<T extends TType>The BatchMatrixDiagPart operationfinal classBatchMatrixInverse<T extends TNumber>The BatchMatrixInverse operation DEPRECATED: This operation is deprecated and will be removed in a future version.final classBatchMatrixSetDiag<T extends TType>The BatchMatrixSetDiag operationfinal classBatchMatrixSolve<T extends TNumber>The BatchMatrixSolve operationfinal classBatchMatrixSolveLs<T extends TNumber>The BatchMatrixSolveLs operationfinal classBatchMatrixTriangularSolve<T extends TNumber>The BatchMatrixTriangularSolve operationfinal classComputes the Cholesky decomposition of one or more square matrices.final classCholeskyGrad<T extends TNumber>Computes the reverse mode backpropagated gradient of the Cholesky algorithm.final classConjugateTranspose<T extends TType>Shuffle dimensions of x according to a permutation and conjugate the result.final classCompute the pairwise cross product.final classComputes the determinant of one or more square matrices.final classTensor contraction according to Einstein summation convention.final classEuclideanNorm<T extends TType>Computes the euclidean norm of elements across dimensions of a tensor.final classComputes the inverse of one or more square invertible matrices or their adjoints (conjugate transposes).final classLoads a 2-D (matrix)Tensorwith nameold_tensor_namefrom the checkpoint atckpt_pathand potentially reorders its rows and columns using the specified remappings.final classMultiply the matrix "a" by the matrix "b".final classMatrixDiag<T extends TType>Returns a batched diagonal tensor with given batched diagonal values.final classMatrixDiagPart<T extends TType>Returns the batched diagonal part of a batched tensor.final classMatrixDiagPartV3<T extends TType>Returns the batched diagonal part of a batched tensor.final classMatrixDiagV3<T extends TType>Returns a batched diagonal tensor with given batched diagonal values.final classMatrixExponential<T extends TType>Deprecated, use python implementation tf.linalg.matrix_exponential.final classMatrixLogarithm<T extends TType>Computes the matrix logarithm of one or more square matrices: \(log(exp(A)) = A\)final classMatrixSetDiag<T extends TType>Returns a batched matrix tensor with new batched diagonal values.final classMatrixSolveLs<T extends TType>Solves one or more linear least-squares problems.final classSolves systems of linear equations.final classComputes the matrix square root of one or more square matrices: matmul(sqrtm(A), sqrtm(A)) = Afinal classTensorDiag<T extends TType>Returns a diagonal tensor with a given diagonal values.final classTensorDiagPart<T extends TType>Returns the diagonal part of the tensor.final classShuffle dimensions of x according to a permutation.final classTriangularSolve<T extends TType>Solves systems of linear equations with upper or lower triangular matrices by backsubstitution.final classTridiagonalMatMul<T extends TType>Calculate product with tridiagonal matrix.final classTridiagonalSolve<T extends TType>Solves tridiagonal systems of equations. -
Uses of Shaped in org.tensorflow.op.linalg.sparse
Classes in org.tensorflow.op.linalg.sparse that implement ShapedModifier and TypeClassDescriptionfinal classCSRSparseMatrixToDense<T extends TType>Convert a (possibly batched) CSRSparseMatrix to dense.final classConverts a dense tensor to a (possibly batched) CSRSparseMatrix.final classSparse addition of two CSR matrices, C = alpha * A + beta * B.final classSparseMatrixMatMul<T extends TType>Matrix-multiplies a sparse matrix with a dense matrix.final classElement-wise multiplication of a sparse matrix with a dense tensor.final classReturns the number of nonzeroes ofsparse_matrix.final classComputes the Approximate Minimum Degree (AMD) ordering ofinput.final classCalculates the softmax of a CSRSparseMatrix.final classCalculates the gradient of the SparseMatrixSoftmax op.final classComputes the sparse Cholesky decomposition ofinput.final classSparse-matrix-multiplies two CSR matricesaandb.final classTransposes the inner (matrix) dimensions of a CSRSparseMatrix.final classCreates an all-zeros CSRSparseMatrix with shapedense_shape.final classConverts a SparseTensor to a (possibly batched) CSRSparseMatrix. -
Uses of Shaped in org.tensorflow.op.math
Classes in org.tensorflow.op.math that implement ShapedModifier and TypeClassDescriptionfinal classComputes the absolute value of a tensor.final classAccumulateN<T extends TType>Returns the element-wise sum of a list of tensors.final classComputes acos of x element-wise.final classComputes inverse hyperbolic cosine of x element-wise.final classReturns x + y element-wise.final classAdd all input tensors element wise.final classReturns the argument of a complex number.final classReturns the truth value of abs(x-y) < tolerance element-wise.final classReturns the index with the largest value across dimensions of a tensor.final classReturns the index with the smallest value across dimensions of a tensor.final classComputes the trignometric inverse sine of x element-wise.final classComputes inverse hyperbolic sine of x element-wise.final classComputes the trignometric inverse tangent of x element-wise.final classComputes arctangent ofy/xelement-wise, respecting signs of the arguments.final classComputes inverse hyperbolic tangent of x element-wise.final classThe BesselI0 operationfinal classThe BesselI0e operationfinal classThe BesselI1 operationfinal classThe BesselI1e operationfinal classCompute the regularized incomplete beta integral \(I_x(a, b)\).final classCounts the number of occurrences of each value in an integer array.final classReturns element-wise smallest integer not less than x.final classComplexAbs<U extends TNumber>Computes the complex absolute value of a tensor.final classReturns the complex conjugate of a complex number.final classComputes cos of x element-wise.final classComputes hyperbolic cosine of x element-wise.final classCompute the cumulative product of the tensorxalongaxis.final classCompute the cumulative sum of the tensorxalongaxis.final classCumulativeLogsumexp<T extends TNumber>Compute the cumulative product of the tensorxalongaxis.final classDenseBincount<U extends TNumber>Counts the number of occurrences of each value in an integer array.final classComputes Psi, the derivative of Lgamma (the log of the absolute value ofGamma(x)), element-wise.final classReturns x / y element-wise.final classReturns 0 if the denominator is zero.final classReturns the truth value of (x == y) element-wise.final classComputes the Gauss error function ofxelement-wise.final classComputes the complementary error function ofxelement-wise.final classThe Erfinv operationfinal classComputes exponential of x element-wise.final classComputesexp(x) - 1element-wise. i.e.final classOutput a fact about factorials.final classReturns element-wise largest integer not greater than x.final classReturns x // y element-wise.final classReturns element-wise remainder of division.final classReturns the truth value of (x > y) element-wise.final classReturns the truth value of (x >= y) element-wise.final classCompute the lower regularized incomplete Gamma functionP(a, x).final classCompute the upper regularized incomplete Gamma functionQ(a, x).final classIgammaGradA<T extends TNumber>Computes the gradient ofigamma(a, x)wrta.final classReturns the imaginary part of a complex number.final classInvertPermutation<T extends TNumber>Computes the inverse permutation of a tensor.final classReturns which elements of x are finite.final classReturns which elements of x are Inf.final classReturns which elements of x are NaN.final classReturns the truth value of (x < y) element-wise.final classReturns the truth value of (x <= y) element-wise.final classComputes the log of the absolute value ofGamma(x)element-wise.final classComputes natural logarithm of x element-wise.final classComputes natural logarithm of (1 + x) element-wise.final classReturns the truth value of x AND y element-wise.final classReturns the truth value ofNOT xelement-wise.final classReturns the truth value of x OR y element-wise.final classReturns the max of x and y (i.e. x > y ?final classComputes the mean of elements across dimensions of a tensor.final classReturns the min of x and y (i.e. x < y ?final classReturns element-wise remainder of division.final classReturns x * y element-wise.final classReturns x * y element-wise.final classThe Ndtri operationfinal classComputes numerical negative value element-wise.final classReturns the next representable value ofx1in the direction ofx2, element-wise.final classReturns the truth value of (x !final classCompute the polygamma function \(\psi^{(n)}(x)\).final classComputes element-wise population count (a.k.a. popcount, bitsum, bitcount).final classComputes the power of one value to another.final classReturns the real part of a complex number.final classReturns x / y element-wise for real types.final classReciprocal<T extends TType>Computes the reciprocal of x element-wise.final classReciprocalGrad<T extends TType>Computes the gradient for the inverse ofxwrt its input.final classReturns element-wise integer closest to x.final classRounds the values of a tensor to the nearest integer, element-wise.final classComputes reciprocal of square root of x element-wise.final classComputes the gradient for the rsqrt ofxwrt its input.final classSegmentMax<T extends TNumber>Computes the maximum along segments of a tensor.final classSegmentMean<T extends TType>Computes the mean along segments of a tensor.final classSegmentMin<T extends TNumber>Computes the minimum along segments of a tensor.final classSegmentProd<T extends TType>Computes the product along segments of a tensor.final classSegmentSum<T extends TType>Computes the sum along segments of a tensor.final classComputes sigmoid ofxelement-wise.final classSigmoidGrad<T extends TType>Computes the gradient of the sigmoid ofxwrt its input.final classReturns an element-wise indication of the sign of a number.final classComputes sine of x element-wise.final classComputes hyperbolic sine of x element-wise.final classSobolSample<T extends TNumber>Generates points from the Sobol sequence.final classThe Softplus operationfinal classSoftplusGrad<T extends TNumber>Computes softplus gradients for a softplus operation.final classComputes square root of x element-wise.final classComputes the gradient for the sqrt ofxwrt its input.final classComputes square of x element-wise.final classSquaredDifference<T extends TType>Returns conj(x - y)(x - y) element-wise.final classReturns x - y element-wise.final classComputes tan of x element-wise.final classComputes hyperbolic tangent ofxelement-wise.final classComputes the gradient for the tanh ofxwrt its input.final classTruncateDiv<T extends TType>Returns x / y element-wise, rounded towards zero.final classTruncateMod<T extends TNumber>Returns element-wise remainder of division.final classUniformQuantizedAdd<T extends TNumber>Perform quantized add of quantized Tensorlhsand quantized Tensorrhsto make quantizedoutput.final classUnsortedSegmentMax<T extends TNumber>Computes the maximum along segments of a tensor.final classUnsortedSegmentMin<T extends TNumber>Computes the minimum along segments of a tensor.final classUnsortedSegmentProd<T extends TType>Computes the product along segments of a tensor.final classUnsortedSegmentSum<T extends TType>Computes the sum along segments of a tensor.final classReturns 0 if x == 0, and x / y otherwise, elementwise.final classReturns 0 if x == 0, and x * log1p(y) otherwise, elementwise.final classReturns 0 if x == 0, and x * log(y) otherwise, elementwise.final classCompute the Hurwitz zeta function \(\zeta(x, q)\). -
Uses of Shaped in org.tensorflow.op.math.special
Classes in org.tensorflow.op.math.special that implement ShapedModifier and TypeClassDescriptionfinal classThe BesselJ0 operationfinal classThe BesselJ1 operationfinal classThe BesselK0 operationfinal classThe BesselK0e operationfinal classThe BesselK1 operationfinal classThe BesselK1e operationfinal classThe BesselY0 operationfinal classThe BesselY1 operationfinal classThe Dawsn operationfinal classThe Expint operationfinal classFresnelCos<T extends TNumber>The FresnelCos operationfinal classFresnelSin<T extends TNumber>The FresnelSin operationfinal classThe Spence operation -
Uses of Shaped in org.tensorflow.op.nn
Classes in org.tensorflow.op.nn that implement ShapedModifier and TypeClassDescriptionfinal classPerforms average pooling on the input.final classPerforms 3D average pooling on the input.final classAvgPool3dGrad<T extends TNumber>Computes gradients of average pooling function.final classAvgPoolGrad<T extends TNumber>Computes gradients of the average pooling function.final classBatchNormWithGlobalNormalization<T extends TType>Batch normalization.final classAddsbiastovalue.final classBiasAddGrad<T extends TType>The backward operation for "BiasAdd" on the "bias" tensor.final classComputes a N-D convolution given (N+1+batch_dims)-Dinputand (N+2)-Dfiltertensors.final classComputes a 2-D convolution given 4-Dinputandfiltertensors.final classConv2dBackpropFilter<T extends TNumber>Computes the gradients of convolution with respect to the filter.final classConv2dBackpropFilterV2<T extends TNumber>Computes the gradients of convolution with respect to the filter.final classConv2dBackpropInput<T extends TNumber>Computes the gradients of convolution with respect to the input.final classConv2dBackpropInputV2<T extends TNumber>Computes the gradients of convolution with respect to the input.final classComputes a 3-D convolution given 5-Dinputandfiltertensors.final classConv3dBackpropFilter<T extends TNumber>Computes the gradients of 3-D convolution with respect to the filter.final classConv3dBackpropInput<U extends TNumber>Computes the gradients of 3-D convolution with respect to the input.final classCudnnRNNCanonicalToParams<T extends TNumber>Converts CudnnRNN params from canonical form to usable form.final classCudnnRnnParamsSize<T extends TNumber>Computes size of weights that can be used by a Cudnn RNN model.final classDataFormatDimMap<T extends TNumber>Returns the dimension index in the destination data format given the one in the source data format.final classDataFormatVecPermute<T extends TNumber>Permute input tensor fromsrc_formattodst_format.final classDepthToSpace<T extends TType>DepthToSpace for tensors of type T.final classDepthwiseConv2dNative<T extends TNumber>Computes a 2-D depthwise convolution given 4-Dinputandfiltertensors.final classDepthwiseConv2dNativeBackpropFilter<T extends TNumber>Computes the gradients of depthwise convolution with respect to the filter.final classDepthwiseConv2dNativeBackpropInput<T extends TNumber>Computes the gradients of depthwise convolution with respect to the input.final classDilation2d<T extends TNumber>Computes the grayscale dilation of 4-Dinputand 3-Dfiltertensors.final classDilation2dBackpropFilter<T extends TNumber>Computes the gradient of morphological 2-D dilation with respect to the filter.final classDilation2dBackpropInput<T extends TNumber>Computes the gradient of morphological 2-D dilation with respect to the input.final classComputes the exponential linear function.final classComputes gradients for the exponential linear (Elu) operation.final classFractionalAvgPoolGrad<T extends TNumber>Computes gradient of the FractionalAvgPool function.final classFractionalMaxPoolGrad<T extends TNumber>Computes gradient of the FractionalMaxPool function.final classFusedPadConv2d<T extends TNumber>Performs a padding as a preprocess during a convolution.final classFusedResizeAndPadConv2d<T extends TNumber>Performs a resize and padding as a preprocess during a convolution.final classSays whether the targets are in the topKpredictions.final classComputes the gradient for the inverse ofxwrt its input.final classL2 Loss.final classComputes rectified linear:max(features, features * alpha).final classLocalResponseNormalization<T extends TNumber>Local Response Normalization.final classLocalResponseNormalizationGrad<T extends TNumber>Gradients for Local Response Normalization.final classLogSoftmax<T extends TNumber>Computes log softmax activations.final classPerforms max pooling on the input.final classPerforms 3D max pooling on the input.final classMaxPool3dGrad<U extends TNumber>Computes gradients of 3D max pooling function.final classMaxPool3dGradGrad<T extends TNumber>Computes second-order gradients of the maxpooling function.final classMaxPoolGrad<T extends TNumber>Computes gradients of the maxpooling function.final classMaxPoolGradGrad<T extends TNumber>Computes second-order gradients of the maxpooling function.final classMaxPoolGradGradWithArgmax<T extends TNumber>Computes second-order gradients of the maxpooling function.final classMaxPoolGradWithArgmax<T extends TNumber>Computes gradients of the maxpooling function.final classNthElement<T extends TNumber>Finds values of then-th order statistic for the last dimension.final classComputes rectified linear:max(features, 0).final classComputes rectified linear 6:min(max(features, 0), 6).final classComputes rectified linear 6 gradients for a Relu6 operation.final classComputes rectified linear gradients for a Relu operation.final classComputes scaled exponential linear:scale * alpha * (exp(features) - 1)if < 0,scale * featuresotherwise.final classComputes gradients for the scaled exponential linear (Selu) operation.final classComputes softmax activations.final classComputes softsign:features / (abs(features) + 1).final classSoftsignGrad<T extends TNumber>Computes softsign gradients for a softsign operation.final classSpaceToBatch<T extends TType>SpaceToBatch for 4-D tensors of type T.final classSpaceToDepth<T extends TType>SpaceToDepth for tensors of type T.final classUniformQuantizedConvolution<U extends TNumber>Perform quantized convolution of quantized Tensorlhsand quantized Tensorrhs. to make quantizedoutput.final classUniformQuantizedConvolutionHybrid<V extends TNumber>Perform hybrid quantized convolution of float Tensorlhsand quantized Tensorrhs. -
Uses of Shaped in org.tensorflow.op.quantization
Classes in org.tensorflow.op.quantization that implement ShapedModifier and TypeClassDescriptionfinal classDequantize<U extends TNumber>Dequantize the 'input' tensor into a float or bfloat16 Tensor.final classFake-quantize the 'inputs' tensor, type float to 'outputs' tensor of same shape and type.final classCompute gradients for a FakeQuantWithMinMaxArgs operation.final classFake-quantize the 'inputs' tensor of type float via global float scalars Fake-quantize theinputstensor of type float via global float scalarsminandmaxtooutputstensor of same shape asinputs.final classFake-quantize the 'inputs' tensor of type float via per-channel floats Fake-quantize theinputstensor of type float per-channel and one of the shapes:[d],[b, d][b, h, w, d]via per-channel floatsminandmaxof shape[d]tooutputstensor of same shape asinputs.final classQuantizeAndDequantize<T extends TNumber>Quantizes then dequantizes a tensor.final classQuantizeAndDequantizeV3<T extends TNumber>Quantizes then dequantizes a tensor.final classQuantizeAndDequantizeV4<T extends TNumber>Quantizes then dequantizes a tensor.final classQuantizedMatMulWithBiasAndDequantize<W extends TNumber>The QuantizedMatMulWithBiasAndDequantize operationfinal classUniformDequantize<U extends TNumber>Perform dequantization on the quantized Tensorinput.final classUniformQuantize<U extends TNumber>Perform quantization on Tensorinput.final classUniformQuantizedDot<U extends TNumber>Perform quantized dot of quantized Tensorlhsand quantized Tensorrhsto make quantizedoutput.final classUniformQuantizedDotHybrid<V extends TNumber>Perform hybrid quantized dot of float Tensorlhsand quantized Tensorrhs.final classUniformRequantize<U extends TNumber>Given quantized tensorinput, requantize it with new quantization parameters. -
Uses of Shaped in org.tensorflow.op.ragged
Classes in org.tensorflow.op.ragged that implement ShapedModifier and TypeClassDescriptionfinal classRaggedBincount<U extends TNumber>Counts the number of occurrences of each value in an integer array.final classRaggedTensorToTensor<U extends TType>Create a dense tensor from a ragged tensor, possibly altering its shape.final classEncodes aRaggedTensorinto avariantTensor.final classRaggedTensorToVariantGradient<U extends TType>Helper used to compute the gradient forRaggedTensorToVariant. -
Uses of Shaped in org.tensorflow.op.random
Classes in org.tensorflow.op.random that implement ShapedModifier and TypeClassDescriptionfinal classThe DummySeedGenerator operationfinal classMultinomial<U extends TNumber>Draws samples from a multinomial distribution.final classNonDeterministicInts<U extends TType>Non-deterministically generates some integers.final classParameterizedTruncatedNormal<U extends TNumber>Outputs random values from a normal distribution.final classRandomGamma<U extends TNumber>Outputs random values from the Gamma distribution(s) described by alpha.final classRandomGammaGrad<T extends TNumber>Computes the derivative of a Gamma random sample w.r.t.final classRandomPoisson<V extends TNumber>Outputs random values from the Poisson distribution(s) described by rate.final classRandomShuffle<T extends TType>Randomly shuffles a tensor along its first dimension.final classRandomStandardNormal<U extends TNumber>Outputs random values from a normal distribution.final classRandomUniform<U extends TNumber>Outputs random values from a uniform distribution.final classRandomUniformInt<U extends TNumber>Outputs random integers from a uniform distribution.final classEmits randomized records.final classAdvance the counter of a counter-based RNG.final classStatefulRandomBinomial<V extends TNumber>The StatefulRandomBinomial operationfinal classStatefulStandardNormal<U extends TType>Outputs random values from a normal distribution.final classStatefulTruncatedNormal<U extends TType>Outputs random values from a truncated normal distribution.final classStatefulUniform<U extends TType>Outputs random values from a uniform distribution.final classStatefulUniformFullInt<U extends TType>Outputs random integers from a uniform distribution.final classStatefulUniformInt<U extends TType>Outputs random integers from a uniform distribution.final classStatelessMultinomial<V extends TNumber>Draws samples from a multinomial distribution.final classStatelessParameterizedTruncatedNormal<V extends TNumber>The StatelessParameterizedTruncatedNormal operationfinal classStatelessRandomBinomial<W extends TNumber>Outputs deterministic pseudorandom random numbers from a binomial distribution.final classStatelessRandomGamma<U extends TNumber>Outputs deterministic pseudorandom random numbers from a gamma distribution.final classPicks the best counter-based RNG algorithm based on device.final classStatelessRandomNormal<V extends TNumber>Outputs deterministic pseudorandom values from a normal distribution.final classStatelessRandomNormalV2<U extends TNumber>Outputs deterministic pseudorandom values from a normal distribution.final classStatelessRandomPoisson<W extends TNumber>Outputs deterministic pseudorandom random numbers from a Poisson distribution.final classStatelessRandomUniform<V extends TNumber>Outputs deterministic pseudorandom random values from a uniform distribution.final classStatelessRandomUniformFullInt<V extends TNumber>Outputs deterministic pseudorandom random integers from a uniform distribution.final classStatelessRandomUniformFullIntV2<U extends TNumber>Outputs deterministic pseudorandom random integers from a uniform distribution.final classStatelessRandomUniformInt<V extends TNumber>Outputs deterministic pseudorandom random integers from a uniform distribution.final classStatelessRandomUniformIntV2<U extends TNumber>Outputs deterministic pseudorandom random integers from a uniform distribution.final classStatelessRandomUniformV2<U extends TNumber>Outputs deterministic pseudorandom random values from a uniform distribution.final classStatelessTruncatedNormal<V extends TNumber>Outputs deterministic pseudorandom values from a truncated normal distribution.final classStatelessTruncatedNormalV2<U extends TNumber>Outputs deterministic pseudorandom values from a truncated normal distribution.final classTruncatedNormal<U extends TNumber>Outputs random values from a truncated normal distribution. -
Uses of Shaped in org.tensorflow.op.random.experimental
Classes in org.tensorflow.op.random.experimental that implement ShapedModifier and TypeClassDescriptionfinal classStatelessShuffle<T extends TType>Randomly and deterministically shuffles a tensor along its first dimension. -
Uses of Shaped in org.tensorflow.op.signal
Classes in org.tensorflow.op.signal that implement ShapedModifier and TypeClassDescriptionfinal classThe BatchFFT operationfinal classThe BatchFFT2D operationfinal classThe BatchFFT3D operationfinal classThe BatchIFFT operationfinal classThe BatchIFFT2D operationfinal classThe BatchIFFT3D operationfinal classFast Fourier transform.final class2D fast Fourier transform.final class3D fast Fourier transform.final classND fast Fourier transform.final classInverse fast Fourier transform.final classInverse 2D fast Fourier transform.final classInverse 3D fast Fourier transform.final classND inverse fast Fourier transform.final classInverse real-valued fast Fourier transform.final classInverse 2D real-valued fast Fourier transform.final classInverse 3D real-valued fast Fourier transform.final classND inverse real fast Fourier transform.final classReal-valued fast Fourier transform.final class2D real-valued fast Fourier transform.final class3D real-valued fast Fourier transform.final classND fast real Fourier transform. -
Uses of Shaped in org.tensorflow.op.sparse
Classes in org.tensorflow.op.sparse that implement ShapedModifier and TypeClassDescriptionfinal classAdd anN-minibatchSparseTensorto aSparseTensorsMap, returnNhandles.final classAdd aSparseTensorto aSparseTensorsMapreturn its handle.final classSparseBincount<U extends TNumber>Counts the number of occurrences of each value in an integer array.final classA conditional accumulator for aggregating sparse gradients.final classSparseDenseCwiseAdd<T extends TType>Adds up a SparseTensor and a dense Tensor, using these special rules: (1) Broadcasts the dense side to have the same shape as the sparse side, if eligible; (2) Then, only the dense values pointed to by the indices of the SparseTensor participate in the cwise addition.final classSparseDenseCwiseDiv<T extends TType>Component-wise divides a SparseTensor by a dense Tensor.final classSparseDenseCwiseMul<T extends TType>Component-wise multiplies a SparseTensor by a dense Tensor.final classMultiply matrix "a" by matrix "b".final classSparseReduceMax<T extends TNumber>Computes the max of elements across dimensions of a SparseTensor.final classSparseReduceSum<T extends TType>Computes the sum of elements across dimensions of a SparseTensor.final classSparseSegmentMean<T extends TNumber>Computes the mean along sparse segments of a tensor.final classSparseSegmentMeanWithNumSegments<T extends TNumber>Computes the mean along sparse segments of a tensor.final classSparseSegmentSqrtN<T extends TNumber>Computes the sum along sparse segments of a tensor divided by the sqrt of N.final classSparseSegmentSqrtNWithNumSegments<T extends TNumber>Computes the sum along sparse segments of a tensor divided by the sqrt of N.final classSparseSegmentSum<T extends TNumber>Computes the sum along sparse segments of a tensor.final classSparseSegmentSumWithNumSegments<T extends TNumber>Computes the sum along sparse segments of a tensor.final classSparseSliceGrad<T extends TType>The gradient operator for the SparseSlice op.final classSparseSoftmax<T extends TNumber>Applies softmax to a batched N-DSparseTensor.final classSparseTensorDenseAdd<U extends TType>Adds up aSparseTensorand a denseTensor, producing a denseTensor.final classSparseTensorDenseMatMul<U extends TType>Multiply SparseTensor (of rank 2) "A" by dense matrix "B".final classSparseToDense<U extends TType>Converts a sparse representation into a dense tensor. -
Uses of Shaped in org.tensorflow.op.strings
Classes in org.tensorflow.op.strings that implement ShapedModifier and TypeClassDescriptionfinal classJoins the strings in the given list of string tensors into one tensor; with the given separator (default is an empty separator).final classConverts all uppercase characters into their respective lowercase replacements.final classJoins a string Tensor across the given dimensions.final classCheck if the input matches the regex pattern.final classReplaces matches of thepatternregular expression ininputwith the replacement string provided inrewrite.final classCheck if the input matches the regex pattern.final classReplaces the match of pattern in input with rewrite.final classFormats a string template using a list of tensors.final classString lengths ofinput.final classStrip leading and trailing whitespaces from the Tensor.final classReturn substrings fromTensorof strings.final classConverts each string in the input Tensor to its hash mod by a number of buckets.final classConverts each string in the input Tensor to its hash mod by a number of buckets.final classConverts each string in the input Tensor to its hash mod by a number of buckets.final classConverts each string in the input Tensor to the specified numeric type.final classEncode a tensor of ints into unicode strings.final classDetermine the script codes of a given tensor of Unicode integer code points.final classTranscode the input text from a source encoding to a destination encoding.final classThe UnsortedSegmentJoin operationfinal classConverts all lowercase characters into their respective uppercase replacements. -
Uses of Shaped in org.tensorflow.op.summary
Classes in org.tensorflow.op.summary that implement ShapedModifier and TypeClassDescriptionfinal classOutputs aSummaryprotocol buffer with audio.final classOutputs aSummaryprotocol buffer with a histogram.final classOutputs aSummaryprotocol buffer with images.final classMerges summaries.final classOutputs aSummaryprotocol buffer with scalar values.final classProduces a summary of any statistics recorded by the given statistics manager.final classThe SummaryWriter operationfinal classOutputs aSummaryprotocol buffer with a tensor and per-plugin data. -
Uses of Shaped in org.tensorflow.op.tpu
Classes in org.tensorflow.op.tpu that implement ShapedModifier and TypeClassDescriptionfinal classAn Op to exchange data across TPU replicas.final classAn op that merges the string-encoded memory config protos from all hosts.final classReturns the result of a TPU compilation.final classAn op computes the size of the deduplication data from embedding core and returns the updated config.final classAn op computes tuple mask of deduplication data from embedding core.final classAn op that sets up the centralized structures for a distributed TPU system.final classSets up the centralized structures for a distributed TPU system.final classAn op that configures the TPUEmbedding software on a host.final classAn op that configures the TPUEmbedding software on a host.final classCrossReplicaSum<T extends TNumber>An Op to sum inputs across replicated TPU instances.final classAn op enabling differentiation of TPU Embeddings.final classAn op that executes the TPUEmbedding partitioner on the central configuration device and computes the HBM size (in bytes) required for TPUEmbedding operation.final classAn op returns the TPU task ID from TPU topology.final classThe GlobalIterId operationfinal classInfeedDequeue<T extends TType>A placeholder op for a value that will be fed into the computation.final classWhether TPU Embedding is initialized in a distributed TPU system.final classAn op merges elements of integer and float tensors into deduplication data as XLA tuple.final classA TPU core selector Op.final classOutfeedDequeue<T extends TType>Retrieves a single tensor from the computation outfeed.final classOutfeedDequeueV2<T extends TType>Retrieves a single tensor from the computation outfeed.final classPartitionedInput<T extends TType>An op that groups a list of partitioned inputs together.final classAn op which linearizes one Tensor value to an opaque variant tensor.final classAn op which linearizes multiple Tensor values to an opaque variant tensor.final classReplicatedInput<T extends TType>Connects N inputs to an N-way replicated TPU computation.final classRetrieve SGD embedding parameters.final classAn op that shuts down the TPU system.final classDeprecated.useCompilationResultinsteadfinal classTPUDummyInput<T extends TNumber>Generates a zero-valued tensor for use as a dummy input to a TPU.final classDeprecated.useEmbeddingActivationsinsteadfinal classConverts XRT's uid handles to TensorFlow-friendly input format.final classTPUReplicatedInput<T extends TType>Deprecated.useReplicatedInputinsteadfinal classRound-robin load balancing on TPU cores.final classWorker heartbeat op. -
Uses of Shaped in org.tensorflow.op.train
Classes in org.tensorflow.op.train that implement ShapedModifier and TypeClassDescriptionfinal classReturns the number of gradients aggregated in the given accumulators.final classAccumulatorTakeGradient<T extends TType>Extracts the average gradient in the given ConditionalAccumulator.final classApplyAdadelta<T extends TType>Update '*var' according to the adadelta scheme. accum = rho() * accum + (1 - rho()) * grad.square(); update = (update_accum + epsilon).sqrt() * (accum + epsilon()).rsqrt() * grad; update_accum = rho() * update_accum + (1 - rho()) * update.square(); var -= update;final classApplyAdagrad<T extends TType>Update '*var' according to the adagrad scheme. accum += grad * grad var -= lr * grad * (1 / sqrt(accum))final classApplyAdagradDa<T extends TType>Update '*var' according to the proximal adagrad scheme.final classApplyAdagradV2<T extends TType>Update '*var' according to the adagrad scheme. accum += grad * grad var -= lr * grad * (1 / sqrt(accum))final classUpdate '*var' according to the Adam algorithm.final classApplyAdaMax<T extends TType>Update '*var' according to the AdaMax algorithm. m_t <- beta1 * m_{t-1} + (1 - beta1) * g v_t <- max(beta2 * v_{t-1}, abs(g)) variable <- variable - learning_rate / (1 - beta1^t) * m_t / (v_t + epsilon)final classApplyAddSign<T extends TType>Update '*var' according to the AddSign update. m_t <- beta1 * m_{t-1} + (1 - beta1) * g update <- (alpha + sign_decay * sign(g) *sign(m)) * g variable <- variable - lr_t * updatefinal classApplyCenteredRmsProp<T extends TType>Update '*var' according to the centered RMSProp algorithm.final classUpdate '*var' according to the Ftrl-proximal scheme. grad_with_shrinkage = grad + 2 * l2_shrinkage * var accum_new = accum + grad * grad linear += grad_with_shrinkage - (accum_new^(-lr_power) - accum^(-lr_power)) / lr * var quadratic = 1.0 / (accum_new^(lr_power) * lr) + 2 * l2 var = (sign(linear) * l1 - linear) / quadratic if |linear| > l1 else 0.0 accum = accum_newfinal classApplyGradientDescent<T extends TType>Update '*var' by subtracting 'alpha' * 'delta' from it.final classApplyMomentum<T extends TType>Update '*var' according to the momentum scheme.final classApplyPowerSign<T extends TType>Update '*var' according to the AddSign update. m_t <- beta1 * m_{t-1} + (1 - beta1) * g update <- exp(logbase * sign_decay * sign(g) * sign(m_t)) * g variable <- variable - lr_t * updatefinal classApplyProximalAdagrad<T extends TType>Update '*var' and '*accum' according to FOBOS with Adagrad learning rate. accum += grad * grad prox_v = var - lr * grad * (1 / sqrt(accum)) var = sign(prox_v)/(1+lrl2) * max{|prox_v|-lrl1,0}final classApplyProximalGradientDescent<T extends TType>Update '*var' as FOBOS algorithm with fixed learning rate. prox_v = var - alpha * delta var = sign(prox_v)/(1+alphal2) * max{|prox_v|-alphal1,0}final classApplyRmsProp<T extends TType>Update '*var' according to the RMSProp algorithm.final classBatchMatMul<V extends TType>Multiplies slices of two tensors in batches.final classComputes the static batch size of a dataset sans partial batches.final classA conditional accumulator for aggregating gradients.final classPreventGradient<T extends TType>An identity op that triggers an error if a gradient is requested.final classReturns the number of gradients aggregated in the given accumulators.final classResourceAccumulatorTakeGradient<T extends TType>Extracts the average gradient in the given ConditionalAccumulator.final classA conditional accumulator for aggregating gradients.final classRestoreSlice<T extends TType>Restores a tensor from checkpoint files.final classComputes fingerprints of the input strings.final classSparseApplyAdadelta<T extends TType>var: Should be from a Variable().final classSparseApplyAdagrad<T extends TType>Update relevant entries in '*var' and '*accum' according to the adagrad scheme.final classSparseApplyAdagradDa<T extends TType>Update entries in '*var' and '*accum' according to the proximal adagrad scheme.final classSparseApplyCenteredRmsProp<T extends TType>Update '*var' according to the centered RMSProp algorithm.final classSparseApplyFtrl<T extends TType>Update relevant entries in '*var' according to the Ftrl-proximal scheme.final classSparseApplyMomentum<T extends TType>Update relevant entries in '*var' and '*accum' according to the momentum scheme.final classSparseApplyProximalAdagrad<T extends TType>Sparse update entries in '*var' and '*accum' according to FOBOS algorithm.final classSparseApplyProximalGradientDescent<T extends TType>Sparse update '*var' as FOBOS algorithm with fixed learning rate.final classSparseApplyRmsProp<T extends TType>Update '*var' according to the RMSProp algorithm.final classReturns the gradient ofTile. -
Uses of Shaped in org.tensorflow.op.xla
Classes in org.tensorflow.op.xla that implement ShapedModifier and TypeClassDescriptionfinal classConcats input tensor across all dimensions.final classXlaRecvFromHost<T extends TType>An op to receive a tensor from the host. output: the tensor that will be received from the host.final classReceives deduplication data (indices and weights) from the embedding core.final classThe XlaSparseCoreSgd operationfinal classThe XlaSparseDenseMatmulGradWithSgdAndCsrInput operationfinal classThe XlaSparseDenseMatmulGradWithSgdAndStaticBufferSize operationfinal classXlaSparseDenseMatmulWithCsrInput<T extends TNumber>The XlaSparseDenseMatmulWithCsrInput operationfinal classThe XlaSparseDenseMatmulWithStaticBufferSize operationfinal classXlaSparseGradientsStack<U extends TType>The XlaSparseGradientsStack operation -
Uses of Shaped in org.tensorflow.types
Subinterfaces of Shaped 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. -
Uses of Shaped in org.tensorflow.types.family
Subinterfaces of Shaped in org.tensorflow.types.family
NcclAllReduceinstead