@Namespace(value="tensorflow") @Properties(inherit=tensorflow.class) public class PartialTensorShape extends TensorShapeBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
PartialTensorShape() |
PartialTensorShape(long size)
Native array allocator.
|
PartialTensorShape(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AsTensorShape(TensorShape shape) |
PartialTensorShape |
Concatenate(long size)
Add a dimension to the end ("inner-most"), returns a new
PartialTensorShape.
|
PartialTensorShape |
Concatenate(PartialTensorShape shape)
Appends all the dimensions from
shape . |
PartialTensorShape |
getPointer(long i) |
boolean |
IsCompatibleWith(PartialTensorShape shape)
Return true iff the ranks match, and if the
dimensions all either match or one is unknown.
|
boolean |
IsIdenticalTo(PartialTensorShape shape)
Exact equality test.
|
Status |
MergeWith(PartialTensorShape shape,
PartialTensorShape result)
Merges all the dimensions from
shape . |
PartialTensorShape |
position(long position) |
AddDim, AppendShape, AsProto, begin, dim_size, dim_sizes, dims, end, InsertDim, IsFullyDefined, IsValid, IsValidShape, RemoveDim, RemoveDimRange, RemoveLastDims, set_dim, unknown_rank
Clear, DebugString, DebugString, DumpRep, MaxDimensions, num_elements, put
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public PartialTensorShape(Pointer p)
Pointer(Pointer)
.public PartialTensorShape(long size)
Pointer.position(long)
.public PartialTensorShape()
public PartialTensorShape position(long position)
position
in class TensorShapeBase
public PartialTensorShape getPointer(long i)
getPointer
in class TensorShapeBase
@ByVal public PartialTensorShape Concatenate(@Cast(value="tensorflow::int64") long size)
size >= -1
, where -1 means unknown@ByVal public PartialTensorShape Concatenate(@Const @ByRef PartialTensorShape shape)
shape
. Returns a new
PartialTensorShape.@ByVal public Status MergeWith(@Const @ByRef PartialTensorShape shape, PartialTensorShape result)
shape
. Returns
InvalidArgument
error if either shape
has a different rank
or if any of the dimensions are incompatible.@Cast(value="bool") public boolean IsIdenticalTo(@Const @ByRef PartialTensorShape shape)
@Cast(value="bool") public boolean IsCompatibleWith(@Const @ByRef PartialTensorShape shape)
@Cast(value="bool") public boolean AsTensorShape(TensorShape shape)
Copyright © 2022. All rights reserved.