@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class BundleReader extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
BundleReader(Env env,
BytePointer prefix) |
BundleReader(Env env,
String prefix) |
BundleReader(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Contains(BytePointer key) |
boolean |
Contains(String key) |
BytePointer |
DebugString() |
BytePointer |
key() |
Status |
Lookup(BytePointer key,
Tensor val) |
Status |
Lookup(String key,
Tensor val) |
Status |
LookupDtypeAndShape(BytePointer key,
IntPointer dtype,
TensorShape shape) |
Status |
LookupDtypeAndShape(String key,
IntPointer dtype,
TensorShape shape) |
Status |
LookupSlice(BytePointer full_tensor_key,
TensorSlice slice_spec,
Tensor val) |
Status |
LookupSlice(String full_tensor_key,
TensorSlice slice_spec,
Tensor val) |
Status |
LookupTensorShape(BytePointer key,
TensorShape shape) |
Status |
LookupTensorShape(String key,
TensorShape shape) |
Status |
LookupTensorSlices(BytePointer key,
TensorSlice slices) |
Status |
LookupTensorSlices(String key,
TensorSlice slices) |
void |
Next() |
Status |
ReadCurrent(Tensor val) |
void |
Seek(BytePointer key) |
void |
Seek(String key) |
Status |
status() |
boolean |
Valid() |
BytePointer |
value() |
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 BundleReader(Pointer p)
Pointer(Pointer)
.public BundleReader(Env env, @tensorflow.StringPiece BytePointer prefix)
public BundleReader(Env env, @tensorflow.StringPiece String prefix)
@Cast(value="bool") public boolean Contains(@tensorflow.StringPiece BytePointer key)
@Cast(value="bool") public boolean Contains(@tensorflow.StringPiece String key)
@ByVal public Status LookupDtypeAndShape(@tensorflow.StringPiece BytePointer key, @Cast(value="tensorflow::DataType*") IntPointer dtype, TensorShape shape)
@ByVal public Status LookupDtypeAndShape(@tensorflow.StringPiece String key, @Cast(value="tensorflow::DataType*") IntPointer dtype, TensorShape shape)
@ByVal public Status LookupTensorShape(@tensorflow.StringPiece BytePointer key, TensorShape shape)
@ByVal public Status LookupTensorShape(@tensorflow.StringPiece String key, TensorShape shape)
@ByVal public Status Lookup(@tensorflow.StringPiece BytePointer key, Tensor val)
@ByVal public Status Lookup(@tensorflow.StringPiece String key, Tensor val)
@ByVal public Status LookupTensorSlices(@tensorflow.StringPiece BytePointer key, @StdVector TensorSlice slices)
@ByVal public Status LookupTensorSlices(@tensorflow.StringPiece String key, @StdVector TensorSlice slices)
@ByVal public Status LookupSlice(@tensorflow.StringPiece BytePointer full_tensor_key, @Const @ByRef TensorSlice slice_spec, Tensor val)
@ByVal public Status LookupSlice(@tensorflow.StringPiece String full_tensor_key, @Const @ByRef TensorSlice slice_spec, Tensor val)
public void Seek(@tensorflow.StringPiece BytePointer key)
public void Seek(@tensorflow.StringPiece String key)
public void Next()
@tensorflow.StringPiece public BytePointer key()
@tensorflow.StringPiece public BytePointer value()
@StdString public BytePointer DebugString()
Copyright © 2022. All rights reserved.