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

Public Methods

static ResourceStridedSliceAssign.Options
beginMask(Long beginMask)
static <T extends Number, U> 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.
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

org.tensorflow.op.PrimitiveOp
final boolean
equals(Object obj)
final int
Operation
op()
Returns the underlying Operation
final String
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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<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

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)