TensorFlow
Install Learn
  • Introduction
    New to TensorFlow?
  • TensorFlow
    The core open source ML library
  • For JavaScript
    TensorFlow.js for ML using JavaScript
  • For Mobile & Edge
    TensorFlow Lite for mobile and edge devices
  • For Production
    TensorFlow Extended for end-to-end ML components
API
  • TensorFlow (v2.12.0)
  • Versions…
  • TensorFlow.js
  • TensorFlow Lite
  • TFX
Resources
  • Models & datasets
    Pre-trained models and datasets built by Google and the community
  • Tools
    Ecosystem of tools to help you use TensorFlow
  • Libraries & extensions
    Libraries and extensions built on TensorFlow
  • TensorFlow Certificate program
    Differentiate yourself by demonstrating your ML proficiency
  • Learn ML
    Educational resources to learn the fundamentals of ML with TensorFlow
  • Responsible AI
    Resources and tools to integrate Responsible AI practices into your ML workflow
Community
  • Join
    Explore ways to get involved
  • Blog
    Stay up to date with all things TensorFlow
  • Forum ↗
    Discussion platform for the TensorFlow community
  • Groups
    User groups, interest groups and mailing lists
  • Contribute
    Guide for contributing to code and documentation
Why TensorFlow
  • About
  • Case studies
  • English
  • Bahasa Indonesia
  • Español – América Latina
  • Français
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 日本語
  • 한국어
GitHub
  • TensorFlow v2.4.0
