public static class MixedTensor.Index.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableMap.Builder<TensorAddress,Long> |
builder |
private MixedTensor.Index |
index |
Constructor and Description |
---|
Builder(TensorType type) |
Modifier and Type | Method and Description |
---|---|
MixedTensor.Index |
build() |
MixedTensor.Index |
index() |
void |
put(TensorAddress address,
long index) |
private final MixedTensor.Index index
private final com.google.common.collect.ImmutableMap.Builder<TensorAddress,Long> builder
public Builder(TensorType type)
public void put(TensorAddress address, long index)
public MixedTensor.Index build()
public MixedTensor.Index index()
Copyright © 2018. All rights reserved.