public class IntegerTakeVertex extends IntegerUnaryOpVertex
INPUT_NAME, inputVertex| Constructor and Description |
|---|
IntegerTakeVertex(IntegerVertex inputVertex,
long... index)
A vertex that extracts a scalar at a given index
|
| Modifier and Type | Method and Description |
|---|---|
long[] |
getIndex() |
protected IntegerTensor |
op(IntegerTensor value) |
calculate, getInputVertexabs, concat, div, div, divideBy, divideBy, divideBy, equalTo, getValue, greaterThan, greaterThanOrEqualTo, lambda, lambda, lessThan, lessThanOrEqualTo, loadValue, max, min, minus, minus, minus, multiply, multiply, multiply, notEqualTo, observe, observe, plus, plus, plus, pow, pow, reshape, reverseDiv, reverseMinus, saveValue, setAndCascade, setAndCascade, setValue, setValue, slice, sum, sum, take, times, times, toDouble, unaryMinusaddChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getDegree, getId, getIndentation, getLabel, getObservedValue, getParents, getRank, getReference, getShape, getState, getValue, hashCode, hasValue, isDifferentiable, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, print, print, removeLabel, save, setAndCascade, setLabel, setLabel, setParents, setParents, setState, setValue, toString, unobserveclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontradictsObservationgetObservedValue, isObserved, observe, unobservepublic IntegerTakeVertex(IntegerVertex inputVertex, long... index)
inputVertex - the input vertex to extract fromindex - the index to extract atprotected IntegerTensor op(IntegerTensor value)
op in class IntegerUnaryOpVertexpublic long[] getIndex()