public final class ViewOps
extends Object
-
Method Summary
slice(Tensor input,
int dimension,
int start,
int stop,
int step)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
-
-
reshape
public static Tensor reshape(Tensor input,
int... dimensions)
-
-
transpose
public static Tensor transpose(Tensor input,
int first,
int second)
-
expand
public static Tensor expand(Tensor input,
int... dimensions)
-
select
public static Tensor select(Tensor input,
int dimension,
int index)
-
slice
public static Tensor slice(Tensor input,
int dimension,
int start,
int stop,
int step)
-
-
-