@Namespace(value="tensorflow::checkpoint") @NoOffset @Properties(inherit=tensorflow.class) public class CheckpointReader extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CheckpointReader(BytePointer filename,
TF_Status status) |
CheckpointReader(Pointer p)
Pointer cast constructor.
|
CheckpointReader(String filename,
TF_Status status) |
Modifier and Type | Method and Description |
---|---|
BytePointer |
DebugString() |
void |
GetTensor(BytePointer name,
Tensor out_tensor,
TF_Status out_status) |
void |
GetTensor(String name,
Tensor out_tensor,
TF_Status out_status) |
StringIntUnorderedMap |
GetVariableToDataTypeMap() |
StringIntUnorderedMap |
GetVariableToShapeMap() |
boolean |
HasTensor(BytePointer name) |
boolean |
HasTensor(String name) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public CheckpointReader(Pointer p)
Pointer(Pointer)
.public CheckpointReader(@StdString BytePointer filename, TF_Status status)
public CheckpointReader(@StdString String filename, TF_Status status)
@Cast(value="bool") public boolean HasTensor(@StdString BytePointer name)
@Cast(value="bool") public boolean HasTensor(@StdString String name)
@StdString public BytePointer DebugString()
@Cast(value="const tensorflow::checkpoint::TensorSliceReader::VarToShapeMap*") @ByRef public StringIntUnorderedMap GetVariableToShapeMap()
@Cast(value="const tensorflow::checkpoint::TensorSliceReader::VarToDataTypeMap*") @ByRef public StringIntUnorderedMap GetVariableToDataTypeMap()
public void GetTensor(@StdString BytePointer name, @UniquePtr Tensor out_tensor, TF_Status out_status)
public void GetTensor(@StdString String name, @UniquePtr Tensor out_tensor, TF_Status out_status)
Copyright © 2022. All rights reserved.