@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class Size extends Pointer
input
.
For example:
# 't' is [[[1, 1,, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]]]
size(t) ==> 12
Arguments:
* scope: A Scope object
Returns:
* Output
: The output tensor.Modifier and Type | Class and Description |
---|---|
static class |
Size.Attrs
Optional attribute setters for Size
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Size(Pointer p)
Pointer cast constructor.
|
Size(Scope scope,
Input input) |
Size(Scope scope,
Input input,
Size.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
Size |
operation(Operation setter) |
Output |
output() |
Size |
output(Output setter) |
static Size.Attrs |
OutType(int 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 Size(Pointer p)
Pointer(Pointer)
.public Node node()
@ByVal public static Size.Attrs OutType(@Cast(value="tensorflow::DataType") int x)
Copyright © 2022. All rights reserved.