Uses of Class
org.tensorflow.ndarray.Shape
Packages that use Shape
Package
Description
Defines classes to build, save, load and execute TensorFlow models.
Defines classes that represent TensorFlow tensor types.
-
Uses of Shape in org.tensorflow
Fields in org.tensorflow declared as ShapeModifier and TypeFieldDescriptionfinal ShapeSignature.TensorDescription.shapeThe shape of the tensorMethods in org.tensorflow that return ShapeModifier and TypeMethodDescriptionOperationAttributeInspector.getAttrShape(String name) Get the value of a shape attribute of this operation.Shape[]OperationAttributeInspector.getAttrShapeList(String name) Get the value of a shape list attribute of this operation.default ShapeOperand.shape()Returns the (possibly partially known) shape of the tensor referred to by theOutputof this operand.Output.shape()Returns the (possibly partially known) shape of the tensor referred to by this output.RawTensor.shape()Tensor.shape()Returns the shape of the tensor.Methods in org.tensorflow with parameters of type ShapeModifier and TypeMethodDescriptionstatic <T extends TType>
TAllocates a tensor of a given datatype and shape.static <T extends TType>
TAllocates a tensor of a given datatype, shape and size.static <T extends TType>
TAllocates a tensor of a given datatype, shape and size.static <T extends TType>
TAllocates and initialize a tensor of a given datatype and shape.static <T extends TType>
TTensor.of(Class<T> type, Shape shape, ByteDataBuffer rawData) Creates a Tensor of any type from the raw data provided by the given buffer.Set the shape value of an attribute of the operation being built.Set the shape values of an attribute of the operation being built.Constructors in org.tensorflow with parameters of type Shape -
Uses of Shape in org.tensorflow.framework.data
Fields in org.tensorflow.framework.data with type parameters of type ShapeMethods in org.tensorflow.framework.data that return types with arguments of type ShapeModifier and TypeMethodDescriptionDataset.getOutputShapes()Gets a list of shapes for each component of this dataset. -
Uses of Shape in org.tensorflow.framework.utils
Methods in org.tensorflow.framework.utils that return ShapeModifier and TypeMethodDescriptionstatic ShapeReduces the shape by eliminating trailing Dimensions.Converts a shape operand to a Shape objectMethods in org.tensorflow.framework.utils with parameters of type Shape -
Uses of Shape in org.tensorflow.ndarray
Methods in org.tensorflow.ndarray that return ShapeModifier and TypeMethodDescriptionShape.append(long lastDimension) Returns a new Shape, with a new last dimension added.Returns a new Shape, with another Shapes' dimensions appended.Shape.head()Returns a 1-dimensional Shape with first dimension matching the first dimension of this Shape.static ShapeShape.of(long... dimensionSizes) Create a Shape representing a scalar or an N-dimensional value.Shape.prepend(long firstDimension) Returns a new Shape, with a new first dimension added.Returns a new Shape, with another Shape's dimensions prepended.static ShapeShape.scalar()Creates a Shape representing a scalar value.Shaped.shape()static ShapeStdArrays.shapeOf(boolean[] array) Compute the shape of a boolean array.static ShapeStdArrays.shapeOf(boolean[][] array) Compute the shape of a 2-dimensional boolean array.static ShapeStdArrays.shapeOf(boolean[][][] array) Compute the shape of a 3-dimensional boolean array.static ShapeStdArrays.shapeOf(boolean[][][][] array) Compute the shape of a 4-dimensional boolean array.static ShapeStdArrays.shapeOf(boolean[][][][][] array) Compute the shape of a 5-dimensional boolean array.static ShapeStdArrays.shapeOf(boolean[][][][][][] array) Compute the shape of a 6-dimensional boolean array.static ShapeStdArrays.shapeOf(byte[] array) Compute the shape of a byte array.static ShapeStdArrays.shapeOf(byte[][] array) Compute the shape of a 2-dimensional byte array.static ShapeStdArrays.shapeOf(byte[][][] array) Compute the shape of a 3-dimensional byte array.static ShapeStdArrays.shapeOf(byte[][][][] array) Compute the shape of a 4-dimensional byte array.static ShapeStdArrays.shapeOf(byte[][][][][] array) Compute the shape of a 5-dimensional byte array.static ShapeStdArrays.shapeOf(byte[][][][][][] array) Compute the shape of a 6-dimensional byte array.static ShapeStdArrays.shapeOf(double[] array) Compute the shape of a double array.static ShapeStdArrays.shapeOf(double[][] array) Compute the shape of a 2-dimensional double array.static ShapeStdArrays.shapeOf(double[][][] array) Compute the shape of a 3-dimensional double array.static ShapeStdArrays.shapeOf(double[][][][] array) Compute the shape of a 4-dimensional double array.static ShapeStdArrays.shapeOf(double[][][][][] array) Compute the shape of a 5-dimensional double array.static ShapeStdArrays.shapeOf(double[][][][][][] array) Compute the shape of a 6-dimensional double array.static ShapeStdArrays.shapeOf(float[] array) Compute the shape of a float array.static ShapeStdArrays.shapeOf(float[][] array) Compute the shape of a 2-dimensional float array.static ShapeStdArrays.shapeOf(float[][][] array) Compute the shape of a 3-dimensional float array.static ShapeStdArrays.shapeOf(float[][][][] array) Compute the shape of a 4-dimensional float array.static ShapeStdArrays.shapeOf(float[][][][][] array) Compute the shape of a 5-dimensional float array.static ShapeStdArrays.shapeOf(float[][][][][][] array) Compute the shape of a 6-dimensional float array.static ShapeStdArrays.shapeOf(int[] array) Compute the shape of an int array.static ShapeStdArrays.shapeOf(int[][] array) Compute the shape of a 2-dimensional int array.static ShapeStdArrays.shapeOf(int[][][] array) Compute the shape of a 3-dimensional int array.static ShapeStdArrays.shapeOf(int[][][][] array) Compute the shape of a 4-dimensional int array.static ShapeStdArrays.shapeOf(int[][][][][] array) Compute the shape of a 5-dimensional int array.static ShapeStdArrays.shapeOf(int[][][][][][] array) Compute the shape of a 6-dimensional int array.static ShapeStdArrays.shapeOf(long[] array) Compute the shape of a long array.static ShapeStdArrays.shapeOf(long[][] array) Compute the shape of a 2-dimensional long array.static ShapeStdArrays.shapeOf(long[][][] array) Compute the shape of a 3-dimensional long array.static ShapeStdArrays.shapeOf(long[][][][] array) Compute the shape of a 4-dimensional long array.static ShapeStdArrays.shapeOf(long[][][][][] array) Compute the shape of a 5-dimensional long array.static ShapeStdArrays.shapeOf(long[][][][][][] array) Compute the shape of a 6-dimensional long array.static ShapeStdArrays.shapeOf(short[] array) Compute the shape of a short array.static ShapeStdArrays.shapeOf(short[][] array) Compute the shape of a 2-dimensional short array.static ShapeStdArrays.shapeOf(short[][][] array) Compute the shape of a 3-dimensional short array.static ShapeStdArrays.shapeOf(short[][][][] array) Compute the shape of a 4-dimensional short array.static ShapeStdArrays.shapeOf(short[][][][][] array) Compute the shape of a 5-dimensional short array.static ShapeStdArrays.shapeOf(short[][][][][][] array) Compute the shape of a 6-dimensional short array.static <T> ShapeStdArrays.shapeOf(T[] array) Compute the shape of an object array.static <T> ShapeStdArrays.shapeOf(T[][] array) Compute the shape of a 2-dimensional object array.static <T> ShapeStdArrays.shapeOf(T[][][] array) Compute the shape of a 3-dimensional object array.static <T> ShapeStdArrays.shapeOf(T[][][][] array) Compute the shape of a 4-dimensional object array.static <T> ShapeStdArrays.shapeOf(T[][][][][] array) Compute the shape of a 5-dimensional object array.static <T> ShapeStdArrays.shapeOf(T[][][][][][] array) Compute the shape of a 6-dimensional object array.Shape.subShape(int begin, int end) Return aend - begindimensional shape with dimensions matching this Shape frombegintoend.Shape.tail()Returns a new Shape, with this Shape's first dimension removed.Shape.take(int n) Returns an n-dimensional Shape with the dimensions matching the first n dimensions of this shapeShape.takeLast(int n) Returns an n-dimensional Shape with the dimensions matching the last n dimensions of this Shape.static ShapeShape.unknown()Creates a Shape representing an unknown number of dimensions.Methods in org.tensorflow.ndarray with parameters of type ShapeModifier and TypeMethodDescriptionReturns a new Shape, with another Shapes' dimensions appended.booleanShape.isCompatibleWith(Shape shape) Determines whether another shape is compatible with this one.static BooleanNdArrayNdArrays.ofBooleans(Shape shape) Creates an N-dimensional array of booleans of the given shape.static ByteNdArrayCreates an N-dimensional array of bytes of the given shape.static DoubleNdArrayCreates an N-dimensional array of doubles of the given shape.static FloatNdArrayCreates an N-dimensional array of floats of the given shape.static IntNdArrayCreates an N-dimensional array of ints of the given shape.static LongNdArrayCreates an N-dimensional array of longs of the given shape.static <T> NdArray<T> Creates an N-dimensional array of the given shape.static ShortNdArrayCreates an N-dimensional array of shorts of the given shape.Returns a new Shape, with another Shape's dimensions prepended.static BooleanSparseNdArrayNdArrays.sparseOf(LongNdArray indices, BooleanNdArray values, boolean defaultValue, Shape shape) Creates a Sparse array of boolean valuesstatic BooleanSparseNdArrayNdArrays.sparseOf(LongNdArray indices, BooleanNdArray values, Shape shape) Creates a Sparse array of boolean values with a default value of 'false'static ByteSparseNdArrayNdArrays.sparseOf(LongNdArray indices, ByteNdArray values, byte defaultValue, Shape shape) Creates a Sparse array of byte valuesstatic ByteSparseNdArrayNdArrays.sparseOf(LongNdArray indices, ByteNdArray values, Shape shape) Creates a Sparse array of byte values with a default value of zerostatic DoubleSparseNdArrayNdArrays.sparseOf(LongNdArray indices, DoubleNdArray values, double defaultValue, Shape shape) Creates a Sparse array of double valuesstatic DoubleSparseNdArrayNdArrays.sparseOf(LongNdArray indices, DoubleNdArray values, Shape shape) Creates a Sparse array of double values with a default value of zerostatic FloatSparseNdArrayNdArrays.sparseOf(LongNdArray indices, FloatNdArray values, float defaultValue, Shape shape) Creates a Sparse array of float valuesstatic FloatSparseNdArrayNdArrays.sparseOf(LongNdArray indices, FloatNdArray values, Shape shape) Creates a Sparse array of float values with a default value of zerostatic IntSparseNdArrayNdArrays.sparseOf(LongNdArray indices, IntNdArray values, int defaultValue, Shape shape) Creates a Sparse array of int valuesstatic IntSparseNdArrayNdArrays.sparseOf(LongNdArray indices, IntNdArray values, Shape shape) Creates a Sparse array of int values with a default value of zero.static LongSparseNdArrayNdArrays.sparseOf(LongNdArray indices, LongNdArray values, long defaultValue, Shape shape) Creates a Sparse array of long values with a default value of zerostatic LongSparseNdArrayNdArrays.sparseOf(LongNdArray indices, LongNdArray values, Shape shape) Creates a Sparse array of long values with a default value of zerostatic ShortSparseNdArrayNdArrays.sparseOf(LongNdArray indices, ShortNdArray values, short defaultValue, Shape shape) Creates a Sparse array of short valuesstatic ShortSparseNdArrayNdArrays.sparseOf(LongNdArray indices, ShortNdArray values, Shape shape) Creates a Sparse array of short values with a default value of zerostatic <T> NdArray<T> NdArrays.sparseOfObjects(Class<T> type, LongNdArray indices, NdArray<T> values, Shape shape) Creates a Sparse array of values with a null default valuestatic <T> NdArray<T> NdArrays.sparseOfObjects(Class<T> type, LongNdArray indices, NdArray<T> values, T defaultValue, Shape shape) Creates a Sparse array of valuesReturns a new N-dimensional view of this array with the givenshape.static BooleanNdArrayNdArrays.wrap(Shape shape, BooleanDataBuffer buffer) Wraps a buffer in a boolean N-dimensional array of a given shape.static ByteNdArrayNdArrays.wrap(Shape shape, ByteDataBuffer buffer) Wraps a buffer in a byte N-dimensional array of a given shape.static <T> NdArray<T> NdArrays.wrap(Shape shape, DataBuffer<T> buffer) Wraps a buffer in an N-dimensional array of a given shape.static DoubleNdArrayNdArrays.wrap(Shape shape, DoubleDataBuffer buffer) Wraps a buffer in a double N-dimensional array of a given shape.static FloatNdArrayNdArrays.wrap(Shape shape, FloatDataBuffer buffer) Wraps a buffer in a float N-dimensional array of a given shape.static IntNdArrayNdArrays.wrap(Shape shape, IntDataBuffer buffer) Wraps a buffer in an int N-dimensional array of a given shape.static LongNdArrayNdArrays.wrap(Shape shape, LongDataBuffer buffer) Wraps a buffer in a long N-dimensional array of a given shape.static ShortNdArrayNdArrays.wrap(Shape shape, ShortDataBuffer buffer) Wraps a buffer in a short N-dimensional array of a given shape. -
Uses of Shape in org.tensorflow.ndarray.impl.dense
Methods in org.tensorflow.ndarray.impl.dense with parameters of type ShapeModifier and TypeMethodDescriptionstatic BooleanNdArrayBooleanDenseNdArray.create(BooleanDataBuffer buffer, Shape shape) static ByteNdArrayByteDenseNdArray.create(ByteDataBuffer buffer, Shape shape) static DoubleNdArrayDoubleDenseNdArray.create(DoubleDataBuffer buffer, Shape shape) static FloatNdArrayFloatDenseNdArray.create(FloatDataBuffer buffer, Shape shape) static IntNdArrayIntDenseNdArray.create(IntDataBuffer buffer, Shape shape) static LongNdArrayLongDenseNdArray.create(LongDataBuffer buffer, Shape shape) static ShortNdArrayShortDenseNdArray.create(ShortDataBuffer buffer, Shape shape) static <T> NdArray<T> DenseNdArray.wrap(DataBuffer<T> buffer, Shape shape) Constructors in org.tensorflow.ndarray.impl.dense with parameters of type ShapeModifierConstructorDescriptionprotectedBooleanDenseNdArray(BooleanDataBuffer buffer, Shape shape) protectedByteDenseNdArray(ByteDataBuffer buffer, Shape shape) protectedDenseNdArray(DataBuffer<T> buffer, Shape shape) protectedDoubleDenseNdArray(DoubleDataBuffer buffer, Shape shape) protectedFloatDenseNdArray(FloatDataBuffer buffer, Shape shape) protectedIntDenseNdArray(IntDataBuffer buffer, Shape shape) protectedLongDenseNdArray(LongDataBuffer buffer, Shape shape) protectedShortDenseNdArray(ShortDataBuffer buffer, Shape shape) -
Uses of Shape in org.tensorflow.ndarray.impl.dimension
Methods in org.tensorflow.ndarray.impl.dimension that return ShapeMethods in org.tensorflow.ndarray.impl.dimension with parameters of type Shape -
Uses of Shape in org.tensorflow.ndarray.impl.sparse
Methods in org.tensorflow.ndarray.impl.sparse with parameters of type ShapeModifier and TypeMethodDescriptionstatic BooleanSparseNdArrayBooleanSparseNdArray.create(BooleanDataBuffer buffer, boolean defaultValue, Shape shape) Creates a new empty BooleanSparseNdArray from a float data bufferstatic BooleanSparseNdArrayBooleanSparseNdArray.create(BooleanDataBuffer buffer, Shape shape) Creates a new empty BooleanSparseNdArray from a float data bufferstatic ByteSparseNdArrayByteSparseNdArray.create(ByteDataBuffer buffer, byte defaultValue, Shape shape) Creates a new empty ByteSparseNdArray from a float data bufferstatic ByteSparseNdArrayByteSparseNdArray.create(ByteDataBuffer buffer, Shape shape) Creates a new empty ByteSparseNdArray from a float data bufferstatic DoubleSparseNdArrayDoubleSparseNdArray.create(DoubleDataBuffer buffer, double defaultValue, Shape shape) Creates a new empty DoubleSparseNdArray from a double data bufferstatic DoubleSparseNdArrayDoubleSparseNdArray.create(DoubleDataBuffer buffer, Shape shape) Creates a new empty DoubleSparseNdArray from a double data bufferstatic FloatSparseNdArrayFloatSparseNdArray.create(FloatDataBuffer buffer, float defaultValue, Shape shape) Creates a new empty FloatSparseNdArray from a float data bufferstatic FloatSparseNdArrayFloatSparseNdArray.create(FloatDataBuffer buffer, Shape shape) Creates a new empty FloatSparseNdArray from a float data bufferstatic IntSparseNdArrayCreates a new empty IntSparseNdArray from a data bufferstatic IntSparseNdArrayIntSparseNdArray.create(IntDataBuffer buffer, int defaultValue, Shape shape) Creates a new empty IntSparseNdArray from a int data bufferstatic IntSparseNdArrayIntSparseNdArray.create(IntDataBuffer buffer, Shape shape) Creates a new empty IntSparseNdArray from a int data bufferstatic IntSparseNdArrayCreates a new empty IntSparseNdArray from a data bufferstatic LongSparseNdArrayLongSparseNdArray.create(LongDataBuffer buffer, long defaultValue, Shape shape) Creates a new empty LongSparseNdArray from a long data bufferstatic LongSparseNdArrayLongSparseNdArray.create(LongDataBuffer buffer, Shape shape) Creates a new empty LongSparseNdArray from a long data bufferstatic ShortSparseNdArrayShortSparseNdArray.create(ShortDataBuffer buffer, short defaultValue, Shape shape) Creates a new empty ShortSparseNdArray from a short data bufferstatic ShortSparseNdArrayShortSparseNdArray.create(ShortDataBuffer buffer, Shape shape) Creates a new empty ShortSparseNdArray from a short data bufferstatic <T, U extends NdArray<T>>
SparseNdArray<T, U> SparseNdArray.create(Class<T> type, DataBuffer<T> buffer, Shape shape) Creates a new empty SparseNdArray from a float data bufferstatic <T, U extends NdArray<T>>
SparseNdArray<T, U> SparseNdArray.create(Class<T> type, DataBuffer<T> buffer, T defaultValue, Shape shape) Creates a new empty SparseNdArray from a float data bufferabstract UAbstractSparseNdArray.createValues(Shape shape) Creates a dense array of the type that this sparse array represents.BooleanSparseNdArray.createValues(Shape shape) Creates a BooleanNdArray of the specified shapeByteSparseNdArray.createValues(Shape shape) Creates a ByteNdArray of the specified shapeDoubleSparseNdArray.createValues(Shape shape) Creates a DoubleNdArray of the specified shapeFloatSparseNdArray.createValues(Shape shape) Creates a FloatNdArray of the specified shapeIntSparseNdArray.createValues(Shape shape) Creates a IntNdArray of the specified shapeLongSparseNdArray.createValues(Shape shape) Creates a LongNdArray of the specified shapeShortSparseNdArray.createValues(Shape shape) Creates a ShortNdArray of the specified shapeSparseNdArray.createValues(Shape shape) Creates a NdArray of the specified shape -
Uses of Shape in org.tensorflow.ndarray.impl.sparse.slice
Methods in org.tensorflow.ndarray.impl.sparse.slice with parameters of type ShapeModifier and TypeMethodDescriptionSparseSlice.createValues(Shape shape) Creates a dense array of the type that this sparse array represents. -
Uses of Shape in org.tensorflow.op
Methods in org.tensorflow.op with parameters of type ShapeModifier and TypeMethodDescription<T extends TType>
AccumulateN<T> MathOps.accumulateN(Iterable<Operand<T>> inputs, Shape shape) Returns the element-wise sum of a list of tensors.<T extends TType>
ConditionalAccumulatorTrainOps.conditionalAccumulator(Class<T> dtype, Shape shape, ConditionalAccumulator.Options... options) A conditional accumulator for aggregating gradients.Ops.constant(Class<T> type, Shape shape, ByteDataBuffer data) Create a constant with data from the given buffer.Ops.constant(Charset charset, Shape shape, DataBuffer<String> data) Create aTStringconstant with data from the given buffer, using the given encoding.Creates a rank-1 constant oflongelements representing the size of each dimensions of the given shape.Ops.constant(Shape shape, BooleanDataBuffer data) Create aTBoolconstant with data from the given buffer.Ops.constant(Shape shape, ByteDataBuffer data) Create aTUint8constant with data from the given buffer.Ops.constant(Shape shape, DataBuffer<String> data) Create aTStringconstant with data from the given buffer, using the default UTF-8 encoding.Ops.constant(Shape shape, DoubleDataBuffer data) Create aTFloat64constant with data from the given buffer.Ops.constant(Shape shape, FloatDataBuffer data) Create aTFloat32constant with data from the given buffer.Ops.constant(Shape shape, IntDataBuffer data) Create aTInt32constant with data from the given buffer.Ops.constant(Shape shape, LongDataBuffer data) Create aTInt64constant with data from the given buffer.<T extends TType>
EnsureShape<T> Ops.ensureShape(Operand<T> input, Shape shape) Ensures that the tensor's shape matches the expected shape.This op is used as a placeholder in If branch functions.<T extends TType>
ImmutableConst<T> Ops.immutableConst(Class<T> dtype, Shape shape, String memoryRegionName) Returns immutable tensor from memory region.<T extends TType>
InfeedDequeue<T> TpuOps.infeedDequeue(Class<T> dtype, Shape shape) A placeholder op for a value that will be fed into the computation.<T extends TNumber>
NcclBroadcast<T> DistributeOps.ncclBroadcast(Operand<T> input, Shape shape) Sendsinputto all devices that are connected to the output.<T extends TNumber>
NcclBroadcast<T> Ops.ncclBroadcast(Operand<T> input, Shape shape) Deprecated.<T extends TType>
OutfeedDequeue<T> TpuOps.outfeedDequeue(Class<T> dtype, Shape shape, OutfeedDequeue.Options... options) Retrieves a single tensor from the computation outfeed.<T extends TType>
OutfeedDequeueV2<T> TpuOps.outfeedDequeueV2(Operand<TInt32> deviceOrdinal, Class<T> dtype, Shape shape) Retrieves a single tensor from the computation outfeed.<T extends TType>
ParallelConcat<T> Ops.parallelConcat(Iterable<Operand<T>> values, Shape shape) Concatenates a list ofNtensors along the first dimension.<T extends TType>
PlaceholderWithDefault<T> Ops.placeholderWithDefault(Operand<T> input, Shape shape) A placeholder op that passes throughinputwhen its output is not fed.<T extends TType>
ResourceConditionalAccumulatorTrainOps.resourceConditionalAccumulator(Class<T> dtype, Shape shape, ResourceConditionalAccumulator.Options... options) A conditional accumulator for aggregating gradients.<T extends TType>
SparseConditionalAccumulatorSparseOps.sparseConditionalAccumulator(Class<T> dtype, Shape shape, SparseConditionalAccumulator.Options... options) A conditional accumulator for aggregating sparse gradients.<T extends TType>
TemporaryVariable<T> Ops.temporaryVariable(Shape shape, Class<T> dtype, TemporaryVariable.Options... options) Returns a tensor that may be mutated, but only persists within a single step.<T extends TType>
VarHandleOpOps.varHandleOp(Class<T> dtype, Shape shape, VarHandleOp.Options... options) Creates a handle to a Variable resource.Ops.variable(Shape shape, Class<T> dtype, Variable.Options... options) Holds state in the form of a tensor that persists across steps.<T extends TType>
XlaRecvFromHost<T> XlaOps.xlaRecvFromHost(Class<T> Toutput, Shape shape, String key) An op to receive a tensor from the host.Method parameters in org.tensorflow.op with type arguments of type ShapeModifier and TypeMethodDescriptionDataExperimentalOps.cSVDataset(Operand<TString> filenames, Operand<TString> compressionType, Operand<TInt64> bufferSize, Operand<TBool> header, Operand<TString> fieldDelim, Operand<TBool> useQuoteDelim, Operand<TString> naValue, Operand<TInt64> selectCols, Iterable<Operand<?>> recordDefaults, List<Shape> outputShapes) The ExperimentalCSVDataset operationDataOps.cSVDataset(Operand<TString> filenames, Operand<TString> compressionType, Operand<TInt64> bufferSize, Operand<TBool> header, Operand<TString> fieldDelim, Operand<TBool> useQuoteDelim, Operand<TString> naValue, Operand<TInt64> selectCols, Iterable<Operand<?>> recordDefaults, Operand<TInt64> excludeCols, List<Shape> outputShapes) The CSVDatasetV2 operationTpuOps.dTensorRestore(Operand<TString> prefix, Operand<TString> tensorNames, Operand<TString> shapeAndSlices, List<Shape> inputShapes, List<String> inputLayouts, List<Class<? extends TType>> dtypes) The DTensorRestoreV2 operationTpuOps.infeedEnqueueTuple(Iterable<Operand<?>> inputs, List<Shape> shapes, InfeedEnqueueTuple.Options... options) Feeds multiple Tensor values into the computation as an XLA tuple.DataOps.paddedBatchDataset(Operand<? extends TType> inputDataset, Operand<TInt64> batchSize, Iterable<Operand<TInt64>> paddedShapes, Iterable<Operand<?>> paddingValues, Operand<TBool> dropRemainder, List<Shape> outputShapes, PaddedBatchDataset.Options... options) Creates a dataset that batches and padsbatch_sizeelements from the input.TpuOps.prelinearizeTuple(Iterable<Operand<?>> inputs, List<Shape> shapes, PrelinearizeTuple.Options... options) An op which linearizes multiple Tensor values to an opaque variant tensor.DataOps.tensorDataset(Iterable<Operand<?>> components, List<Shape> outputShapes, TensorDataset.Options... options) Creates a dataset that emitscomponentsas a tuple of tensors once.DataOps.tensorSliceDataset(Iterable<Operand<?>> components, List<Shape> outputShapes, TensorSliceDataset.Options... options) Creates a dataset that emits each dim-0 slice ofcomponentsonce. -
Uses of Shape in org.tensorflow.op.core
Fields in org.tensorflow.op.core declared as ShapeModifier and TypeFieldDescriptionfinal ShapeTensorArray.Inputs.elementShapeThe expected shape of an element, if known.final ShapeTensorArrayGather.Inputs.elementShapeThe expected shape of an element, if known.final ShapeTensorArrayPack.Inputs.elementShapeThe elementShape attributefinal ShapeTensorArrayConcat.Inputs.elementShapeExcept0The expected shape of an element, if known, excluding the first dimension.final Shape[]GetElementAtIndex.Inputs.outputShapesThe outputShapes attributefinal Shape[]MapDefun.Inputs.outputShapesA list of shapes.final Shape[]StatefulCase.Inputs.outputShapesThe outputShapes attributefinal Shape[]StatefulIf.Inputs.outputShapesThe outputShapes attributefinal Shape[]StatefulWhile.Inputs.outputShapesThe outputShapes attributefinal Shape[]StatelessCase.Inputs.outputShapesThe outputShapes attributefinal Shape[]StatelessIf.Inputs.outputShapesThe outputShapes attributefinal Shape[]StatelessWhile.Inputs.outputShapesThe outputShapes attributefinal ShapeEnsureShape.Inputs.shapeThe expected (possibly partially specified) shape of the input tensor.final ShapeFakeParam.Inputs.shapeThe purported shape of the output.final ShapeImmutableConst.Inputs.shapeShape of the returned tensor.final ShapeNcclBroadcast.Inputs.shapeThe shape attributefinal ShapeParallelConcat.Inputs.shapethe final shape of the result; should be equal to the shapes of any input but with the number of input values in the first dimension.final ShapePlaceholder.Inputs.shape(Optional) The shape of the tensor.final ShapePlaceholderWithDefault.Inputs.shapeThe (possibly partial) shape of the tensor.final ShapeTemporaryVariable.Inputs.shapeThe shape of the variable tensor.final ShapeVarHandleOp.Inputs.shapeThe (possibly partially specified) shape of this variable.final ShapeVariable.Inputs.shapeThe shape of the variable tensor.final Shape[]Barrier.Inputs.shapesThe shape of each component in a value.final ShapeAnonymousMutableDenseHashTable.Inputs.valueShapeThe shape of each value.final ShapeAnonymousMutableHashTableOfTensors.Inputs.valueShapeThe valueShape attributefinal ShapeMutableDenseHashTable.Inputs.valueShapeThe shape of each value.final ShapeMutableHashTableOfTensors.Inputs.valueShapeThe valueShape attributeMethods in org.tensorflow.op.core with parameters of type ShapeModifier and TypeMethodDescriptionstatic <T extends TType>
EnsureShape<T> Factory method to create a class wrapping a new EnsureShape operation.Factory method to create a class wrapping a new FakeParam operation.static <T extends TType>
ImmutableConst<T> Factory method to create a class wrapping a new ImmutableConst operation.static <T extends TNumber>
NcclBroadcast<T> Deprecated.Factory method to create a class wrapping a new NcclBroadcast operation.static <T extends TType>
ParallelConcat<T> Factory method to create a class wrapping a new ParallelConcat operation.static <T extends TType>
PlaceholderWithDefault<T> Factory method to create a class wrapping a new PlaceholderWithDefault operation.static <T extends TType>
TemporaryVariable<T> TemporaryVariable.create(Scope scope, Shape shape, Class<T> dtype, TemporaryVariable.Options... options) Factory method to create a class wrapping a new TemporaryVariable operation.static <T extends TType>
VarHandleOpVarHandleOp.create(Scope scope, Class<T> dtype, Shape shape, VarHandleOp.Options... options) Factory method to create a class wrapping a new VarHandleOp operation.Variable.create(Scope scope, Shape shape, Class<T> dtype, Variable.Options... options) Factory method to create a class wrapping a new VariableV2 operation.static TensorArray.OptionsTensorArray.elementShape(Shape elementShape) Sets the elementShape option.TensorArray.Options.elementShape(Shape elementShape) Sets the elementShape option.static TensorArrayGather.OptionsTensorArrayGather.elementShape(Shape elementShape) Sets the elementShape option.TensorArrayGather.Options.elementShape(Shape elementShape) Sets the elementShape option.static TensorArrayPack.OptionsTensorArrayPack.elementShape(Shape elementShape) Sets the elementShape option.TensorArrayPack.Options.elementShape(Shape elementShape) Sets the elementShape option.static TensorArrayConcat.OptionsTensorArrayConcat.elementShapeExcept0(Shape elementShapeExcept0) Sets the elementShapeExcept0 option.TensorArrayConcat.Options.elementShapeExcept0(Shape elementShapeExcept0) Sets the elementShapeExcept0 option.Case.Options.outputShapes(Shape... outputShapes) Sets the outputShapes option.static Case.OptionsCase.outputShapes(Shape... outputShapes) Sets the outputShapes option.If.Options.outputShapes(Shape... outputShapes) Sets the outputShapes option.static If.OptionsIf.outputShapes(Shape... outputShapes) Sets the outputShapes option.While.Options.outputShapes(Shape... outputShapes) Sets the outputShapes option.static While.OptionsWhile.outputShapes(Shape... outputShapes) Sets the outputShapes option.Sets the shape option.static Placeholder.OptionsSets the shape option.Sets the shapes option.static Barrier.OptionsSets the shapes option.Constant.tensorOf(Scope scope, Class<T> type, Shape shape, ByteDataBuffer data) Create a constant with data from the given buffer.Create aTStringconstant with data from the given buffer, using the given encoding.Creates a rank-1 constant oflongelements representing the size of each dimensions of the given shape.Constant.tensorOf(Scope scope, Shape shape, BooleanDataBuffer data) Create aTBoolconstant with data from the given buffer.Constant.tensorOf(Scope scope, Shape shape, ByteDataBuffer data) Create aTUint8constant with data from the given buffer.Constant.tensorOf(Scope scope, Shape shape, DataBuffer<String> data) Create aTStringconstant with data from the given buffer, using the default UTF-8 encoding.Constant.tensorOf(Scope scope, Shape shape, DoubleDataBuffer data) Create aTFloat64constant with data from the given buffer.Constant.tensorOf(Scope scope, Shape shape, FloatDataBuffer data) Create aTFloat32constant with data from the given buffer.Constant.tensorOf(Scope scope, Shape shape, IntDataBuffer data) Create aTInt32constant with data from the given buffer.Constant.tensorOf(Scope scope, Shape shape, LongDataBuffer data) Create aTInt64constant with data from the given buffer.AnonymousMutableDenseHashTable.Options.valueShape(Shape valueShape) Sets the valueShape option.AnonymousMutableDenseHashTable.valueShape(Shape valueShape) Sets the valueShape option.AnonymousMutableHashTableOfTensors.Options.valueShape(Shape valueShape) Sets the valueShape option.AnonymousMutableHashTableOfTensors.valueShape(Shape valueShape) Sets the valueShape option.MutableDenseHashTable.Options.valueShape(Shape valueShape) Sets the valueShape option.MutableDenseHashTable.valueShape(Shape valueShape) Sets the valueShape option.MutableHashTableOfTensors.Options.valueShape(Shape valueShape) Sets the valueShape option.MutableHashTableOfTensors.valueShape(Shape valueShape) Sets the valueShape option.Method parameters in org.tensorflow.op.core with type arguments of type ShapeModifier and TypeMethodDescriptionCase.Options.outputShapes(List<Shape> outputShapes) Sets the outputShapes option.static Case.OptionsCase.outputShapes(List<Shape> outputShapes) Sets the outputShapes option.If.Options.outputShapes(List<Shape> outputShapes) Sets the outputShapes option.static If.OptionsIf.outputShapes(List<Shape> outputShapes) Sets the outputShapes option.While.Options.outputShapes(List<Shape> outputShapes) Sets the outputShapes option.static While.OptionsWhile.outputShapes(List<Shape> outputShapes) Sets the outputShapes option.Sets the shapes option.static Barrier.OptionsSets the shapes option. -
Uses of Shape in org.tensorflow.op.data
Fields in org.tensorflow.op.data declared as ShapeModifier and TypeFieldDescriptionfinal Shape[]ParseExampleDataset.Inputs.denseShapesList of tuples with the same length asdense_keys.final Shape[]AnonymousIterator.Inputs.outputShapesThe outputShapes attributefinal Shape[]AnonymousMultiDeviceIterator.Inputs.outputShapesThe outputShapes attributefinal Shape[]AssertCardinalityDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]AssertNextDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]AssertPrevDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]AutoShardDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]BatchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]BytesProducedStatsDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]CacheDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ChooseFastestBranchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ChooseFastestDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ConcatenateDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]CSVDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]DataServiceDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]DatasetToSingleElement.Inputs.outputShapesThe outputShapes attributefinal Shape[]DenseToSparseBatchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]DirectedInterleaveDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]FilterByLastComponentDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]FilterDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]FinalizeDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]FlatMapDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]GeneratorDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]GlobalShuffleDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]GroupByReducerDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]GroupByWindowDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]IgnoreErrorsDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]IndexFlatMapDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]InterleaveDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]Iterator.Inputs.outputShapesThe outputShapes attributefinal Shape[]IteratorFromStringHandle.Inputs.outputShapesThe outputShapes attributefinal Shape[]IteratorGetNext.Inputs.outputShapesThe outputShapes attributefinal Shape[]IteratorGetNextAsOptional.Inputs.outputShapesThe outputShapes attributefinal Shape[]IteratorGetNextSync.Inputs.outputShapesThe outputShapes attributefinal Shape[]LatencyStatsDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]LegacyParallelInterleaveDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ListDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ListSnapshotChunksDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]LMDBDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]LoadDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]MapAndBatchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]MapDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]MaxIntraOpParallelismDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ModelDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]MultiDeviceIterator.Inputs.outputShapesThe list of shapes being produced.final Shape[]MultiDeviceIteratorFromStringHandle.Inputs.outputShapesThe list of shapes being produced.final Shape[]MultiDeviceIteratorGetNextFromShard.Inputs.outputShapesThe list of shapes being produced.final Shape[]NonSerializableDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]OneShotIterator.Inputs.outputShapesThe outputShapes attributefinal Shape[]OptimizeDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]OptionalGetValue.Inputs.outputShapesThe outputShapes attributefinal Shape[]OptionsDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]PaddedBatchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ParallelBatchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ParallelFilterDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ParallelInterleaveDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ParallelMapDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ParseExampleDataset.Inputs.outputShapesThe list of shapes being produced.final Shape[]PrefetchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]PrivateThreadPoolDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]RandomDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]RangeDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]RebatchDatasetV2.Inputs.outputShapesThe outputShapes attributefinal Shape[]ReduceDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]RepeatDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]RewriteDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SamplingDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SaveDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ScanDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SetStatsAggregatorDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ShardDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ShuffleAndRepeatDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ShuffleDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SkipDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SleepDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SlidingWindowDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SnapshotChunkDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SnapshotDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SnapshotDatasetReader.Inputs.outputShapesThe outputShapes attributefinal Shape[]SnapshotNestedDatasetReader.Inputs.outputShapesThe outputShapes attributefinal Shape[]SqlDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]TakeDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]TakeWhileDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]TensorDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]TensorSliceDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ThreadPoolDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]UnbatchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]UncompressElement.Inputs.outputShapesThe outputShapes attributefinal Shape[]UniqueDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]WeightedFlatMapDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]WindowDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]WindowOp.Inputs.outputShapesThe outputShapes attributefinal Shape[]ZipDataset.Inputs.outputShapesThe outputShapes attributeMethods in org.tensorflow.op.data with parameters of type ShapeModifier and TypeMethodDescriptionIteratorFromStringHandle.Options.outputShapes(Shape... outputShapes) Sets the outputShapes option.IteratorFromStringHandle.outputShapes(Shape... outputShapes) Sets the outputShapes option.MultiDeviceIteratorFromStringHandle.Options.outputShapes(Shape... outputShapes) Sets the outputShapes option.MultiDeviceIteratorFromStringHandle.outputShapes(Shape... outputShapes) Sets the outputShapes option.Method parameters in org.tensorflow.op.data with type arguments of type ShapeModifier and TypeMethodDescriptionstatic CSVDatasetCSVDataset.create(Scope scope, Operand<TString> filenames, Operand<TString> compressionType, Operand<TInt64> bufferSize, Operand<TBool> header, Operand<TString> fieldDelim, Operand<TBool> useQuoteDelim, Operand<TString> naValue, Operand<TInt64> selectCols, Iterable<Operand<?>> recordDefaults, Operand<TInt64> excludeCols, List<Shape> outputShapes) Factory method to create a class wrapping a new CSVDatasetV2 operation.static PaddedBatchDatasetPaddedBatchDataset.create(Scope scope, Operand<? extends TType> inputDataset, Operand<TInt64> batchSize, Iterable<Operand<TInt64>> paddedShapes, Iterable<Operand<?>> paddingValues, Operand<TBool> dropRemainder, List<Shape> outputShapes, PaddedBatchDataset.Options... options) Factory method to create a class wrapping a new PaddedBatchDatasetV2 operation.static TensorDatasetTensorDataset.create(Scope scope, Iterable<Operand<?>> components, List<Shape> outputShapes, TensorDataset.Options... options) Factory method to create a class wrapping a new TensorDataset operation.static TensorSliceDatasetTensorSliceDataset.create(Scope scope, Iterable<Operand<?>> components, List<Shape> outputShapes, TensorSliceDataset.Options... options) Factory method to create a class wrapping a new TensorSliceDataset operation.IteratorFromStringHandle.Options.outputShapes(List<Shape> outputShapes) Sets the outputShapes option.IteratorFromStringHandle.outputShapes(List<Shape> outputShapes) Sets the outputShapes option.MultiDeviceIteratorFromStringHandle.Options.outputShapes(List<Shape> outputShapes) Sets the outputShapes option.MultiDeviceIteratorFromStringHandle.outputShapes(List<Shape> outputShapes) Sets the outputShapes option. -
Uses of Shape in org.tensorflow.op.data.experimental
Fields in org.tensorflow.op.data.experimental declared as ShapeModifier and TypeFieldDescriptionfinal Shape[]ParseExampleDataset.Inputs.denseShapesList of tuples with the same length asdense_keys.final Shape[]AssertNextDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]AutoShardDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]BytesProducedStatsDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ChooseFastestDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]CSVDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]DenseToSparseBatchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]DirectedInterleaveDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]GroupByReducerDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]GroupByWindowDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]IgnoreErrorsDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]LatencyStatsDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]LmdbDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]MapAndBatchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]MapDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]MaxIntraOpParallelismDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]NonSerializableDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ParallelInterleaveDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ParseExampleDataset.Inputs.outputShapesThe list of shapes being produced.final Shape[]PrivateThreadPoolDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]RandomDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]RebatchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ScanDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SetStatsAggregatorDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SleepDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SlidingWindowDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]SqlDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]TakeWhileDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]ThreadPoolDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]UnbatchDataset.Inputs.outputShapesThe outputShapes attributefinal Shape[]UniqueDataset.Inputs.outputShapesThe outputShapes attributeMethod parameters in org.tensorflow.op.data.experimental with type arguments of type ShapeModifier and TypeMethodDescriptionstatic CSVDatasetCSVDataset.create(Scope scope, Operand<TString> filenames, Operand<TString> compressionType, Operand<TInt64> bufferSize, Operand<TBool> header, Operand<TString> fieldDelim, Operand<TBool> useQuoteDelim, Operand<TString> naValue, Operand<TInt64> selectCols, Iterable<Operand<?>> recordDefaults, List<Shape> outputShapes) Factory method to create a class wrapping a new ExperimentalCSVDataset operation. -
Uses of Shape in org.tensorflow.op.distribute
Fields in org.tensorflow.op.distribute declared as ShapeMethods in org.tensorflow.op.distribute with parameters of type Shape -
Uses of Shape in org.tensorflow.op.io
Fields in org.tensorflow.op.io declared as ShapeModifier and TypeFieldDescriptionfinal Shape[]ParseSequenceExample.Inputs.contextDenseShapesA list of Ncontext_dense shapes; the shapes of data in each context Feature given in context_dense_keys.final Shape[]ParseSingleSequenceExample.Inputs.contextDenseShapesA list of Ncontext_dense shapes; the shapes of data in each context Feature given in context_dense_keys.final Shape[]ParseExample.Inputs.denseShapesA list ofnum_denseshapes; the shapes of data in each Feature given in dense_keys (wherenum_dense = dense_keys.size()).final Shape[]ParseSingleExample.Inputs.denseShapesThe shapes of data in each Feature given in dense_keys.final Shape[]ParseSequenceExample.Inputs.featureListDenseShapesA list of Nfeature_list_dense shapes; the shapes of data in each FeatureList given in feature_list_dense_keys.final Shape[]ParseSingleSequenceExample.Inputs.featureListDenseShapesA list of Nfeature_list_dense shapes; the shapes of data in each FeatureList given in feature_list_dense_keys.final Shape[]FifoQueue.Inputs.shapesThe shape of each component in a value.final Shape[]PaddingFifoQueue.Inputs.shapesThe shape of each component in a value.final Shape[]PriorityQueue.Inputs.shapesThe shape of each component in a value.final Shape[]RandomShuffleQueue.Inputs.shapesThe shape of each component in a value.Methods in org.tensorflow.op.io with parameters of type ShapeModifier and TypeMethodDescriptionstatic ParseSequenceExample.OptionsParseSequenceExample.contextDenseShapes(Shape... contextDenseShapes) Sets the contextDenseShapes option.ParseSequenceExample.Options.contextDenseShapes(Shape... contextDenseShapes) Sets the contextDenseShapes option.ParseSingleSequenceExample.contextDenseShapes(Shape... contextDenseShapes) Sets the contextDenseShapes option.ParseSingleSequenceExample.Options.contextDenseShapes(Shape... contextDenseShapes) Sets the contextDenseShapes option.static ParseSequenceExample.OptionsParseSequenceExample.featureListDenseShapes(Shape... featureListDenseShapes) Sets the featureListDenseShapes option.ParseSequenceExample.Options.featureListDenseShapes(Shape... featureListDenseShapes) Sets the featureListDenseShapes option.ParseSingleSequenceExample.featureListDenseShapes(Shape... featureListDenseShapes) Sets the featureListDenseShapes option.ParseSingleSequenceExample.Options.featureListDenseShapes(Shape... featureListDenseShapes) Sets the featureListDenseShapes option.Sets the shapes option.static FifoQueue.OptionsSets the shapes option.Sets the shapes option.static PaddingFifoQueue.OptionsSets the shapes option.Sets the shapes option.static RandomShuffleQueue.OptionsSets the shapes option.Method parameters in org.tensorflow.op.io with type arguments of type ShapeModifier and TypeMethodDescriptionstatic ParseSequenceExample.OptionsParseSequenceExample.contextDenseShapes(List<Shape> contextDenseShapes) Sets the contextDenseShapes option.ParseSequenceExample.Options.contextDenseShapes(List<Shape> contextDenseShapes) Sets the contextDenseShapes option.ParseSingleSequenceExample.contextDenseShapes(List<Shape> contextDenseShapes) Sets the contextDenseShapes option.ParseSingleSequenceExample.Options.contextDenseShapes(List<Shape> contextDenseShapes) Sets the contextDenseShapes option.static ParseSequenceExample.OptionsParseSequenceExample.featureListDenseShapes(List<Shape> featureListDenseShapes) Sets the featureListDenseShapes option.ParseSequenceExample.Options.featureListDenseShapes(List<Shape> featureListDenseShapes) Sets the featureListDenseShapes option.ParseSingleSequenceExample.featureListDenseShapes(List<Shape> featureListDenseShapes) Sets the featureListDenseShapes option.ParseSingleSequenceExample.Options.featureListDenseShapes(List<Shape> featureListDenseShapes) Sets the featureListDenseShapes option.Sets the shapes option.static FifoQueue.OptionsSets the shapes option.Sets the shapes option.static PaddingFifoQueue.OptionsSets the shapes option.Sets the shapes option.static RandomShuffleQueue.OptionsSets the shapes option. -
Uses of Shape in org.tensorflow.op.math
Fields in org.tensorflow.op.math declared as ShapeModifier and TypeFieldDescriptionfinal ShapeAccumulateN.Inputs.shapeShape of elements ofinputs.Methods in org.tensorflow.op.math with parameters of type Shape -
Uses of Shape in org.tensorflow.op.sparse
Fields in org.tensorflow.op.sparse declared as ShapeModifier and TypeFieldDescriptionfinal ShapeSparseConditionalAccumulator.Inputs.shapeThe shape of the values.Methods in org.tensorflow.op.sparse with parameters of type ShapeModifier and TypeMethodDescriptionstatic <T extends TType>
SparseConditionalAccumulatorSparseConditionalAccumulator.create(Scope scope, Class<T> dtype, Shape shape, SparseConditionalAccumulator.Options... options) Factory method to create a class wrapping a new SparseConditionalAccumulator operation. -
Uses of Shape in org.tensorflow.op.tpu
Fields in org.tensorflow.op.tpu declared as ShapeModifier and TypeFieldDescriptionfinal Shape[]DTensorRestore.Inputs.inputShapesThe inputShapes attributefinal ShapeInfeedDequeue.Inputs.shapeThe shape of the tensor.final ShapeInfeedEnqueue.Inputs.shapeThe shape of the tensor.final ShapeOutfeedDequeue.Inputs.shapeThe shape of the tensor.final ShapeOutfeedDequeueV2.Inputs.shapeThe shape of the tensor.final ShapePrelinearize.Inputs.shapeThe shape of the tensor.final ShapeTPUDummyInput.Inputs.shapeThe shape of the produced tensor.final Shape[]InfeedDequeueTuple.Inputs.shapesThe shapes of each tensor inoutputs.final Shape[]InfeedEnqueueTuple.Inputs.shapesThe shapes of each tensor ininputs.final Shape[]OutfeedDequeueTuple.Inputs.shapesThe shapes of each tensor inoutputs.final Shape[]OutfeedDequeueTupleV2.Inputs.shapesThe shapes of each tensor inoutputs.final Shape[]PrelinearizeTuple.Inputs.shapesThe shapes of each tensor ininputs.Methods in org.tensorflow.op.tpu with parameters of type ShapeModifier and TypeMethodDescriptionstatic <T extends TType>
InfeedDequeue<T> Factory method to create a class wrapping a new InfeedDequeue operation.static <T extends TType>
OutfeedDequeue<T> OutfeedDequeue.create(Scope scope, Class<T> dtype, Shape shape, OutfeedDequeue.Options... options) Factory method to create a class wrapping a new OutfeedDequeue operation.static <T extends TType>
OutfeedDequeueV2<T> Factory method to create a class wrapping a new OutfeedDequeueV2 operation.static <T extends TNumber>
TPUDummyInput<T> Factory method to create a class wrapping a new TPUDummyInput operation.Sets the shape option.static InfeedEnqueue.OptionsSets the shape option.Sets the shape option.static Prelinearize.OptionsSets the shape option.Method parameters in org.tensorflow.op.tpu with type arguments of type ShapeModifier and TypeMethodDescriptionstatic DTensorRestoreDTensorRestore.create(Scope scope, Operand<TString> prefix, Operand<TString> tensorNames, Operand<TString> shapeAndSlices, List<Shape> inputShapes, List<String> inputLayouts, List<Class<? extends TType>> dtypes) Factory method to create a class wrapping a new DTensorRestoreV2 operation.static InfeedEnqueueTupleInfeedEnqueueTuple.create(Scope scope, Iterable<Operand<?>> inputs, List<Shape> shapes, InfeedEnqueueTuple.Options... options) Factory method to create a class wrapping a new InfeedEnqueueTuple operation.static PrelinearizeTuplePrelinearizeTuple.create(Scope scope, Iterable<Operand<?>> inputs, List<Shape> shapes, PrelinearizeTuple.Options... options) Factory method to create a class wrapping a new PrelinearizeTuple operation. -
Uses of Shape in org.tensorflow.op.train
Fields in org.tensorflow.op.train declared as ShapeModifier and TypeFieldDescriptionfinal ShapeConditionalAccumulator.Inputs.shapeThe shape of the values, can be [], in which case shape is unknown.final ShapeResourceConditionalAccumulator.Inputs.shapeThe shape of the values, can be [], in which case shape is unknown.Methods in org.tensorflow.op.train with parameters of type ShapeModifier and TypeMethodDescriptionstatic <T extends TType>
ConditionalAccumulatorConditionalAccumulator.create(Scope scope, Class<T> dtype, Shape shape, ConditionalAccumulator.Options... options) Factory method to create a class wrapping a new ConditionalAccumulator operation.static <T extends TType>
ResourceConditionalAccumulatorResourceConditionalAccumulator.create(Scope scope, Class<T> dtype, Shape shape, ResourceConditionalAccumulator.Options... options) Factory method to create a class wrapping a new ResourceConditionalAccumulator operation. -
Uses of Shape in org.tensorflow.op.xla
Fields in org.tensorflow.op.xla declared as ShapeModifier and TypeFieldDescriptionfinal ShapeXlaRecvFromHost.Inputs.shapeThe shape attributefinal Shape[]XlaHostCompute.Inputs.shapesIf shape_inference_graph is empty, a list of the shapes ofoutputs.Methods in org.tensorflow.op.xla with parameters of type Shape -
Uses of Shape in org.tensorflow.types
Methods in org.tensorflow.types with parameters of type ShapeModifier and TypeMethodDescriptionstatic TBfloat16Allocates a new tensor of the given shape.static TBfloat16Allocates a new tensor of the given shape and initialize its data.static TBfloat16TBfloat16.tensorOf(Shape shape, FloatDataBuffer data) Allocates a new tensor of the given shape, initialized with the provided data.static TBoolAllocates a new tensor of the given shape.static TBoolAllocates a new tensor of the given shape and initialize its data.static TBoolTBool.tensorOf(Shape shape, BooleanDataBuffer data) Allocates a new tensor of the given shape, initialized with the provided data.static TFloat16Allocates a new tensor of the given shape.static TFloat16Allocates a new tensor of the given shape and initialize its data.static TFloat16TFloat16.tensorOf(Shape shape, FloatDataBuffer data) Allocates a new tensor of the given shape, initialized with the provided data.static TFloat32Allocates a new tensor of the given shape.static TFloat32Allocates a new tensor of the given shape and initialize its data.static TFloat32TFloat32.tensorOf(Shape shape, FloatDataBuffer data) Allocates a new tensor of the given shape, initialized with the provided data.static TFloat64Allocates a new tensor of the given shape.static TFloat64Allocates a new tensor of the given shape and initialize its data.static TFloat64TFloat64.tensorOf(Shape shape, DoubleDataBuffer data) Allocates a new tensor of the given shape, initialized with the provided data.static TInt32Allocates a new tensor of the given shape.static TInt32Allocates a new tensor of the given shape and initialize its data.static TInt32TInt32.tensorOf(Shape shape, IntDataBuffer data) Allocates a new tensor of the given shape, initialized with the provided data.static TInt64Allocates a new tensor of the given shape.static TInt64Allocates a new tensor of the given shape and initialize its data.static TInt64TInt64.tensorOf(Shape shape, LongDataBuffer data) Allocates a new tensor of the given shape, initialized with the provided data.static TStringTString.tensorOf(Charset charset, Shape shape, DataBuffer<String> data) Allocates a new tensor with the given shape and data.static TStringTString.tensorOf(Shape shape, DataBuffer<String> data) Allocates a new tensor with the given shape and data.static TUint16Allocates a new tensor of the given shape.static TUint16Allocates a new tensor of the given shape and initialize its data.static TUint16TUint16.tensorOf(Shape shape, ShortDataBuffer data) Allocates a new tensor of the given shape, initialized with the provided data.static TUint8Allocates a new tensor of the given shape.static TUint8Allocates a new tensor of the given shape and initialize its data.static TUint8TUint8.tensorOf(Shape shape, ByteDataBuffer data) Allocates a new tensor of the given shape, initialized with the provided data.static TStringTString.tensorOfBytes(Shape shape, DataBuffer<byte[]> data) Allocates a new tensor with the given shape and raw bytes.
NcclBroadcastinstead