@Namespace(value="tensorflow") @NoOffset public static class tensorflow.TensorShapeRep extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
TensorShapeRep(Pointer p)
Pointer cast constructor.
|
TensorShapeRep(tensorflow.TensorShapeRep b)
Copy the specified shape
|
| Modifier and Type | Method and Description |
|---|---|
void |
Clear()
Clear a tensor shape, producing the scalar shape.
|
BytePointer |
DebugString()
For error messages.
|
static BytePointer |
DebugString(tensorflow.TensorShapeProto proto) |
void |
DumpRep() |
static int |
MaxDimensions() |
long |
num_elements()
\brief Returns the number of elements in the tensor.
|
void |
put(tensorflow.TensorShapeRep b) |
address, 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, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic TensorShapeRep(Pointer p)
Pointer.Pointer(Pointer).public TensorShapeRep(@Const @ByRef tensorflow.TensorShapeRep b)
@Name(value="operator =") public void put(@Const @ByRef tensorflow.TensorShapeRep b)
public void Clear()
public static int MaxDimensions()
@Cast(value="tensorflow::int64") public long num_elements()
int64 and not size_t to be compatible with Eigen::Tensor
which uses ptrdiff_t. For PartialTensorShape, -1 means not fully
defined.@StdString public BytePointer DebugString()
@StdString public static BytePointer DebugString(@Const @ByRef tensorflow.TensorShapeProto proto)
public void DumpRep()
Copyright © 2019. All rights reserved.