You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/sh
-
- # This dirty script eat td files :P
- # https://github.com/tensorflow/tensorflow/tree/master/tensorflow/compiler/mlir/tensorflow/ir
-
- sed -i 's!tensorflow/compiler/mlir/tensorflow/ir/!!g' *.td tf_traits.h tf_types.h tf_types.cc tf_attributes.cc
-
- sed -i '/let hasCanonicalizer = 1;/d' *.td
- sed -i '/let hasFolder = 1;/d' *.td
- sed -i '/StringRef GetOptimalLayout(const RuntimeDevices& devices);/d' *.td
- sed -i '/LogicalResult UpdateDataFormat(StringRef data_format);/d' *.td
- sed -i '/LogicalResult FoldOperandsPermutation(ArrayRef<int64_t> permutation);/d' *.td
- sed -i '/Optional<ContractionFusion> GetContractionFusion();/d' *.td
|