aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/tools/parser/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/compiler/xla/tools/parser/README.md')
-rw-r--r--tensorflow/compiler/xla/tools/parser/README.md16
1 files changed, 4 insertions, 12 deletions
diff --git a/tensorflow/compiler/xla/tools/parser/README.md b/tensorflow/compiler/xla/tools/parser/README.md
index b768b94e77..2c864d77a2 100644
--- a/tensorflow/compiler/xla/tools/parser/README.md
+++ b/tensorflow/compiler/xla/tools/parser/README.md
@@ -43,22 +43,14 @@ operand
: shape name
;
-attributes
+extra_attributes
: /*empty*/
- | ',' attribute
- | ',' attribute attributes
+ | ',' extra_attribute
+ | ',' extra_attribute extra_attributes
;
-attribute
+extra_attribute
: attribute_name attribute_value
;
-attribute_value
- : kInt
- | kName
- | [0-9bf]{3,}_[0-9io]{3,}->[0-9bf]{3,} /*dim_labels_pattern*/
- | [0-9]+(x[0-9]+)+ /*dxd_pattern*/
- | [0-9]+_[0-9]+(_[0-9]+)?(x[0-9]+_[0-9]+(_[0-9]+)?)* /*pad_pattern*/
- | '{' sub_attributes '}'
- ;
param_list
: '(' param_list1 ')'