W3cubDocs

/TensorFlow C++

Array Ops

Summary

Classes
tensorflow::ops::BatchToSpace

BatchToSpace for 4-D tensors of type T.

tensorflow::ops::BatchToSpaceND

BatchToSpace for N-D tensors of type T.

tensorflow::ops::Bitcast

Bitcasts a tensor from one type to another without copying data.

tensorflow::ops::BroadcastDynamicShape

Return the shape of s0 op s1 with broadcast.

tensorflow::ops::CheckNumerics

Checks a tensor for NaN and Inf values.

tensorflow::ops::Concat

Concatenates tensors along one dimension.

tensorflow::ops::ConjugateTranspose

Shuffle dimensions of x according to a permutation and conjugate the result.

tensorflow::ops::DebugGradientIdentity

Identity op for gradient debugging.

tensorflow::ops::DebugGradientRefIdentity

Identity op for gradient debugging.

tensorflow::ops::DeepCopy

Makes a copy of x.

tensorflow::ops::DepthToSpace

DepthToSpace for tensors of type T.

tensorflow::ops::Dequantize

Dequantize the 'input' tensor into a float Tensor.

tensorflow::ops::Diag

Returns a diagonal tensor with a given diagonal values.

tensorflow::ops::DiagPart

Returns the diagonal part of the tensor.

tensorflow::ops::EditDistance

Computes the (possibly normalized) Levenshtein Edit Distance.

tensorflow::ops::Empty

Creates a tensor with the given shape.

tensorflow::ops::ExpandDims

Inserts a dimension of 1 into a tensor's shape.

tensorflow::ops::ExtractImagePatches

Extract patches from images and put them in the "depth" output dimension.

tensorflow::ops::FakeQuantWithMinMaxArgs

Fake-quantize the 'inputs' tensor, type float to 'outputs' tensor of same type.

tensorflow::ops::FakeQuantWithMinMaxArgsGradient

Compute gradients for a FakeQuantWithMinMaxArgs operation.

tensorflow::ops::FakeQuantWithMinMaxVars

Fake-quantize the 'inputs' tensor of type float via global float scalars min

tensorflow::ops::FakeQuantWithMinMaxVarsGradient

Compute gradients for a FakeQuantWithMinMaxVars operation.

tensorflow::ops::FakeQuantWithMinMaxVarsPerChannel

Fake-quantize the 'inputs' tensor of type float and one of the shapes: [d],.

tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient

Compute gradients for a FakeQuantWithMinMaxVarsPerChannel operation.

tensorflow::ops::Fill

Creates a tensor filled with a scalar value.

tensorflow::ops::Gather

Gather slices from params according to indices.

tensorflow::ops::GatherNd

Gather slices from params into a Tensor with shape specified by indices.

tensorflow::ops::GatherV2

Gather slices from params axis axis according to indices.

tensorflow::ops::GuaranteeConst

Gives a guarantee to the TF runtime that the input tensor is a constant.

tensorflow::ops::Identity

Return a tensor with the same shape and contents as the input tensor or value.

tensorflow::ops::IdentityN

Returns a list of tensors with the same shapes and contents as the input.

tensorflow::ops::ImmutableConst

Returns immutable tensor from memory region.

tensorflow::ops::InplaceAdd

Adds v into specified rows of x.

tensorflow::ops::InplaceSub

Subtracts v into specified rows of x.

tensorflow::ops::InplaceUpdate

Updates specified rows with values in v.

tensorflow::ops::InvertPermutation

Computes the inverse permutation of a tensor.

tensorflow::ops::MatrixBandPart

Copy a tensor setting everything outside a central band in each innermost matrix.

tensorflow::ops::MatrixDiag

Returns a batched diagonal tensor with a given batched diagonal values.

tensorflow::ops::MatrixDiagPart

Returns the batched diagonal part of a batched tensor.

tensorflow::ops::MatrixSetDiag

Returns a batched matrix tensor with new batched diagonal values.

tensorflow::ops::MirrorPad

Pads a tensor with mirrored values.

tensorflow::ops::OneHot

Returns a one-hot tensor.

tensorflow::ops::OnesLike

Returns a tensor of ones with the same shape and type as x.

tensorflow::ops::QuantizedReshape

Packs a list of N rank-R tensors into one rank-(R+1) tensor.

tensorflow::ops::Rank

Returns the rank of a tensor.

tensorflow::ops::Reshape

Reshapes a tensor.

tensorflow::ops::ResourceStridedSliceAssign

Assignvalue to the sliced l-value reference of ref.

tensorflow::ops::Reverse

Reverses specific dimensions of a tensor.

tensorflow::ops::ReverseSequence

Reverses variable length slices.

tensorflow::ops::ScatterNd

Scatter updates into a new (initially zero) tensor according to indices.

tensorflow::ops::ScatterNdNonAliasingAdd

Applies sparse addition to input using individual values or slices.

tensorflow::ops::SetDiff1D

Computes the difference between two lists of numbers or strings.

tensorflow::ops::Shape

Returns the shape of a tensor.

tensorflow::ops::ShapeN

Returns shape of tensors.

tensorflow::ops::Size

Returns the size of a tensor.

tensorflow::ops::Slice

Return a slice from 'input'.

tensorflow::ops::Snapshot

Returns a copy of the input tensor.

tensorflow::ops::SpaceToBatch

SpaceToBatch for 4-D tensors of type T.

tensorflow::ops::SpaceToBatchND

SpaceToBatch for N-D tensors of type T.

tensorflow::ops::SpaceToDepth

SpaceToDepth for tensors of type T.

tensorflow::ops::Split

Splits a tensor into num_split tensors along one dimension.

tensorflow::ops::SplitV

Splits a tensor into num_split tensors along one dimension.

tensorflow::ops::Squeeze

Removes dimensions of size 1 from the shape of a tensor.

tensorflow::ops::StopGradient

Stops gradient computation.

tensorflow::ops::StridedSlice

Return a strided slice from input.

tensorflow::ops::StridedSliceAssign

Assignvalue to the sliced l-value reference of ref.

tensorflow::ops::StridedSliceGrad

Returns the gradient of StridedSlice.

tensorflow::ops::Tile

Constructs a tensor by tiling a given tensor.

tensorflow::ops::Transpose

Shuffle dimensions of x according to a permutation.

tensorflow::ops::Unique

Finds unique elements in a 1-D tensor.

tensorflow::ops::UniqueV2

Finds unique elements along an axis of a tensor.

tensorflow::ops::UniqueWithCounts

Finds unique elements in a 1-D tensor.

tensorflow::ops::UniqueWithCountsV2

Finds unique elements along an axis of a tensor.

tensorflow::ops::UnravelIndex

Converts a flat index or array of flat indices into a tuple of.

tensorflow::ops::Unstack

Unpacks a given dimension of a rank-R tensor into num rank-(R-1) tensors.

tensorflow::ops::Where

Returns locations of nonzero / true values in a tensor.

tensorflow::ops::ZerosLike

Returns a tensor of zeros with the same shape and type as x.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/group/array-ops