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