Provide an accessor for dynamic dimension inference.
PiperOrigin-RevId: 295996157 Change-Id: I50ea04cd692d1163b2e05d9f8e12dbeffc11fa3d
This commit is contained in:
parent
eea4079931
commit
e0575253d1
@ -133,6 +133,10 @@ class HloEvaluator : public DfsHloVisitorWithDefault {
|
||||
dynamic_dimension_inference_ = dynamic_dimension_inference;
|
||||
}
|
||||
|
||||
DynamicDimensionInference* dynamic_dimension_inference() {
|
||||
return dynamic_dimension_inference_;
|
||||
}
|
||||
|
||||
// Enable the fast path for certain operations like dot or convolution.
|
||||
void set_use_fast_path(bool value) { use_fast_path_ = value; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user