@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.AsString extends Pointer
Converts each entry in the given tensor to strings. Supports many numeric
types and boolean.
Arguments:
* scope: A Scope object
Optional attributes (see Attrs):
* precision: The post-decimal precision to use for floating point numbers.
Only used if precision > -1.
* scientific: Use scientific notation for floating point numbers.
* shortest: Use shortest representation (either scientific or standard) for
floating point numbers.
* width: Pad pre-decimal numbers to this width.
Applies to both floating point and integer numbers.
Only used if width > -1.
* fill: The value to pad if width > -1. If empty, pads with spaces.
Another typical value is '0'. String cannot be longer than 1 character.
Returns:
* Output: The output tensor.
| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.AsString.Attrs
Optional attribute setters for AsString
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
AsString(Pointer p)
Pointer cast constructor.
|
AsString(tensorflow.Scope scope,
tensorflow.Input input) |
AsString(tensorflow.Scope scope,
tensorflow.Input input,
tensorflow.AsString.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.AsString.Attrs |
Fill(BytePointer x) |
static tensorflow.AsString.Attrs |
Fill(String x) |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.AsString |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.AsString |
output(tensorflow.Output output) |
static tensorflow.AsString.Attrs |
Precision(long x) |
static tensorflow.AsString.Attrs |
Scientific(boolean x) |
static tensorflow.AsString.Attrs |
Shortest(boolean x) |
static tensorflow.AsString.Attrs |
Width(long 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 AsString(Pointer p)
Pointer.Pointer(Pointer).public AsString(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input)
public AsString(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input, @Const @ByRef tensorflow.AsString.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.AsString.Attrs Precision(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.AsString.Attrs Scientific(@Cast(value="bool") boolean x)
@ByVal public static tensorflow.AsString.Attrs Shortest(@Cast(value="bool") boolean x)
@ByVal public static tensorflow.AsString.Attrs Width(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.AsString.Attrs Fill(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.AsString.Attrs Fill(@tensorflow.StringPiece String x)
@ByRef public tensorflow.Operation operation()
public tensorflow.AsString operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.AsString output(tensorflow.Output output)
Copyright © 2019. All rights reserved.