public class ShapeOffsetResolution extends Object implements Serializable
Constructor and Description |
---|
ShapeOffsetResolution(INDArray arr)
Specify the array to use for resolution
|
Modifier and Type | Method and Description |
---|---|
void |
exec(INDArrayIndex... indexes)
Based on the passed in array
compute the shape,offsets, and strides
for the given indexes
|
INDArray |
getArr() |
int |
getOffset() |
int[] |
getOffsets() |
int[] |
getShapes() |
int[] |
getStrides() |
void |
setArr(INDArray arr) |
void |
setOffset(int offset) |
void |
setOffsets(int[] offsets) |
void |
setShapes(int[] shapes) |
void |
setStrides(int[] strides) |
public ShapeOffsetResolution(INDArray arr)
arr
- the array to use
for resolutionpublic void exec(INDArrayIndex... indexes)
indexes
- the indexes
to compute this based onpublic INDArray getArr()
public void setArr(INDArray arr)
public int[] getOffsets()
public void setOffsets(int[] offsets)
public int[] getShapes()
public void setShapes(int[] shapes)
public int[] getStrides()
public void setStrides(int[] strides)
public int getOffset()
public void setOffset(int offset)
Copyright © 2015. All Rights Reserved.