@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.BatchMatMul extends Pointer
Tensor x and y (each slice can be
viewed as an element of a batch), and arranges the individual results
in a single output tensor of the same batch size. Each of the
individual slices can optionally be adjointed (to adjoint a matrix
means to transpose and conjugate it) before multiplication by setting
the adj_x or adj_y flag to True, which are by default False.
The input tensors x and y are 2-D or higher with shape [..., r_x, c_x]
and [..., r_y, c_y].
The output tensor is 2-D or higher with shape [..., r_o, c_o], where:
r_o = c_x if adj_x else r_x
c_o = r_y if adj_y else c_y
It is computed as:
output[..., :, :] = matrix(x[..., :, :]) * matrix(y[..., :, :])
Arguments:
* scope: A Scope object
* x: 2-D or higher with shape [..., r_x, c_x].
* y: 2-D or higher with shape [..., r_y, c_y].
Optional attributes (see Attrs):
* adj_x: If True, adjoint the slices of x. Defaults to False.
* adj_y: If True, adjoint the slices of y. Defaults to False.
Returns:
* Output: 3-D or higher with shape [..., r_o, c_o]| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.BatchMatMul.Attrs
Optional attribute setters for BatchMatMul
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
BatchMatMul(Pointer p)
Pointer cast constructor.
|
BatchMatMul(tensorflow.Scope scope,
tensorflow.Input x,
tensorflow.Input y) |
BatchMatMul(tensorflow.Scope scope,
tensorflow.Input x,
tensorflow.Input y,
tensorflow.BatchMatMul.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
static tensorflow.BatchMatMul.Attrs |
AdjX(boolean x) |
static tensorflow.BatchMatMul.Attrs |
AdjY(boolean x) |
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.BatchMatMul |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.BatchMatMul |
output(tensorflow.Output output) |
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 BatchMatMul(Pointer p)
Pointer.Pointer(Pointer).public BatchMatMul(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input x, @ByVal tensorflow.Input y)
public BatchMatMul(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input x, @ByVal tensorflow.Input y, @Const @ByRef tensorflow.BatchMatMul.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.BatchMatMul.Attrs AdjX(@Cast(value="bool") boolean x)
@ByVal public static tensorflow.BatchMatMul.Attrs AdjY(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.BatchMatMul operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.BatchMatMul output(tensorflow.Output output)
Copyright © 2019. All rights reserved.