Skip to main content
Install
Learn
Introduction
New to TensorFlow?
Tutorials
Learn how to use TensorFlow with end-to-end examples
Guide
Learn framework concepts and components
Learn ML
Educational resources to master your path with TensorFlow
API
TensorFlow (v2.16.1)
Versions…
TensorFlow.js
TensorFlow Lite
TFX
Ecosystem
LIBRARIES
TensorFlow.js
Develop web ML applications in JavaScript
TensorFlow Lite
Deploy ML on mobile, microcontrollers and other edge devices
TFX
Build production ML pipelines
All libraries
Create advanced models and extend TensorFlow
RESOURCES
Models & datasets
Pre-trained models and datasets built by Google and the community
Tools
Tools to support and accelerate TensorFlow workflows
Responsible AI
Resources for every stage of the ML workflow
Recommendation systems
Build recommendation systems with open source tools
Community
Groups
User groups, interest groups and mailing lists
Contribute
Guide for contributing to code and documentation
Blog
Stay up to date with all things TensorFlow
Forum
Discussion platform for the TensorFlow community
Why TensorFlow
About
Case studies
/
English
Español
Español – América Latina
Français
Indonesia
Italiano
Polski
Português
Português – Brasil
Tiếng Việt
Türkçe
Русский
עברית
العربيّة
فارسی
हिंदी
বাংলা
ภาษาไทย
中文 – 简体
日本語
한국어
GitHub
TensorFlow v2.16.1
Java
Overview
Python
C++
Java
More
Install
Learn
More
API
More
Overview
Python
C++
Java
More
Ecosystem
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
AnonymousHashTable
AnonymousIteratorV2
AnonymousIteratorV3
AnonymousMemoryCache
AnonymousMultiDeviceIterator
AnonymousMultiDeviceIteratorV3
AnonymousMutableDenseHashTable
Overview
Options
AnonymousMutableHashTable
AnonymousMutableHashTableOfTensors
Overview
Options
AnonymousRandomSeedGenerator
AnonymousSeedGenerator
Any
Overview
Options
ApplyAdagradV2
Overview
Options
ApproxTopK
Overview
Options
AssertCardinalityDataset
AssertNextDataset
AssertPrevDataset
AssertThat
Overview
Options
Assign
Overview
Options
AssignAdd
Overview
Options
AssignAddVariableOp
AssignSub
Overview
Options
AssignSubVariableOp
AssignVariableOp
Overview
Options
AssignVariableXlaConcatND
Overview
Options
AutoShardDataset
Overview
Options
BandedTriangularSolve
Overview
Options
Barrier
Overview
Options
BarrierClose
Overview
Options
BarrierIncompleteSize
BarrierInsertMany
BarrierReadySize
BarrierTakeMany
Overview
Options
Batch
Overview
Options
BatchMatMulV2
Overview
Options
BatchMatMulV3
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
Overview
Options
CheckNumericsV2
ChooseFastestDataset
ClipByValue
CollateTPUEmbeddingMemory
CollectiveAllToAllV2
Overview
Options
CollectiveAllToAllV3
Overview
Options
CollectiveAssignGroupV2
CollectiveBcastRecvV2
Overview
Options
CollectiveBcastSendV2
Overview
Options
CollectiveGather
Overview
Options
CollectiveGatherV2
Overview
Options
CollectiveInitializeCommunicator
Overview
Options
CollectivePermute
CollectiveReduceScatterV2
Overview
Options
CollectiveReduceV2
Overview
Options
CollectiveReduceV3
Overview
Options
CombinedNonMaxSuppression
Overview
Options
CompositeTensorVariantFromComponents
CompositeTensorVariantToComponents
CompressElement
ComputeBatchSize
ComputeDedupDataSize
ComputeDedupDataTupleMask
Concat
ConfigureAndInitializeGlobalTPU
Overview
Options
ConfigureDistributedTPU
Overview
Options
ConfigureTPUEmbedding
ConfigureTPUEmbeddingHost
ConfigureTPUEmbeddingMemory
ConnectTPUEmbeddingHosts
Constant
ConsumeMutexLock
ControlTrigger
Conv
Overview
Options
Conv2DBackpropFilterV2
Overview
Options
Conv2DBackpropInputV2
Overview
Options
ConvertToCooTensor
Copy
Overview
Options
CopyHost
Overview
Options
CopyToMesh
CopyToMeshGrad
CountUpTo
CrossReplicaSum
CudnnRNNBackpropV3
Overview
Options
CudnnRNNCanonicalToParamsV2
Overview
Options
CudnnRNNParamsToCanonicalV2
Overview
Options
CudnnRNNV3
Overview
Options
CumulativeLogsumexp
Overview
Options
DTensorRestoreV2
DTensorSetGlobalTPUArray
DataServiceDataset
Overview
Options
DataServiceDatasetV2
Overview
Options
DatasetCardinality
Overview
Options
DatasetFromGraph
DatasetToGraphV2
Overview
Options
Dawsn
DebugGradientIdentity
DebugGradientRefIdentity
DebugIdentity
Overview
Options
DebugIdentityV2
Overview
Options
DebugIdentityV3
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
Overview
Options
DisableCopyOnRead
DistributedSave
Overview
Options
DrawBoundingBoxesV2
DummyIterationCounter
DummyMemoryCache
DummySeedGenerator
DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
Overview
Options
DynamicEnqueueTPUEmbeddingRaggedTensorBatch
Overview
Options
DynamicPartition
DynamicStitch
EditDistance
Overview
Options
Eig
Overview
Options
Einsum
Empty
Overview
Options
EmptyTensorList
EmptyTensorMap
EncodeProto
Overview
Options
EnqueueTPUEmbeddingArbitraryTensorBatch
Overview
Options
EnqueueTPUEmbeddingBatch
Overview
Options
EnqueueTPUEmbeddingIntegerBatch
Overview
Options
EnqueueTPUEmbeddingRaggedTensorBatch
Overview
Options
EnqueueTPUEmbeddingSparseBatch
Overview
Options
EnqueueTPUEmbeddingSparseTensorBatch
Overview
Options
EnsureShape
Enter
Overview
Options
Erfinv
EuclideanNorm
Overview
Options
ExecuteTPUEmbeddingPartitioner
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
FFTND
FileSystemSetConfiguration
Fill
FinalizeDataset
Overview
Options
FinalizeTPUEmbedding
Fingerprint
FresnelCos
FresnelSin
FusedBatchNormGradV3
Overview
Options
FusedBatchNormV3
Overview
Options
GRUBlockCell
GRUBlockCellGrad
Gather
Overview
Options
GatherNd
GenerateBoundingBoxProposals
Overview
Options
GetElementAtIndex
GetMinibatchSplitsWithPhysicalReplica
GetMinibatchesInCsrWithPhysicalReplica
GetOptions
GetSessionHandle
GetSessionTensor
GlobalIterId
Gradients
Overview
Options
GuaranteeConst
HashTable
Overview
Options
HistogramFixedWidth
IFFTND
IRFFTND
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
IsTPUEmbeddingInitialized
Overview
Options
IsVariableInitialized
IsotonicRegression
IteratorGetDevice
KMC2ChainInitialization
KmeansPlusPlusInitialization
KthOrderStatistic
LMDBDataset
LSTMBlockCell
Overview
Options
LSTMBlockCellGrad
LinSpace
ListDataset
Overview
Options
ListSnapshotChunksDataset
LoadAllTPUEmbeddingParameters
LoadTPUEmbeddingADAMParameters
Overview
Options
LoadTPUEmbeddingAdadeltaParameters
Overview
Options
LoadTPUEmbeddingAdagradMomentumParameters
Overview
Options
LoadTPUEmbeddingAdagradParameters
Overview
Options
LoadTPUEmbeddingCenteredRMSPropParameters
Overview
Options
LoadTPUEmbeddingFTRLParameters
Overview
Options
LoadTPUEmbeddingFrequencyEstimatorParameters
Overview
Options
LoadTPUEmbeddingMDLAdagradLightParameters
Overview
Options
LoadTPUEmbeddingMomentumParameters
Overview
Options
LoadTPUEmbeddingProximalAdagradParameters
Overview
Options
LoadTPUEmbeddingProximalYogiParameters
Overview
Options
LoadTPUEmbeddingRMSPropParameters
Overview
Options
LoadTPUEmbeddingStochasticGradientDescentParameters
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
MergeDedupData
Overview
Options
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
OptionsDataset
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
ParallelBatchDataset
Overview
Options
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
QuantizedConcatV2
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
RFFTND
RaggedBincount
Overview
Options
RaggedCountSparseOutput
Overview
Options
RaggedCross
RaggedFillEmptyRows
RaggedFillEmptyRowsGrad
RaggedGather
RaggedRange
RaggedTensorFromVariant
RaggedTensorToSparse
RaggedTensorToTensor
RaggedTensorToVariant
RaggedTensorToVariantGradient
RandomDatasetV2
Overview
Options
RandomIndexShuffle
Overview
Options
Range
Rank
ReadVariableOp
ReadVariableXlaSplitND
Overview
Options
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
Overview
Options
RegisterDatasetV2
Overview
Options
Relayout
RelayoutLike
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
RetrieveAllTPUEmbeddingParameters
RetrieveTPUEmbeddingADAMParameters
Overview
Options
RetrieveTPUEmbeddingAdadeltaParameters
Overview
Options
RetrieveTPUEmbeddingAdagradMomentumParameters
Overview
Options
RetrieveTPUEmbeddingAdagradParameters
Overview
Options
RetrieveTPUEmbeddingCenteredRMSPropParameters
Overview
Options
RetrieveTPUEmbeddingFTRLParameters
Overview
Options
RetrieveTPUEmbeddingFrequencyEstimatorParameters
Overview
Options
RetrieveTPUEmbeddingMDLAdagradLightParameters
Overview
Options
RetrieveTPUEmbeddingMomentumParameters
Overview
Options
RetrieveTPUEmbeddingProximalAdagradParameters
Overview
Options
RetrieveTPUEmbeddingProximalYogiParameters
Overview
Options
RetrieveTPUEmbeddingRMSPropParameters
Overview
Options
RetrieveTPUEmbeddingStochasticGradientDescentParameters
Overview
Options
Reverse
ReverseSequence
Overview
Options
RewriteDataset
RiscAbs
RiscAdd
RiscBinaryArithmetic
RiscBinaryComparison
RiscBitcast
RiscBroadcast
RiscCast
RiscCeil
RiscCholesky
RiscConcat
RiscConv
Overview
Options
RiscCos
RiscDiv
RiscDot
Overview
Options
RiscExp
RiscFft
RiscFloor
RiscGather
Overview
Options
RiscImag
RiscIsFinite
RiscLog
RiscLogicalAnd
RiscLogicalNot
RiscLogicalOr
RiscMax
RiscMin
RiscMul
RiscNeg
RiscPad
RiscPool
Overview
Options
RiscPow
RiscRandomUniform
Overview
Options
RiscReal
RiscReduce
RiscRem
RiscReshape
RiscReverse
RiscScatter
RiscShape
RiscSign
RiscSlice
RiscSort
RiscSqueeze
Overview
Options
RiscSub
RiscTranspose
RiscTriangularSolve
Overview
Options
RiscUnary
RngReadAndSkip
RngSkip
Roll
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
SegmentMaxV2
SegmentMinV2
SegmentProdV2
SegmentSumV2
SelectV2
Send
Overview
Options
SendTPUEmbeddingGradients
SetDiff1d
SetSize
Overview
Options
Shape
ShapeN
ShardDataset
Overview
Options
ShuffleAndRepeatDatasetV2
Overview
Options
ShuffleDatasetV2
Overview
Options
ShuffleDatasetV3
Overview
Options
ShutdownDistributedTPU
ShutdownTPUSystem
Size
Skipgram
Overview
Options
SleepDataset
Slice
SlidingWindowDataset
Overview
Options
Snapshot
SnapshotChunkDataset
Overview
Options
SnapshotDataset
Overview
Options
SnapshotDatasetReader
Overview
Options
SnapshotNestedDatasetReader
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
SparseSegmentMeanGradV2
SparseSegmentSqrtNGradV2
SparseSegmentSumGrad
SparseSegmentSumGradV2
SparseTensorToCSRSparseMatrix
Spence
Split
SplitDedupData
Overview
Options
SplitV
Squeeze
Overview
Options
Stack
Overview
Options
Stage
Overview
Options
StageClear
Overview
Options
StagePeek
Overview
Options
StageSize
Overview
Options
StatefulRandomBinomial
StatefulStandardNormal
StatefulStandardNormalV2