@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class Stage extends Pointer
Attrs
):
* capacity: Maximum number of elements in the Staging Area. If > 0, inserts
on the container will block when the capacity is reached.
* memory_limit: The maximum number of bytes allowed for Tensors in the Staging Area.
If > 0, inserts will block until sufficient space is available.
* container: If non-empty, this queue is placed in the given container. Otherwise,
a default container is used.
* shared_name: It is necessary to match this name to the matching Unstage Op.
Returns:
* the created Operation
Modifier and Type | Class and Description |
---|---|
static class |
Stage.Attrs
Optional attribute setters for Stage
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Stage(Pointer p)
Pointer cast constructor.
|
Stage(Scope scope,
InputList values) |
Stage(Scope scope,
InputList values,
Stage.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Operation |
asOperation() |
static Stage.Attrs |
Capacity(long x) |
static Stage.Attrs |
Container(BytePointer x) |
static Stage.Attrs |
Container(String x) |
static Stage.Attrs |
MemoryLimit(long x) |
Operation |
operation() |
Stage |
operation(Operation setter) |
static Stage.Attrs |
SharedName(BytePointer x) |
static Stage.Attrs |
SharedName(String x) |
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 Stage(Pointer p)
Pointer(Pointer)
.@ByVal public static Stage.Attrs Capacity(@Cast(value="tensorflow::int64") long x)
@ByVal public static Stage.Attrs MemoryLimit(@Cast(value="tensorflow::int64") long x)
@ByVal public static Stage.Attrs Container(@tensorflow.StringPiece BytePointer x)
@ByVal public static Stage.Attrs Container(@tensorflow.StringPiece String x)
@ByVal public static Stage.Attrs SharedName(@tensorflow.StringPiece BytePointer x)
@ByVal public static Stage.Attrs SharedName(@tensorflow.StringPiece String x)
Copyright © 2022. All rights reserved.