Exemplo n.º 1
0
 public Tensor SliceRows(Tensor x, long start, long end)
 {
     return(Out(C.Slice(In(x), AxisVector.Repeat(new Axis(0), 1), IntVector.Repeat((int)start, 1), IntVector.Repeat((int)end, 1))));
 }
Exemplo n.º 2
0
 public Tensor SliceRows(Tensor x, long start, long end)
 {
     return(Out(C.Slice(In(x), new AxisVector(new Axis[] { new Axis(0) }), new IntVector(new int[] { 1, 1, 1, 1, 1, 1 }), new IntVector(new int[] { 3, 3, 3, 3, 3, 3 }))));
 }