public static class QuantizedMatMul.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Attrs()
Default native constructor.
|
Attrs(long size)
Native array allocator.
|
Attrs(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
QuantizedMatMul.Attrs |
getPointer(long i) |
QuantizedMatMul.Attrs |
position(long position) |
int |
Tactivation_() |
QuantizedMatMul.Attrs |
Tactivation_(int setter) |
QuantizedMatMul.Attrs |
Tactivation(int x)
The type of output produced by activation function
following this operation.
|
int |
Toutput_() |
QuantizedMatMul.Attrs |
Toutput_(int setter) |
QuantizedMatMul.Attrs |
Toutput(int x)
Defaults to DT_QINT32
|
boolean |
transpose_a_() |
QuantizedMatMul.Attrs |
transpose_a_(boolean setter) |
boolean |
transpose_b_() |
QuantizedMatMul.Attrs |
transpose_b_(boolean setter) |
QuantizedMatMul.Attrs |
TransposeA(boolean x)
If true,
a is transposed before multiplication. |
QuantizedMatMul.Attrs |
TransposeB(boolean x)
If true,
b is transposed before multiplication. |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Attrs()
public Attrs(long size)
Pointer.position(long)
.public Attrs(Pointer p)
Pointer(Pointer)
.public QuantizedMatMul.Attrs position(long position)
public QuantizedMatMul.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public QuantizedMatMul.Attrs Toutput(@Cast(value="tensorflow::DataType") int x)
@ByVal public QuantizedMatMul.Attrs TransposeA(@Cast(value="bool") boolean x)
a
is transposed before multiplication.
Defaults to false@ByVal public QuantizedMatMul.Attrs TransposeB(@Cast(value="bool") boolean x)
b
is transposed before multiplication.
Defaults to false@ByVal public QuantizedMatMul.Attrs Tactivation(@Cast(value="tensorflow::DataType") int x)
public QuantizedMatMul.Attrs Toutput_(int setter)
public QuantizedMatMul.Attrs transpose_a_(boolean setter)
public QuantizedMatMul.Attrs transpose_b_(boolean setter)
public QuantizedMatMul.Attrs Tactivation_(int setter)
Copyright © 2022. All rights reserved.