@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class HashTable extends Pointer
Creates a non-initialized hash table.
This op creates a hash table, specifying the type of its keys and values.
Before using the table you will have to initialize it. After initialization the
table will be immutable.
Arguments:
* scope: A Scope object
* key_dtype: Type of the table keys.
* value_dtype: Type of the table values.
Optional attributes (see Attrs
):
* container: If non-empty, this table is placed in the given container.
Otherwise, a default container is used.
* shared_name: If non-empty, this table is shared under the given name across
multiple sessions.
* use_node_name_sharing: If true and shared_name is empty, the table is shared
using the node name.
Returns:
* Output
: Handle to a table.
Modifier and Type | Class and Description |
---|---|
static class |
HashTable.Attrs
Optional attribute setters for HashTable
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
HashTable(Pointer p)
Pointer cast constructor.
|
HashTable(Scope scope,
int key_dtype,
int value_dtype) |
HashTable(Scope scope,
int key_dtype,
int value_dtype,
HashTable.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static HashTable.Attrs |
Container(BytePointer x) |
static HashTable.Attrs |
Container(String x) |
Node |
node() |
Operation |
operation() |
HashTable |
operation(Operation setter) |
static HashTable.Attrs |
SharedName(BytePointer x) |
static HashTable.Attrs |
SharedName(String x) |
Output |
table_handle() |
HashTable |
table_handle(Output setter) |
static HashTable.Attrs |
UseNodeNameSharing(boolean 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 HashTable(Pointer p)
Pointer(Pointer)
.public HashTable(@Const @ByRef Scope scope, @Cast(value="tensorflow::DataType") int key_dtype, @Cast(value="tensorflow::DataType") int value_dtype)
public Node node()
@ByVal public static HashTable.Attrs Container(@tensorflow.StringPiece BytePointer x)
@ByVal public static HashTable.Attrs Container(@tensorflow.StringPiece String x)
@ByVal public static HashTable.Attrs SharedName(@tensorflow.StringPiece BytePointer x)
@ByVal public static HashTable.Attrs SharedName(@tensorflow.StringPiece String x)
@ByVal public static HashTable.Attrs UseNodeNameSharing(@Cast(value="bool") boolean x)
Copyright © 2022. All rights reserved.