@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class BundleWriter extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
BundleWriter.Options |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
BundleWriter(Env env,
BytePointer prefix) |
BundleWriter(Env env,
BytePointer prefix,
BundleWriter.Options options) |
BundleWriter(Env env,
String prefix) |
BundleWriter(Env env,
String prefix,
BundleWriter.Options options) |
BundleWriter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
Add(BytePointer key,
Tensor val) |
Status |
Add(String key,
Tensor val) |
Status |
AddSlice(BytePointer full_tensor_key,
TensorShape full_tensor_shape,
TensorSlice slice_spec,
Tensor slice_tensor) |
Status |
AddSlice(String full_tensor_key,
TensorShape full_tensor_shape,
TensorSlice slice_spec,
Tensor slice_tensor) |
Status |
Finish() |
Status |
status() |
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 BundleWriter(Pointer p)
Pointer(Pointer)
.public BundleWriter(Env env, @tensorflow.StringPiece BytePointer prefix, @Const @ByRef(nullValue="tensorflow::BundleWriter::Options()") BundleWriter.Options options)
public BundleWriter(Env env, @tensorflow.StringPiece BytePointer prefix)
public BundleWriter(Env env, @tensorflow.StringPiece String prefix, @Const @ByRef(nullValue="tensorflow::BundleWriter::Options()") BundleWriter.Options options)
public BundleWriter(Env env, @tensorflow.StringPiece String prefix)
@ByVal public Status Add(@tensorflow.StringPiece BytePointer key, @Const @ByRef Tensor val)
@ByVal public Status AddSlice(@tensorflow.StringPiece BytePointer full_tensor_key, @Const @ByRef TensorShape full_tensor_shape, @Const @ByRef TensorSlice slice_spec, @Const @ByRef Tensor slice_tensor)
@ByVal public Status AddSlice(@tensorflow.StringPiece String full_tensor_key, @Const @ByRef TensorShape full_tensor_shape, @Const @ByRef TensorSlice slice_spec, @Const @ByRef Tensor slice_tensor)
Copyright © 2022. All rights reserved.