@Name(value="tensorflow::ops::Cast") @NoOffset @Properties(inherit=tensorflow.class) public class CastOp extends Pointer
Output
: The y tensor.Modifier and Type | Class and Description |
---|---|
static class |
CastOp.Attrs
Optional attribute setters for Cast
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CastOp(Pointer p)
Pointer cast constructor.
|
CastOp(Scope scope,
Input x,
int DstT) |
CastOp(Scope scope,
Input x,
int DstT,
CastOp.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
CastOp |
operation(Operation setter) |
static CastOp.Attrs |
Truncate(boolean x) |
Output |
y() |
CastOp |
y(Output 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 CastOp(Pointer p)
Pointer(Pointer)
.public CastOp(@Const @ByRef Scope scope, @ByVal Input x, @Cast(value="tensorflow::DataType") int DstT)
public Node node()
@ByVal public static CastOp.Attrs Truncate(@Cast(value="bool") boolean x)
Copyright © 2022. All rights reserved.