@Namespace(value="tensorflow") public static class tensorflow.PartialTensorShape extends tensorflow.TensorShapeBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
PartialTensorShape() |
PartialTensorShape(long size)
Native array allocator.
|
PartialTensorShape(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AsTensorShape(tensorflow.TensorShape shape) |
tensorflow.PartialTensorShape |
Concatenate(long size)
Add a dimension to the end ("inner-most"), returns a new
PartialTensorShape.
|
tensorflow.PartialTensorShape |
Concatenate(tensorflow.PartialTensorShape shape)
Appends all the dimensions from
shape. |
boolean |
IsCompatibleWith(tensorflow.PartialTensorShape shape)
Return true iff the ranks match, and if the
dimensions all either match or one is unknown.
|
boolean |
IsIdenticalTo(tensorflow.PartialTensorShape shape)
Exact equality test.
|
tensorflow.Status |
MergeWith(tensorflow.PartialTensorShape shape,
tensorflow.PartialTensorShape result)
Merges all the dimensions from
shape. |
tensorflow.PartialTensorShape |
position(long position) |
AddDim, AppendShape, AsProto, begin, dim_size, dim_sizes, dims, end, InsertDim, IsFullyDefined, IsValid, IsValidShape, RemoveDim, RemoveDimRange, RemoveLastDims, set_dim, unknown_rankClear, DebugString, DebugString, DumpRep, MaxDimensions, num_elements, putaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic PartialTensorShape(Pointer p)
Pointer.Pointer(Pointer).public PartialTensorShape(long size)
Pointer.position(long).public PartialTensorShape()
public tensorflow.PartialTensorShape position(long position)
position in class tensorflow.TensorShapeBase@ByVal public tensorflow.PartialTensorShape Concatenate(@Cast(value="tensorflow::int64") long size)
size >= -1, where -1 means unknown@ByVal public tensorflow.PartialTensorShape Concatenate(@Const @ByRef tensorflow.PartialTensorShape shape)
shape. Returns a new
PartialTensorShape.@ByVal public tensorflow.Status MergeWith(@Const @ByRef tensorflow.PartialTensorShape shape, tensorflow.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 tensorflow.PartialTensorShape shape)
@Cast(value="bool") public boolean IsCompatibleWith(@Const @ByRef tensorflow.PartialTensorShape shape)
@Cast(value="bool") public boolean AsTensorShape(tensorflow.TensorShape shape)
Copyright © 2019. All rights reserved.