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::DebugGradientIdentity

Identity op for gradient debugging.

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::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::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::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::Pad

Pads a tensor with zeros.

tensorflow::ops::PadV2

Pads a tensor.

tensorflow::ops::ParallelConcat

Concatenates a list of N tensors along the first dimension.

tensorflow::ops::Placeholder

A placeholder op for a value that will be fed into the computation.

tensorflow::ops::PlaceholderWithDefault

A placeholder op that passes through input when its output is not fed.

tensorflow::ops::PreventGradient

An identity op that triggers an error if a gradient is requested.

tensorflow::ops::QuantizeAndDequantizeV2

Quantizes then dequantizes a tensor.

tensorflow::ops::QuantizeAndDequantizeV3

Quantizes then dequantizes a tensor.

tensorflow::ops::QuantizeV2

Quantize the 'input' tensor of type float to 'output' tensor of type 'T'.

tensorflow::ops::QuantizedConcat

Concatenates quantized tensors along one dimension.

tensorflow::ops::QuantizedInstanceNorm

Quantized Instance normalization.

tensorflow::ops::QuantizedReshape

Reshapes a quantized tensor as per the Reshape op.

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::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::Stack

Packs a list of N rank-R tensors into one rank-(R+1) 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::UniqueWithCounts

Finds unique elements in a 1-D tensor.

tensorflow::ops::Unstack

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

tensorflow::ops::Where

Returns locations of true values in a boolean tensor.

tensorflow::ops::ZerosLike

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

© 2017 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