Modifier and Type | Method and Description |
---|---|
default void |
at(int index)
Writes whatever kind of data was previously specified, to the tensors'
data at the position targeted by the provided
index . |
void |
fully()
A convenience method for specifying that the entire data array of
the accessed tensor should be written to.
|
void |
intoRange(int start,
int limit)
Writes whatever kind of data was previously specified, to the tensors'
data into the range targeted by the provided
start and limit . |
default void at(int index)
index
.index
- The position at which data should be written to.void intoRange(int start, int limit)
start
and limit
.start
- The first position of the writing cursor in the accessed tensor.limit
- The exclusive limit of the range which should be written to.void fully()
intoRange(int, int)
with the arguments
0
and tensor.size()
.