| Package | Description |
|---|---|
| org.tensorflow.op | |
| org.tensorflow.op.core |
| Modifier and Type | Method and Description |
|---|---|
<U,T extends Number> |
Ops.oneHot(Operand<T> indices,
Operand<Integer> depth,
Operand<U> onValue,
Operand<U> offValue,
OneHot.Options... options)
Adds an
OneHot operation to the graph |
| Modifier and Type | Method and Description |
|---|---|
static <U,T extends Number> |
OneHot.create(Scope scope,
Operand<T> indices,
Operand<Integer> depth,
Operand<U> onValue,
Operand<U> offValue,
OneHot.Options... options)
Factory method to create a class to wrap a new OneHot operation to the graph.
|
Copyright © 2015–2019. All rights reserved.