@Namespace(value="tensorflow::checkpoint") @NoOffset @Properties(inherit=tensorflow.class) public class TensorSliceReader extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
TensorSliceReader.Table |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
kLoadAllShards |
Constructor and Description |
---|
TensorSliceReader(BytePointer filepattern) |
TensorSliceReader(BytePointer filepattern,
Pointer open_function) |
TensorSliceReader(BytePointer filepattern,
Pointer open_function,
int preferred_shard) |
TensorSliceReader(Pointer p)
Pointer cast constructor.
|
TensorSliceReader(String filepattern) |
TensorSliceReader(String filepattern,
Pointer open_function) |
TensorSliceReader(String filepattern,
Pointer open_function,
int preferred_shard) |
Modifier and Type | Method and Description |
---|---|
BytePointer |
DebugString() |
BytePointer |
filepattern() |
Status |
GetTensor(BytePointer name,
Tensor out_tensor) |
Status |
GetTensor(String name,
Tensor out_tensor) |
StringIntUnorderedMap |
GetVariableToDataTypeMap() |
StringIntUnorderedMap |
GetVariableToShapeMap() |
boolean |
HasTensor(BytePointer name,
TensorShape shape,
IntPointer type) |
boolean |
HasTensor(String name,
TensorShape shape,
IntPointer type) |
static int |
kLoadAllShards() |
int |
num_files() |
Status |
status() |
StringTensorSliceSetMap |
Tensors() |
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 TensorSliceReader(Pointer p)
Pointer(Pointer)
.public TensorSliceReader(@StdString BytePointer filepattern)
public TensorSliceReader(@StdString String filepattern)
public TensorSliceReader(@StdString BytePointer filepattern, @ByVal @Cast(value="tensorflow::checkpoint::TensorSliceReader::OpenTableFunction*") Pointer open_function)
public TensorSliceReader(@StdString String filepattern, @ByVal @Cast(value="tensorflow::checkpoint::TensorSliceReader::OpenTableFunction*") Pointer open_function)
public TensorSliceReader(@StdString BytePointer filepattern, @ByVal @Cast(value="tensorflow::checkpoint::TensorSliceReader::OpenTableFunction*") Pointer open_function, int preferred_shard)
@MemberGetter public static int kLoadAllShards()
@StdString public BytePointer filepattern()
public int num_files()
@Cast(value="bool") public boolean HasTensor(@StdString BytePointer name, TensorShape shape, @Cast(value="tensorflow::DataType*") IntPointer type)
@Cast(value="bool") public boolean HasTensor(@StdString String name, TensorShape shape, @Cast(value="tensorflow::DataType*") IntPointer type)
@Const @ByRef public StringTensorSliceSetMap Tensors()
@ByVal public Status GetTensor(@StdString BytePointer name, @UniquePtr Tensor out_tensor)
@ByVal public Status GetTensor(@StdString String name, @UniquePtr Tensor out_tensor)
@ByVal @Cast(value="tensorflow::checkpoint::TensorSliceReader::VarToShapeMap*") public StringIntUnorderedMap GetVariableToShapeMap()
@ByVal @Cast(value="tensorflow::checkpoint::TensorSliceReader::VarToDataTypeMap*") public StringIntUnorderedMap GetVariableToDataTypeMap()
@StdString public BytePointer DebugString()
Copyright © 2022. All rights reserved.