@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class Save extends Pointer
tensor_names
must match the number of tensors in data
. data[i]
is written to filename
with name tensor_names[i]
.
See also SaveSlices
.
Arguments:
* scope: A Scope object
* filename: Must have a single element. The name of the file to which we write
the tensor.
* tensor_names: Shape [N]
. The names of the tensors to be saved.
* data: N
tensors to save.
Returns:
* the created Operation
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Save(Pointer p)
Pointer cast constructor.
|
Save(Scope scope,
Input filename,
Input tensor_names,
InputList data) |
Modifier and Type | Method and Description |
---|---|
Operation |
asOperation() |
Operation |
operation() |
Save |
operation(Operation setter) |
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 Save(Pointer p)
Pointer(Pointer)
.Copyright © 2022. All rights reserved.