Assign `value` to the sliced l-value reference of `ref`.
The values of `value` are assigned to the positions in the variable `ref` that are selected by the slice parameters. The slice parameters `begin, `end`, `strides`, etc. work exactly as in `StridedSlice`.
NOTE this op currently does not support broadcasting and so `value`'s shape must be exactly the shape produced by the slice of `ref`.
Nested Classes
class | ResourceStridedSliceAssign.Options | Optional attributes for ResourceStridedSliceAssign
|
Public Methods
static ResourceStridedSliceAssign.Options |
beginMask(Long beginMask)
|
static <T extends Number, U> ResourceStridedSliceAssign | |
static ResourceStridedSliceAssign.Options |
ellipsisMask(Long ellipsisMask)
|
static ResourceStridedSliceAssign.Options |
endMask(Long endMask)
|
static ResourceStridedSliceAssign.Options |
newAxisMask(Long newAxisMask)
|
static ResourceStridedSliceAssign.Options |
shrinkAxisMask(Long shrinkAxisMask)
|
Inherited Methods
Public Methods
public static ResourceStridedSliceAssign create (Scope scope, Operand<?> ref, Operand<T> begin, Operand<T> end, Operand<T> strides, Operand<U> value, Options... options)
Factory method to create a class wrapping a new ResourceStridedSliceAssign operation.
Parameters
scope | current scope |
---|---|
options | carries optional attributes values |
Returns
- a new instance of ResourceStridedSliceAssign