create

Creates a new DirectCpuExecutionContext with sensible defaults. This is the primary entry point for Java developers.

Return

A new DirectCpuExecutionContext instance.

Parameters

phase

The execution phase (EVAL or TRAIN). Defaults to EVAL.