@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.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 |
tensorflow.Size.Attrs
Optional attribute setters for Size
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Size(Pointer p)
Pointer cast constructor.
|
Size(tensorflow.Scope scope,
tensorflow.Input input) |
Size(tensorflow.Scope scope,
tensorflow.Input input,
tensorflow.Size.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.Size |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.Size |
output(tensorflow.Output output) |
static tensorflow.Size.Attrs |
OutType(int x) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Size(Pointer p)
Pointer.Pointer(Pointer).public Size(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input)
public Size(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input, @Const @ByRef tensorflow.Size.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.Size.Attrs OutType(@Cast(value="tensorflow::DataType") int x)
@ByRef public tensorflow.Operation operation()
public tensorflow.Size operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.Size output(tensorflow.Output output)
Copyright © 2019. All rights reserved.