| Modifier and Type | Class and Description |
|---|---|
static class |
MutexV2.Options
Optional attributes for
MutexV2 |
operation| Modifier and Type | Method and Description |
|---|---|
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static MutexV2.Options |
container(String container) |
static MutexV2 |
create(Scope scope,
MutexV2.Options... options)
Factory method to create a class to wrap a new MutexV2 operation to the graph.
|
Output<?> |
resource()
The mutex resource.
|
static MutexV2.Options |
sharedName(String sharedName) |
equals, hashCode, toStringpublic static MutexV2 create(Scope scope, MutexV2.Options... options)
scope - current graph scopeoptions - carries optional attributes valuespublic static MutexV2.Options container(String container)
container - If non-empty, this variable is placed in the given container.
Otherwise, a default container is used.public static MutexV2.Options sharedName(String sharedName)
sharedName - If non-empty, this variable is named in the given bucket
with this shared_name. Otherwise, the node name is used instead.public Output<?> resource()
public Output<Object> asOutput()
OperandInputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput in interface Operand<Object>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.