Thanks for tuning in to Google I/O. View all sessions on demandWatch on demand

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