ResourceStridedSliceAssign

public final class ResourceStridedSliceAssign

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  

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static ResourceStridedSliceAssign.Options
beginMask(Long beginMask)
static <T extends TNumber> ResourceStridedSliceAssign
create(Scope scope, Operand<?> ref, Operand<T> begin, Operand<T> end, Operand<T> strides, Operand<? extends TType> value, Options... options)
Factory method to create a class wrapping a new ResourceStridedSliceAssign operation.
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

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "ResourceStridedSliceAssign"

Public Methods

public static ResourceStridedSliceAssign.Options beginMask (Long beginMask)

public static ResourceStridedSliceAssign create (Scope scope, Operand<?> ref, Operand<T> begin, Operand<T> end, Operand<T> strides, Operand<? extends TType> 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

public static ResourceStridedSliceAssign.Options ellipsisMask (Long ellipsisMask)

public static ResourceStridedSliceAssign.Options endMask (Long endMask)

public static ResourceStridedSliceAssign.Options newAxisMask (Long newAxisMask)

public static ResourceStridedSliceAssign.Options shrinkAxisMask (Long shrinkAxisMask)