Don't constant fold FakeParam ops.
FakeParam claims to have a different output shape than it actually outputs (since the output is not meant to ever be accessed). Prior to this change, ConstantFold() would call ReplaceTensorWithConstant() with the invalid FakeParam output, which would cause a use-before-initialization error. PiperOrigin-RevId: 217929903
Loading
Please sign in to comment