@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class Placeholder extends Pointer
Attrs
):
* shape: (Optional) The shape of the tensor. If the shape has 0 dimensions, the
shape is unconstrained.
Returns:
* Output
: A placeholder tensor that must be replaced using the feed mechanism.Modifier and Type | Class and Description |
---|---|
static class |
Placeholder.Attrs
Optional attribute setters for Placeholder
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Placeholder(Pointer p)
Pointer cast constructor.
|
Placeholder(Scope scope,
int dtype) |
Placeholder(Scope scope,
int dtype,
Placeholder.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
Placeholder |
operation(Operation setter) |
Output |
output() |
Placeholder |
output(Output setter) |
static Placeholder.Attrs |
Shape(PartialTensorShape 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 Placeholder(Pointer p)
Pointer(Pointer)
.public Placeholder(@Const @ByRef Scope scope, @Cast(value="tensorflow::DataType") int dtype)
public Node node()
@ByVal public static Placeholder.Attrs Shape(@ByVal PartialTensorShape x)
public Placeholder operation(Operation setter)
public Placeholder output(Output setter)
Copyright © 2022. All rights reserved.