Skip to content

Commit f95b416

Browse files
Improve documentation of Hlo input formats for Hlo runner.
PiperOrigin-RevId: 575489893
1 parent 5287731 commit f95b416

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

xla/service/hlo_parser.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ limitations under the License.
2929

3030
namespace xla {
3131

32-
// For details about the syntax accepted by this parser, see
33-
// g3doc/hlo_parser.md.
34-
3532
// Given a string in the HloModule::ToString() format, parses the string and
3633
// creates a HloModule with the given config.
3734
// Note: Tests derived from HloTestBase should use

xla/tools/multihost_hlo_runner/functional_hlo_runner.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ namespace xla {
4040

4141
// Supported input formats for the input HLO module.
4242
enum class InputFormat {
43-
kText, // Text format.
44-
kProtoText, // Protobuf text format.
45-
kProtoBinary, // Protobuf binary format.
43+
kText, // Text format returned by HloModule::ToString().
44+
kProtoText, // Protobuf text format of an xla::HloProto message.
45+
kProtoBinary, // Protobuf binary format of an xla::HloProto message.
4646
kSnapshotProtoBinary, // HloSnapshot protobuf binary format. Can be dumped by
4747
// TensorFlow by setting the environment variable
4848
// xla_dump_hlo_snapshots.

0 commit comments

Comments
 (0)