Overview Python C++ Java
TensorFlow
  • Install
  • Learn
    • More
  • API
    • More
    • Overview
    • Python
    • C++
    • Java
  • Resources
    • More
  • Community
    • More
  • Why TensorFlow
    • More
  • GitHub
  • TensorFlow for Java
    • org.tensorflow
      • Overview
      • DataType
      • EagerSession
        • Overview
        • DevicePlacementPolicy
        • Options
        • ResourceCleanupStrategy
      • ExecutionEnvironment
      • Graph
        • Overview
        • WhileSubgraphBuilder
      • GraphOperation
      • GraphOperationBuilder
      • Operand
      • Operation
      • OperationBuilder
      • Output
      • SavedModelBundle
        • Overview
        • Loader
      • Server
      • Session
        • Overview
        • Run
        • Runner
      • Shape
      • Tensor
      • TensorFlow
      • TensorFlowException
      • Tensors
    • org.tensorflow.examples
      • Overview
      • LabelImage
    • org.tensorflow.op
      • Overview
      • Op
      • Operands
      • PrimitiveOp
      • Scope
    • org.tensorflow.op.annotation
      • Overview
      • Operator
    • org.tensorflow.op.core
      • Overview
      • Abort
        • Overview
        • Options
      • All
        • Overview
        • Options
      • AllToAll
      • AnonymousIteratorV2
      • AnonymousMemoryCache
      • AnonymousMultiDeviceIterator
      • AnonymousRandomSeedGenerator
      • AnonymousSeedGenerator
      • Any
        • Overview
        • Options
      • ApplyAdagradV2
        • Overview
        • Options
      • AssertCardinalityDataset
      • AssertNextDataset
      • AssertThat
        • Overview
        • Options
      • Assign
        • Overview
        • Options
      • AssignAdd
        • Overview
        • Options
      • AssignAddVariableOp
      • AssignSub
        • Overview
        • Options
      • AssignSubVariableOp
      • AssignVariableOp
      • AutoShardDataset
        • Overview
        • Options
      • BandedTriangularSolve
        • Overview
        • Options
      • Barrier
        • Overview
        • Options
      • BarrierClose
        • Overview
        • Options
      • BarrierIncompleteSize
      • BarrierInsertMany
      • BarrierReadySize
      • BarrierTakeMany
        • Overview
        • Options
      • Batch
        • Overview
        • Options
      • BatchMatMulV2
        • Overview
        • Options
      • BatchToSpace
      • BatchToSpaceNd
      • BesselI0
      • BesselI1
      • BesselJ0
      • BesselJ1
      • BesselK0
      • BesselK0e
      • BesselK1
      • BesselK1e
      • BesselY0
      • BesselY1
      • Bitcast
      • BlockLSTM
        • Overview
        • Options
      • BlockLSTMGrad
      • BlockLSTMGradV2
      • BlockLSTMV2
        • Overview
        • Options
      • BoostedTreesAggregateStats
      • BoostedTreesBucketize
      • BoostedTreesCalculateBestFeatureSplit
        • Overview
        • Options
      • BoostedTreesCalculateBestFeatureSplitV2
      • BoostedTreesCalculateBestGainsPerFeature
      • BoostedTreesCenterBias
      • BoostedTreesCreateEnsemble
      • BoostedTreesCreateQuantileStreamResource
        • Overview
        • Options
      • BoostedTreesDeserializeEnsemble
      • BoostedTreesEnsembleResourceHandleOp
        • Overview
        • Options
      • BoostedTreesExampleDebugOutputs
      • BoostedTreesFlushQuantileSummaries
      • BoostedTreesGetEnsembleStates
      • BoostedTreesMakeQuantileSummaries
      • BoostedTreesMakeStatsSummary
      • BoostedTreesPredict
      • BoostedTreesQuantileStreamResourceAddSummaries
      • BoostedTreesQuantileStreamResourceDeserialize
      • BoostedTreesQuantileStreamResourceFlush
        • Overview
        • Options
      • BoostedTreesQuantileStreamResourceGetBucketBoundaries
      • BoostedTreesQuantileStreamResourceHandleOp
        • Overview
        • Options
      • BoostedTreesSerializeEnsemble
      • BoostedTreesSparseAggregateStats
      • BoostedTreesSparseCalculateBestFeatureSplit
        • Overview
        • Options
      • BoostedTreesTrainingPredict
      • BoostedTreesUpdateEnsemble
      • BoostedTreesUpdateEnsembleV2
        • Overview
        • Options
      • BroadcastDynamicShape
      • BroadcastGradientArgs
      • BroadcastTo
      • Bucketize
      • CSRSparseMatrixComponents
      • CSRSparseMatrixToDense
      • CSRSparseMatrixToSparseTensor
      • CSVDataset
      • CSVDatasetV2
      • CTCLossV2
        • Overview
        • Options
      • CacheDatasetV2
      • CheckNumericsV2
      • ChooseFastestDataset
      • ClipByValue
      • CollectiveGather
        • Overview
        • Options
      • CollectiveGatherV2
        • Overview
        • Options
      • CollectivePermute
      • CollectiveReduceV2
        • Overview
        • Options
      • CombinedNonMaxSuppression
        • Overview
        • Options
      • CompressElement
      • ComputeBatchSize
      • Concat
      • ConfigureDistributedTPU
        • Overview
        • Options
      • ConfigureTPUEmbedding
      • Constant
      • ConsumeMutexLock
      • ControlTrigger
      • Copy
        • Overview
        • Options
      • CopyHost
        • Overview
        • Options
      • CountUpTo
      • CrossReplicaSum
      • CudnnRNNBackpropV3
        • Overview
        • Options
      • CudnnRNNCanonicalToParamsV2
        • Overview
        • Options
      • CudnnRNNParamsToCanonicalV2
        • Overview
        • Options
      • CudnnRNNV3
        • Overview
        • Options
      • CumulativeLogsumexp
        • Overview
        • Options
      • DataServiceDataset
        • Overview
        • Options
      • DatasetCardinality
      • DatasetFromGraph
      • DatasetToGraphV2
        • Overview
        • Options
      • Dawsn
      • DebugGradientIdentity
      • DebugGradientRefIdentity
      • DebugIdentity
        • Overview
        • Options
      • DebugIdentityV2
        • Overview
        • Options
      • DebugNanCount
        • Overview
        • Options
      • DebugNumericSummary
        • Overview
        • Options
      • DebugNumericSummaryV2
        • Overview
        • Options
      • DecodeImage
        • Overview
        • Options
      • DecodePaddedRaw
        • Overview
        • Options
      • DecodeProto
        • Overview
        • Options
      • DeepCopy
      • DeleteIterator
      • DeleteMemoryCache
      • DeleteMultiDeviceIterator
      • DeleteRandomSeedGenerator
      • DeleteSeedGenerator
      • DeleteSessionTensor
      • DenseBincount
        • Overview
        • Options
      • DenseCountSparseOutput
        • Overview
        • Options
      • DenseToCSRSparseMatrix
      • DestroyResourceOp
        • Overview
        • Options
      • DestroyTemporaryVariable
      • DeviceIndex
      • DirectedInterleaveDataset
      • DrawBoundingBoxesV2
      • DummyIterationCounter
      • DummyMemoryCache
      • DummySeedGenerator
      • DynamicPartition
      • DynamicStitch
      • EditDistance
        • Overview
        • Options
      • Eig
        • Overview
        • Options
      • Einsum
      • Empty
        • Overview
        • Options
      • EmptyTensorList
      • EmptyTensorMap
      • EncodeProto
        • Overview
        • Options
      • EnqueueTPUEmbeddingIntegerBatch
        • Overview
        • Options
      • EnqueueTPUEmbeddingRaggedTensorBatch
        • Overview
        • Options
      • EnqueueTPUEmbeddingSparseBatch
        • Overview
        • Options
      • EnqueueTPUEmbeddingSparseTensorBatch
        • Overview
        • Options
      • EnsureShape
      • Enter
        • Overview
        • Options
      • Erfinv
      • EuclideanNorm
        • Overview
        • Options
      • Exit
      • ExpandDims
      • ExperimentalAutoShardDataset
        • Overview
        • Options
      • ExperimentalBytesProducedStatsDataset
      • ExperimentalChooseFastestDataset
      • ExperimentalDatasetCardinality
      • ExperimentalDatasetToTFRecord
      • ExperimentalDenseToSparseBatchDataset
      • ExperimentalLatencyStatsDataset
      • ExperimentalMatchingFilesDataset
      • ExperimentalMaxIntraOpParallelismDataset
      • ExperimentalParseExampleDataset
        • Overview
        • Options
      • ExperimentalPrivateThreadPoolDataset
      • ExperimentalRandomDataset
      • ExperimentalRebatchDataset
        • Overview
        • Options
      • ExperimentalSetStatsAggregatorDataset
      • ExperimentalSlidingWindowDataset
      • ExperimentalSqlDataset
      • ExperimentalStatsAggregatorHandle
        • Overview
        • Options
      • ExperimentalStatsAggregatorSummary
      • ExperimentalUnbatchDataset
      • Expint
      • ExtractGlimpseV2
        • Overview
        • Options
      • ExtractVolumePatches
      • Fill
      • Fingerprint
      • FresnelCos
      • FresnelSin
      • FusedBatchNormGradV3
        • Overview
        • Options
      • FusedBatchNormV3
        • Overview
        • Options
      • GRUBlockCell
      • GRUBlockCellGrad
      • Gather
        • Overview
        • Options
      • GatherNd
      • GenerateBoundingBoxProposals
        • Overview
        • Options
      • GetSessionHandle
      • GetSessionTensor
      • Gradients
        • Overview
        • Options
      • GuaranteeConst
      • HashTable
        • Overview
        • Options
      • HistogramFixedWidth
      • Identity
      • IdentityN
      • IgnoreErrorsDataset
        • Overview
        • Options
      • ImageProjectiveTransformV2
        • Overview
        • Options
      • ImageProjectiveTransformV3
        • Overview
        • Options
      • ImmutableConst
      • InfeedDequeue
      • InfeedDequeueTuple
      • InfeedEnqueue
        • Overview
        • Options
      • InfeedEnqueuePrelinearizedBuffer
        • Overview
        • Options
      • InfeedEnqueueTuple
        • Overview
        • Options
      • InitializeTable
      • InitializeTableFromDataset
      • InitializeTableFromTextFile
        • Overview
        • Options
      • InplaceAdd
      • InplaceSub
      • InplaceUpdate
      • IsBoostedTreesEnsembleInitialized
      • IsBoostedTreesQuantileStreamResourceInitialized
      • IsVariableInitialized
      • IsotonicRegression
      • IteratorGetDevice
      • KMC2ChainInitialization
      • KmeansPlusPlusInitialization
      • KthOrderStatistic
      • LMDBDataset
      • LSTMBlockCell
        • Overview
        • Options
      • LSTMBlockCellGrad
      • LinSpace
      • LoadTPUEmbeddingADAMParameters
        • Overview
        • Options
      • LoadTPUEmbeddingADAMParametersGradAccumDebug
        • Overview
        • Options
      • LoadTPUEmbeddingAdadeltaParameters
        • Overview
        • Options
      • LoadTPUEmbeddingAdadeltaParametersGradAccumDebug
        • Overview
        • Options
      • LoadTPUEmbeddingAdagradParameters
        • Overview
        • Options
      • LoadTPUEmbeddingAdagradParametersGradAccumDebug
        • Overview
        • Options
      • LoadTPUEmbeddingCenteredRMSPropParameters
        • Overview
        • Options
      • LoadTPUEmbeddingFTRLParameters
        • Overview
        • Options
      • LoadTPUEmbeddingFTRLParametersGradAccumDebug
        • Overview
        • Options
      • LoadTPUEmbeddingMDLAdagradLightParameters
        • Overview
        • Options
      • LoadTPUEmbeddingMomentumParameters
        • Overview
        • Options
      • LoadTPUEmbeddingMomentumParametersGradAccumDebug
        • Overview
        • Options
      • LoadTPUEmbeddingProximalAdagradParameters
        • Overview
        • Options
      • LoadTPUEmbeddingProximalAdagradParametersGradAccumDebug
        • Overview
        • Options
      • LoadTPUEmbeddingProximalYogiParameters
        • Overview
        • Options
      • LoadTPUEmbeddingProximalYogiParametersGradAccumDebug
        • Overview
        • Options
      • LoadTPUEmbeddingRMSPropParameters
        • Overview
        • Options
      • LoadTPUEmbeddingRMSPropParametersGradAccumDebug
        • Overview
        • Options
      • LoadTPUEmbeddingStochasticGradientDescentParameters
        • Overview
        • Options
      • LoadTPUEmbeddingStochasticGradientDescentParametersGradAccumDebug
        • Overview
        • Options
      • LookupTableExport
      • LookupTableFind
      • LookupTableImport
      • LookupTableInsert
      • LookupTableRemove
      • LookupTableSize
      • LoopCond
      • LowerBound
      • Lu
      • MakeUnique
      • MapClear
        • Overview
        • Options
      • MapIncompleteSize
        • Overview
        • Options
      • MapPeek
        • Overview
        • Options
      • MapSize
        • Overview
        • Options
      • MapStage
        • Overview
        • Options
      • MapUnstage
        • Overview
        • Options
      • MapUnstageNoKey
        • Overview
        • Options
      • MatrixDiagPartV2
      • MatrixDiagPartV3
        • Overview
        • Options
      • MatrixDiagV2
      • MatrixDiagV3
        • Overview
        • Options
      • MatrixSetDiagV2
      • MatrixSetDiagV3
        • Overview
        • Options
      • Max
        • Overview
        • Options
      • MaxIntraOpParallelismDataset
      • Merge
      • Min
        • Overview
        • Options
      • MirrorPad
      • MirrorPadGrad
      • MlirPassthroughOp
      • MulNoNan
      • MutableDenseHashTable
        • Overview
        • Options
      • MutableHashTable
        • Overview
        • Options
      • MutableHashTableOfTensors
        • Overview
        • Options
      • Mutex
        • Overview
        • Options
      • MutexLock
      • NcclAllReduce
      • NcclBroadcast
      • NcclReduce
      • Ndtri
      • NearestNeighbors
      • NextAfter
      • NextIteration
      • NoOp
      • NonDeterministicInts
      • NonMaxSuppressionV5
        • Overview
        • Options
      • NonSerializableDataset
      • OneHot
        • Overview
        • Options
      • OnesLike
      • OptimizeDatasetV2
        • Overview
        • Options
      • OrderedMapClear
        • Overview
        • Options
      • OrderedMapIncompleteSize
        • Overview
        • Options
      • OrderedMapPeek
        • Overview
        • Options
      • OrderedMapSize
        • Overview
        • Options
      • OrderedMapStage
        • Overview
        • Options
      • OrderedMapUnstage
        • Overview
        • Options
      • OrderedMapUnstageNoKey
        • Overview
        • Options
      • OutfeedDequeue
        • Overview
        • Options
      • OutfeedDequeueTuple
        • Overview
        • Options
      • OutfeedDequeueTupleV2
      • OutfeedDequeueV2
      • OutfeedEnqueue
      • OutfeedEnqueueTuple
      • Pad
      • ParallelConcat
      • ParallelDynamicStitch
      • ParseExampleDatasetV2
        • Overview
        • Options
      • ParseExampleV2
      • ParseSequenceExampleV2
        • Overview
        • Options
      • Placeholder
        • Overview
        • Options
      • PlaceholderWithDefault
      • Prelinearize
        • Overview
        • Options
      • PrelinearizeTuple
        • Overview
        • Options
      • Print
        • Overview
        • Options
      • PrivateThreadPoolDataset
      • Prod
        • Overview
        • Options
      • QuantizeAndDequantizeV4
        • Overview
        • Options
      • QuantizeAndDequantizeV4Grad
        • Overview
        • Options
      • QuantizedConcat
      • QuantizedConv2DAndRelu
        • Overview
        • Options
      • QuantizedConv2DAndReluAndRequantize
        • Overview
        • Options
      • QuantizedConv2DAndRequantize
        • Overview
        • Options
      • QuantizedConv2DPerChannel
        • Overview
        • Options
      • QuantizedConv2DWithBias
        • Overview
        • Options
      • QuantizedConv2DWithBiasAndRelu
        • Overview
        • Options
      • QuantizedConv2DWithBiasAndReluAndRequantize
        • Overview
        • Options
      • QuantizedConv2DWithBiasAndRequantize
        • Overview
        • Options
      • QuantizedConv2DWithBiasSignedSumAndReluAndRequantize
        • Overview
        • Options
      • QuantizedConv2DWithBiasSumAndRelu
        • Overview
        • Options
      • QuantizedConv2DWithBiasSumAndReluAndRequantize
        • Overview
        • Options
      • QuantizedDepthwiseConv2D
        • Overview
        • Options
      • QuantizedDepthwiseConv2DWithBias
        • Overview
        • Options
      • QuantizedDepthwiseConv2DWithBiasAndRelu
        • Overview
        • Options
      • QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
        • Overview
        • Options
      • QuantizedMatMulWithBias
        • Overview
        • Options
      • QuantizedMatMulWithBiasAndDequantize
        • Overview
        • Options
      • QuantizedMatMulWithBiasAndRelu
        • Overview
        • Options
      • QuantizedMatMulWithBiasAndReluAndRequantize
        • Overview
        • Options
      • QuantizedMatMulWithBiasAndRequantize
        • Overview
        • Options
      • QuantizedReshape
      • RaggedBincount
        • Overview
        • Options
      • RaggedCountSparseOutput
        • Overview
        • Options
      • RaggedCross
      • RaggedGather
      • RaggedRange
      • RaggedTensorFromVariant
      • RaggedTensorToSparse
      • RaggedTensorToTensor
      • RaggedTensorToVariant
      • RaggedTensorToVariantGradient
      • Range
      • Rank
      • ReadVariableOp
      • RebatchDataset
        • Overview
        • Options
      • RebatchDatasetV2
      • Recv
        • Overview
        • Options
      • RecvTPUEmbeddingActivations
      • ReduceAll
        • Overview
        • Options
      • ReduceAny
        • Overview
        • Options
      • ReduceMax
        • Overview
        • Options
      • ReduceMin
        • Overview
        • Options
      • ReduceProd
        • Overview
        • Options
      • ReduceSum
        • Overview
        • Options
      • RefEnter
        • Overview
        • Options
      • RefExit
      • RefIdentity
      • RefMerge
      • RefNextIteration
      • RefSelect
      • RefSwitch
      • RegisterDataset
      • RemoteFusedGraphExecute
      • RequantizationRangePerChannel
      • RequantizePerChannel
      • Reshape
      • ResourceAccumulatorApplyGradient
      • ResourceAccumulatorNumAccumulated
      • ResourceAccumulatorSetGlobalStep
      • ResourceAccumulatorTakeGradient
      • ResourceApplyAdagradV2
        • Overview
        • Options
      • ResourceApplyAdamWithAmsgrad
        • Overview
        • Options
      • ResourceApplyKerasMomentum
        • Overview
        • Options
      • ResourceConditionalAccumulator
        • Overview
        • Options
      • ResourceCountUpTo
      • ResourceGather
        • Overview
        • Options
      • ResourceGatherNd
      • ResourceScatterAdd
      • ResourceScatterDiv
      • ResourceScatterMax
      • ResourceScatterMin
      • ResourceScatterMul
      • ResourceScatterNdAdd
        • Overview
        • Options
      • ResourceScatterNdMax
        • Overview
        • Options
      • ResourceScatterNdMin
        • Overview
        • Options
      • ResourceScatterNdSub
        • Overview
        • Options
      • ResourceScatterNdUpdate
        • Overview
        • Options
      • ResourceScatterSub
      • ResourceScatterUpdate
      • ResourceSparseApplyAdagradV2
        • Overview
        • Options
      • ResourceSparseApplyKerasMomentum
        • Overview
        • Options
      • ResourceStridedSliceAssign
        • Overview
        • Options
      • RetrieveTPUEmbeddingADAMParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingADAMParametersGradAccumDebug
        • Overview
        • Options
      • RetrieveTPUEmbeddingAdadeltaParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingAdadeltaParametersGradAccumDebug
        • Overview
        • Options
      • RetrieveTPUEmbeddingAdagradParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingAdagradParametersGradAccumDebug
        • Overview
        • Options
      • RetrieveTPUEmbeddingCenteredRMSPropParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingFTRLParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingFTRLParametersGradAccumDebug
        • Overview
        • Options
      • RetrieveTPUEmbeddingMDLAdagradLightParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingMomentumParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingMomentumParametersGradAccumDebug
        • Overview
        • Options
      • RetrieveTPUEmbeddingProximalAdagradParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingProximalAdagradParametersGradAccumDebug
        • Overview
        • Options
      • RetrieveTPUEmbeddingProximalYogiParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingProximalYogiParametersGradAccumDebug
        • Overview
        • Options
      • RetrieveTPUEmbeddingRMSPropParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingRMSPropParametersGradAccumDebug
        • Overview
        • Options
      • RetrieveTPUEmbeddingStochasticGradientDescentParameters
        • Overview
        • Options
      • RetrieveTPUEmbeddingStochasticGradientDescentParametersGradAccumDebug
        • Overview
        • Options
      • Reverse
      • ReverseSequence
        • Overview
        • Options
      • RngReadAndSkip
      • RngSkip
      • Roll
      • Rpc
        • Overview
        • Options
      • SamplingDataset
      • ScaleAndTranslate
        • Overview
        • Options
      • ScaleAndTranslateGrad
        • Overview
        • Options
      • ScatterAdd
        • Overview
        • Options
      • ScatterDiv
        • Overview
        • Options
      • ScatterMax
        • Overview
        • Options
      • ScatterMin
        • Overview
        • Options
      • ScatterMul
        • Overview
        • Options
      • ScatterNd
      • ScatterNdAdd
        • Overview
        • Options
      • ScatterNdMax
        • Overview
        • Options
      • ScatterNdMin
        • Overview
        • Options
      • ScatterNdNonAliasingAdd
      • ScatterNdSub
        • Overview
        • Options
      • ScatterNdUpdate
        • Overview
        • Options
      • ScatterSub
        • Overview
        • Options
      • ScatterUpdate
        • Overview
        • Options
      • SelectV2
      • Send
        • Overview
        • Options
      • SendTPUEmbeddingGradients
      • SetDiff1d
      • SetSize
        • Overview
        • Options
      • Shape
      • ShapeN
      • ShardDataset
        • Overview
        • Options
      • ShuffleAndRepeatDatasetV2
        • Overview
        • Options
      • ShuffleDatasetV2
      • ShuffleDatasetV3
        • Overview
        • Options
      • ShutdownDistributedTPU
      • Size
      • Skipgram
        • Overview
        • Options
      • SleepDataset
      • Slice
      • SlidingWindowDataset
      • Snapshot
      • SnapshotDataset
        • Overview
        • Options
      • SobolSample
      • SpaceToBatchNd
      • SparseApplyAdagradV2
        • Overview
        • Options
      • SparseBincount
        • Overview
        • Options
      • SparseCountSparseOutput
        • Overview
        • Options
      • SparseCrossHashed
      • SparseCrossV2
      • SparseMatrixAdd
      • SparseMatrixMatMul
        • Overview
        • Options
      • SparseMatrixMul
      • SparseMatrixNNZ
      • SparseMatrixOrderingAMD
      • SparseMatrixSoftmax
      • SparseMatrixSoftmaxGrad
      • SparseMatrixSparseCholesky
      • SparseMatrixSparseMatMul
        • Overview
        • Options
      • SparseMatrixTranspose
        • Overview
        • Options
      • SparseMatrixZeros
      • SparseTensorToCSRSparseMatrix
      • Spence
      • Split
      • SplitV
      • Squeeze
        • Overview
        • Options
      • Stack
        • Overview
        • Options
      • Stage
        • Overview
        • Options
      • StageClear
        • Overview
        • Options
      • StagePeek
        • Overview
        • Options
      • StageSize
        • Overview
        • Options
      • StatefulRandomBinomial
      • StatefulStandardNormal
      • StatefulStandardNormalV2
      • StatefulTruncatedNormal
      • StatefulUniform
      • StatefulUniformFullInt
      • StatefulUniformInt
      • StatelessParameterizedTruncatedNormal
      • StatelessRandomBinomial
      • StatelessRandomGammaV2
      • StatelessRandomGetKeyCounterAlg
      • StatelessRandomNormalV2
      • StatelessRandomPoisson
      • StatelessRandomUniformFullInt
      • StatelessRandomUniformFullIntV2
      • StatelessRandomUniformIntV2
      • StatelessRandomUniformV2
      • StatelessSampleDistortedBoundingBox
        • Overview
        • Options
      • StatelessTruncatedNormalV2
      • StatsAggregatorHandleV2
        • Overview
        • Options
      • StatsAggregatorSetSummaryWriter
      • StopGradient
      • StridedSlice
        • Overview
        • Options
      • StridedSliceAssign
        • Overview
        • Options
      • StridedSliceGrad
        • Overview
        • Options
      • StringLower
        • Overview
        • Options
      • StringNGrams
      • StringUpper
        • Overview
        • Options
      • Sum
        • Overview
        • Options
      • SwitchCond
      • TPUCompilationResult
      • TPUCompileSucceededAssert
      • TPUEmbeddingActivations
      • TPUExecute
      • TPUExecuteAndUpdateVariables
      • TPUOrdinalSelector
      • TPUPartitionedInput
        • Overview
        • Options
      • TPUPartitionedOutput
        • Overview
        • Options
      • TPUReplicateMetadata
        • Overview
        • Options
      • TPUReplicatedInput
        • Overview
        • Options
      • TPUReplicatedOutput
      • TemporaryVariable
        • Overview
        • Options
      • TensorArray
        • Overview
        • Options
      • TensorArrayClose
      • TensorArrayConcat
        • Overview
        • Options
      • TensorArrayGather
        • Overview
        • Options
      • TensorArrayGrad
      • TensorArrayGradWithShape
      • TensorArrayPack
        • Overview
        • Options
      • TensorArrayRead
      • TensorArrayScatter
      • TensorArraySize
      • TensorArraySplit
      • TensorArrayUnpack
      • TensorArrayWrite
      • TensorForestCreateTreeVariable
      • TensorForestTreeDeserialize
      • TensorForestTreeIsInitializedOp
      • TensorForestTreePredict
      • TensorForestTreeResourceHandleOp
        • Overview
        • Options
      • TensorForestTreeSerialize
      • TensorForestTreeSize
      • TensorListConcat
        • Overview
        • Options
      • TensorListConcatLists
      • TensorListConcatV2
      • TensorListElementShape
      • TensorListFromTensor
      • TensorListGather
      • TensorListGetItem
      • TensorListLength
      • TensorListPopBack
      • TensorListPushBack
      • TensorListPushBackBatch
      • TensorListReserve
      • TensorListResize
      • TensorListScatter
      • TensorListScatterIntoExistingList
      • TensorListScatterV2
      • TensorListSetItem
      • TensorListSplit
      • TensorListStack
        • Overview
        • Options
      • TensorMapErase
      • TensorMapHasKey
      • TensorMapInsert
      • TensorMapLookup
      • TensorMapSize
      • TensorMapStackKeys
      • TensorScatterAdd
      • TensorScatterMax
      • TensorScatterMin
      • TensorScatterSub
      • TensorScatterUpdate
      • TensorStridedSliceUpdate
        • Overview
        • Options
      • ThreadPoolDataset
      • ThreadPoolHandle
        • Overview
        • Options
      • Tile
      • Timestamp
      • ToBool
      • TopKUnique
      • TopKWithUnique
      • TridiagonalMatMul
      • TridiagonalSolve
        • Overview
        • Options
      • TryRpc
        • Overview
        • Options
      • Unbatch
        • Overview
        • Options
      • UnbatchGrad
        • Overview
        • Options
      • UncompressElement
      • UnicodeDecode
        • Overview
        • Options
      • UnicodeEncode
        • Overview
        • Options
      • Unique
      • UniqueDataset
      • UniqueWithCounts
      • UnravelIndex
      • UnsortedSegmentJoin
        • Overview
        • Options
      • Unstack
        • Overview
        • Options
      • Unstage
        • Overview
        • Options
      • UnwrapDatasetVariant
      • UpperBound
      • VarHandleOp
        • Overview
        • Options
      • VarIsInitializedOp
      • Variable
        • Overview
        • Options
      • VariableShape
      • Where
      • Where3
      • WorkerHeartbeat
      • WrapDatasetVariant
      • WriteRawProtoSummary
      • XlaRecvFromHost
      • XlaSendToHost
      • Xlog1py
      • Zeros
      • ZerosLike
    • org.tensorflow.types
      • Overview
      • UInt8
  • Introduction
  • TensorFlow
  • For JavaScript
  • For Mobile & Edge
  • For Production
  • TensorFlow (v2.12.0)
  • Versions…
  • TensorFlow.js
  • TensorFlow Lite
  • TFX
  • Models & datasets
  • Tools
  • Libraries & extensions
  • TensorFlow Certificate program
  • Learn ML
  • Responsible AI
  • Join
  • Blog
  • Forum ↗
  • Groups
  • Contribute
  • About
  • Case studies
  • TensorFlow
  • API
  • TensorFlow v2.4.0
  • Java

org.tensorflow.op.annotation

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2021-01-21 UTC.

  • Stay connected

    • Blog
    • GitHub
    • Twitter
    • 哔哩哔哩
  • Support

    • Issue tracker
    • Release notes
    • Stack Overflow
    • Brand guidelines
    • Cite TensorFlow
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Sign up for the TensorFlow newsletter Subscribe
  • English
  • Bahasa Indonesia
  • Español – América Latina
  • Français
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 日本語
  • 한국어