Warning: This API is deprecated and will be removed in a future
version of TensorFlow after
the replacement is stable.
TPUPartitionedOutputV2
Stay organized with collections
Save and categorize content based on your preferences.
An op that demultiplexes a tensor to be sharded by XLA to a list of partitioned
outputs outside the XLA computation. Supports ND sharding.
Public Methods
|
static
<T>
TPUPartitionedOutputV2<T>
|
create( Scope scope, Operand<T> inputs, Long numSplits, List<Long> partitionDims)
Factory method to create a class wrapping a new TPUPartitionedOutputV2 operation.
|
|
Iterator<Operand<T>>
|
|
|
List<Output<T>>
|
output()
A list of partitioned outputs which have the same shape.
|
Inherited Methods
From class
java.lang.Object
|
boolean
|
equals(Object arg0)
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
From interface
java.lang.Iterable
|
void
|
forEach(Consumer<? super T> arg0)
|
|
abstract
Iterator<Operand<T>>
|
iterator()
|
|
Spliterator<Operand<T>>
|
spliterator()
|
Public Methods
Factory method to create a class wrapping a new TPUPartitionedOutputV2 operation.
Parameters
| scope |
current scope |
| inputs |
A tensor which represents the full shape of partitioned tensors. |
| partitionDims |
A list of integers describing how each dimension is partitioned. Emptiness
indicates the inputs are replicated. |
Returns
- a new instance of TPUPartitionedOutputV2
public
Iterator<Operand<T>>
iterator
()
public
List<Output<T>>
output
()
A list of partitioned outputs which have the same shape.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-23 UTC.
[null,null,["Last updated 2023-03-23 UTC."],[],[]]