@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class Empty extends Pointer
shape
and dtype
.
Arguments:
* scope: A Scope object
* shape: 1-D. Represents the shape of the output tensor.
Optional attributes (see Attrs
):
* init: If True, initialize the returned tensor with the default value of dtype. Otherwise, the implementation is free not to initializethe tensor's content.
Returns:
* Output
: A Tensor
of type T
.Modifier and Type | Class and Description |
---|---|
static class |
Empty.Attrs
Optional attribute setters for Empty
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Empty(Pointer p)
Pointer cast constructor.
|
Empty(Scope scope,
Input shape,
int dtype) |
Empty(Scope scope,
Input shape,
int dtype,
Empty.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static Empty.Attrs |
Init(boolean x) |
Node |
node() |
Operation |
operation() |
Empty |
operation(Operation setter) |
Output |
output() |
Empty |
output(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 Empty(Pointer p)
Pointer(Pointer)
.public Empty(@Const @ByRef Scope scope, @ByVal Input shape, @Cast(value="tensorflow::DataType") int dtype)
public Node node()
@ByVal public static Empty.Attrs Init(@Cast(value="bool") boolean x)
Copyright © 2022. All rights reserved.