@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.SerializeManySparse extends Pointer
N-minibatch SparseTensor into an [N, 3] Tensor object.
The SparseTensor must have rank R greater than 1, and the first dimension
is treated as the minibatch dimension. Elements of the SparseTensor
must be sorted in increasing order of this first dimension. The serialized
SparseTensor objects going into each row of serialized_sparse will have
rank R-1.
The minibatch size N is extracted from sparse_shape[0].
Arguments:
* scope: A Scope object
* sparse_indices: 2-D. The indices of the minibatch SparseTensor.
* sparse_values: 1-D. The values of the minibatch SparseTensor.
* sparse_shape: 1-D. The shape of the minibatch 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 |
tensorflow.SerializeManySparse.Attrs
Optional attribute setters for SerializeManySparse
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
SerializeManySparse(Pointer p)
Pointer cast constructor.
|
SerializeManySparse(tensorflow.Scope scope,
tensorflow.Input sparse_indices,
tensorflow.Input sparse_values,
tensorflow.Input sparse_shape) |
SerializeManySparse(tensorflow.Scope scope,
tensorflow.Input sparse_indices,
tensorflow.Input sparse_values,
tensorflow.Input sparse_shape,
tensorflow.SerializeManySparse.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.SerializeManySparse |
operation(tensorflow.Operation operation) |
static tensorflow.SerializeManySparse.Attrs |
OutType(int x) |
tensorflow.Output |
serialized_sparse() |
tensorflow.SerializeManySparse |
serialized_sparse(tensorflow.Output serialized_sparse) |
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 SerializeManySparse(Pointer p)
Pointer.Pointer(Pointer).public SerializeManySparse(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input sparse_indices, @ByVal tensorflow.Input sparse_values, @ByVal tensorflow.Input sparse_shape)
public SerializeManySparse(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input sparse_indices, @ByVal tensorflow.Input sparse_values, @ByVal tensorflow.Input sparse_shape, @Const @ByRef tensorflow.SerializeManySparse.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.SerializeManySparse.Attrs OutType(@Cast(value="tensorflow::DataType") int x)
@ByRef public tensorflow.Operation operation()
public tensorflow.SerializeManySparse operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output serialized_sparse()
public tensorflow.SerializeManySparse serialized_sparse(tensorflow.Output serialized_sparse)
Copyright © 2019. All rights reserved.