// Disable dot strength reduction on platforms where it causes a slowdown.
bool enable_dot_strength_reduction_;
- // Disable convolution simplication on platforms where it causes a slowdown.
+ // Disable convolution simplification on platforms where it causes a slowdown.
bool enable_conv_simplification_;
};
bool is_layout_sensitive_;
ValidBitcastCallback valid_bitcast_callback_;
- // Enable dot simplication on platforms where it is profitable.
+ // Enable dot simplification on platforms where it is profitable.
bool enable_dot_strength_reduction_;
- // Enable convolution simplication on platforms where it is profitable.
+ // Enable convolution simplification on platforms where it is profitable.
bool enable_conv_simplification_;
};
// Compiles the HLO module for execution on a device given by the executor,
// and returns an executable object or an error status. No HLO passes are
// applied to module. Generally a module should be passed through RunHloPasses
- // prior to calling this method because the some HLO passes are required for
+ // prior to calling this method because some HLO passes are required for
// correctness. Takes ownership of the HLO module and is free to transform it.
//
// The compiler may optionally specialize to the individual device
// HLO pass that makes the following transformations on while loops:
//
// - A while loop with static trip count of 0 is deleted.
-// - A while loops with static trip count of 1 is replaced by its body (sans
+// - A while loop with static trip count of 1 is replaced by its body (sans
// loop).
// - Elements of a while loop's tuple that the loop doesn't use are removed
// from the tuple.
#include "tensorflow/compiler/xla/service/hlo_module.h"
#include "tensorflow/compiler/xla/service/hlo_pass_interface.h"
-// HLO pass that replaces zero sized Hlos with an zero sized constant literal.
+// HLO pass that replaces zero sized Hlos with a zero sized constant literal.
namespace xla {
class ZeroSizedHloElimination : public HloPassInterface {
public: