ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

TPUCompileSucceededAssert

public final class TPUCompileSucceededAssert

Asserts that compilation succeeded. This op produces no output and closes the

device during failure to ensure all pending device interactions fail.

'compilation_status' is a serialized CompilationResultProto.

Public Methods

static TPUCompileSucceededAssert
create(Scope scope, Operand<String> compilationStatus)
Factory method to create a class wrapping a new TPUCompileSucceededAssert operation.

Inherited Methods

Public Methods

public static TPUCompileSucceededAssert create (Scope scope, Operand<String> compilationStatus)

Factory method to create a class wrapping a new TPUCompileSucceededAssert operation.

Parameters
scope current scope
Returns
  • a new instance of TPUCompileSucceededAssert