@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.SparseMatMul extends Pointer
Tensors not
SparseTensors. This op is optimized for the case where at least one of "a" or
"b" is sparse, in the sense that they have a large proportion of zero values.
The breakeven for using this versus a dense matrix multiply on one platform was
30% zero values in the sparse matrix.
The gradient computation of this operation will only take advantage of sparsity
in the input gradient when that gradient comes from a Relu.
Arguments:
* scope: A Scope object
Returns:
* Output: The product tensor.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.SparseMatMul.Attrs
Optional attribute setters for SparseMatMul
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
SparseMatMul(Pointer p)
Pointer cast constructor.
|
SparseMatMul(tensorflow.Scope scope,
tensorflow.Input a,
tensorflow.Input b) |
SparseMatMul(tensorflow.Scope scope,
tensorflow.Input a,
tensorflow.Input b,
tensorflow.SparseMatMul.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
static tensorflow.SparseMatMul.Attrs |
AIsSparse(boolean x) |
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.SparseMatMul.Attrs |
BIsSparse(boolean x) |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.SparseMatMul |
operation(tensorflow.Operation operation) |
tensorflow.Output |
product() |
tensorflow.SparseMatMul |
product(tensorflow.Output product) |
static tensorflow.SparseMatMul.Attrs |
TransposeA(boolean x) |
static tensorflow.SparseMatMul.Attrs |
TransposeB(boolean 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 SparseMatMul(Pointer p)
Pointer.Pointer(Pointer).public SparseMatMul(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input a, @ByVal tensorflow.Input b)
public SparseMatMul(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input a, @ByVal tensorflow.Input b, @Const @ByRef tensorflow.SparseMatMul.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.SparseMatMul.Attrs TransposeA(@Cast(value="bool") boolean x)
@ByVal public static tensorflow.SparseMatMul.Attrs TransposeB(@Cast(value="bool") boolean x)
@ByVal public static tensorflow.SparseMatMul.Attrs AIsSparse(@Cast(value="bool") boolean x)
@ByVal public static tensorflow.SparseMatMul.Attrs BIsSparse(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.SparseMatMul operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output product()
public tensorflow.SparseMatMul product(tensorflow.Output product)
Copyright © 2019. All rights reserved.