@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.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 |
tensorflow.SerializeSparse.Attrs
Optional attribute setters for SerializeSparse
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
SerializeSparse(Pointer p)
Pointer cast constructor.
|
SerializeSparse(tensorflow.Scope scope,
tensorflow.Input sparse_indices,
tensorflow.Input sparse_values,
tensorflow.Input sparse_shape) |
SerializeSparse(tensorflow.Scope scope,
tensorflow.Input sparse_indices,
tensorflow.Input sparse_values,
tensorflow.Input sparse_shape,
tensorflow.SerializeSparse.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.SerializeSparse |
operation(tensorflow.Operation operation) |
static tensorflow.SerializeSparse.Attrs |
OutType(int x) |
tensorflow.Output |
serialized_sparse() |
tensorflow.SerializeSparse |
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 SerializeSparse(Pointer p)
Pointer.Pointer(Pointer).public SerializeSparse(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input sparse_indices, @ByVal tensorflow.Input sparse_values, @ByVal tensorflow.Input sparse_shape)
public SerializeSparse(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input sparse_indices, @ByVal tensorflow.Input sparse_values, @ByVal tensorflow.Input sparse_shape, @Const @ByRef tensorflow.SerializeSparse.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.SerializeSparse.Attrs OutType(@Cast(value="tensorflow::DataType") int x)
@ByRef public tensorflow.Operation operation()
public tensorflow.SerializeSparse operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output serialized_sparse()
public tensorflow.SerializeSparse serialized_sparse(tensorflow.Output serialized_sparse)
Copyright © 2019. All rights reserved.