@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class SerializeSparse extends Pointer
SparseTensor
into a [3]
Tensor
object.
Arguments:
* scope: A Scope object
* sparse_indices: 2-D. The indices
of the SparseTensor
.
* sparse_values: 1-D. The values
of the SparseTensor
.
* sparse_shape: 1-D. The shape
of the SparseTensor
.
Optional attributes (see Attrs
):
* out_type: The dtype
to use for serialization; the supported types are string
(default) and variant
.
Returns:
* Output
: The serialized_sparse tensor.Modifier and Type | Class and Description |
---|---|
static class |
SerializeSparse.Attrs
Optional attribute setters for SerializeSparse
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SerializeSparse(Pointer p)
Pointer cast constructor.
|
SerializeSparse(Scope scope,
Input sparse_indices,
Input sparse_values,
Input sparse_shape) |
SerializeSparse(Scope scope,
Input sparse_indices,
Input sparse_values,
Input sparse_shape,
SerializeSparse.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
SerializeSparse |
operation(Operation setter) |
static SerializeSparse.Attrs |
OutType(int x) |
Output |
serialized_sparse() |
SerializeSparse |
serialized_sparse(Output setter) |
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 SerializeSparse(Pointer p)
Pointer(Pointer)
.public SerializeSparse(@Const @ByRef Scope scope, @ByVal Input sparse_indices, @ByVal Input sparse_values, @ByVal Input sparse_shape)
public Node node()
@ByVal public static SerializeSparse.Attrs OutType(@Cast(value="tensorflow::DataType") int x)
public SerializeSparse operation(Operation setter)
public SerializeSparse serialized_sparse(Output setter)
Copyright © 2022. All rights reserved.