@Namespace(value="tensorflow") public static class tensorflow.TensorShape extends tensorflow.TensorShapeBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
TensorShape() |
TensorShape(long... dim_sizes) |
TensorShape(long size)
Native array allocator.
|
TensorShape(LongBuffer dim_sizes) |
TensorShape(LongPointer dim_sizes) |
TensorShape(Pointer p)
Pointer cast constructor.
|
TensorShape(tensorflow.TensorShapeProto proto) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.PartialTensorShape |
asPartialTensorShape()
Allow a TensorShape to be used as a PartialTensorShape without copying
|
boolean |
equals(tensorflow.TensorShape b) |
boolean |
IsSameSize(tensorflow.TensorShape b)
Returns true if
*this and b have the same sizes. |
boolean |
notEquals(tensorflow.TensorShape b) |
tensorflow.TensorShape |
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 TensorShape(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice LongPointer dim_sizes)
public TensorShape(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice LongBuffer dim_sizes)
public TensorShape(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice long... dim_sizes)
public TensorShape()
public TensorShape(@Const @ByRef tensorflow.TensorShapeProto proto)
public TensorShape(Pointer p)
Pointer.Pointer(Pointer).public TensorShape(long size)
Pointer.position(long).public tensorflow.TensorShape position(long position)
position in class tensorflow.TensorShapeBase@Const @ByRef @Name(value="operator const tensorflow::PartialTensorShape&") public tensorflow.PartialTensorShape asPartialTensorShape()
@Cast(value="bool") public boolean IsSameSize(@Const @ByRef tensorflow.TensorShape b)
*this and b have the same sizes. Ignores
dimension names.@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef tensorflow.TensorShape b)
Copyright © 2019. All rights reserved.