@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.Variable extends Pointer
Attrs):
* container: If non-empty, this variable is placed in the given container.
Otherwise, a default container is used.
* shared_name: If non-empty, this variable is named in the given bucket
with this shared_name. Otherwise, the node name is used instead.
Returns:
* Output: A reference to the variable tensor.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.Variable.Attrs
Optional attribute setters for Variable
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Variable(Pointer p)
Pointer cast constructor.
|
Variable(tensorflow.Scope scope,
tensorflow.PartialTensorShape shape,
int dtype) |
Variable(tensorflow.Scope scope,
tensorflow.PartialTensorShape shape,
int dtype,
tensorflow.Variable.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.Variable.Attrs |
Container(BytePointer x) |
static tensorflow.Variable.Attrs |
Container(String x) |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.Variable |
operation(tensorflow.Operation operation) |
tensorflow.Output |
ref() |
tensorflow.Variable |
ref(tensorflow.Output ref) |
static tensorflow.Variable.Attrs |
SharedName(BytePointer x) |
static tensorflow.Variable.Attrs |
SharedName(String 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 Variable(Pointer p)
Pointer.Pointer(Pointer).public Variable(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.PartialTensorShape shape, @Cast(value="tensorflow::DataType") int dtype)
public Variable(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.PartialTensorShape shape, @Cast(value="tensorflow::DataType") int dtype, @Const @ByRef tensorflow.Variable.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.Variable.Attrs Container(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.Variable.Attrs Container(@tensorflow.StringPiece String x)
@ByVal public static tensorflow.Variable.Attrs SharedName(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.Variable.Attrs SharedName(@tensorflow.StringPiece String x)
@ByRef public tensorflow.Operation operation()
public tensorflow.Variable operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output ref()
public tensorflow.Variable ref(tensorflow.Output ref)
Copyright © 2019. All rights reserved.