"examples/vscode:/vscode.git/clone" did not exist on "2295c2186a160e8404344afa9a784a544c4d401f"
Commit e830629a authored by Kai Zhang's avatar Kai Zhang Committed by Facebook GitHub Bot
Browse files

Fix typo in quantization callback

Summary: "fb" -> "fn"

Reviewed By: ananthsub

Differential Revision: D29480559

fbshipit-source-id: 78a0cd3ddd25df2c877514d4a5c0c29c248267a2
parent 6e3f514f
...@@ -433,7 +433,7 @@ class QuantizationAwareTraining(Callback, QuantizationMixin): ...@@ -433,7 +433,7 @@ class QuantizationAwareTraining(Callback, QuantizationMixin):
callback.transforms.append( callback.transforms.append(
ModelTransform( ModelTransform(
interval=qat.UPDATE_OBSERVER_STATS_PERIOD, interval=qat.UPDATE_OBSERVER_STATS_PERIOD,
fb=observer_update_stat, fn=observer_update_stat,
message="Updating observers.", message="Updating observers.",
) )
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment