public final class
DestroyResourceOp
Deletes the resource specified by the handle.
All subsequent operations using the resource will result in a NotFound error status.
Nested Classes
class | DestroyResourceOp.Options | Optional attributes for DestroyResourceOp
|
Constants
String | OP_NAME | The name of this op, as known by TensorFlow core engine |
Public Methods
static DestroyResourceOp |
create(Scope scope, Operand<?> resource, Options... options)
Factory method to create a class wrapping a new DestroyResourceOp operation.
|
static DestroyResourceOp.Options |
ignoreLookupError(Boolean ignoreLookupError)
|
Inherited Methods
Constants
public static final String OP_NAME
The name of this op, as known by TensorFlow core engine
Constant Value:
"DestroyResourceOp"
Public Methods
public static DestroyResourceOp create (Scope scope, Operand<?> resource, Options... options)
Factory method to create a class wrapping a new DestroyResourceOp operation.
Parameters
scope | current scope |
---|---|
resource | handle to the resource to delete. |
options | carries optional attributes values |
Returns
- a new instance of DestroyResourceOp
public static DestroyResourceOp.Options ignoreLookupError (Boolean ignoreLookupError)
Parameters
ignoreLookupError | whether to ignore the error when the resource doesn't exist. |
---|