Warning: This API is deprecated and will be removed in a future version of TensorFlow after the replacement is stable.

DestroyResourceOp

Stay organized with collections Save and categorize content based on your preferences.
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  

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

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.