V
- the type of the values of a tensorTB
- the type of the tensor backed objectpublic class TensorExtractionOperation<V,TB extends Tensorbacked<V>> extends java.lang.Object implements Conversion<TB,Tensor<V>>
Constructor and Description |
---|
TensorExtractionOperation() |
Modifier and Type | Method and Description |
---|---|
Tensor<V> |
apply(TB tensorbacked)
Has to implement the conversion logic to convert the given object into an object of type R.
|
public Tensor<V> apply(TB tensorbacked)
Conversion
apply
in interface java.util.function.Function<TB extends Tensorbacked<V>,Tensor<V>>
apply
in interface Conversion<TB extends Tensorbacked<V>,Tensor<V>>
tensorbacked
- the object to convert