Applies PLW0108 which removes useless lambda calls in Python, the rule is in preview so it is not ready to be enabled by default just yet. These are the autofixes from the rule.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/113602
Approved by: https://github.com/albanD
Summary:
There is a module called `2to3` which you can target for future specifically to remove these, the directory of `caffe2` has the most redundant imports:
```2to3 -f future -w caffe2```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45033
Reviewed By: seemethere
Differential Revision: D23808648
Pulled By: bugra
fbshipit-source-id: 38971900f0fe43ab44a9168e57f2307580d36a38
Summary:
Just the first version displays forward part of the training net. I want to refactor local/distributed code to share graph initialization and then visualize all nets individually.
Graphs don't look pretty because of a lot of DotProducts, we need to refactor it.
Reviewed By: xianjiec
Differential Revision: D4514479
fbshipit-source-id: 156bb07c62118b15022c87f197b5e378a7ef3b9f
Summary:
Making drawing a bit easier
Also adds a Flow example to check that PNG images are nicely rendered in lists.
Reviewed By: kennyhorror
Differential Revision: D4514470
fbshipit-source-id: 35189c4543c31a351c1dbfe804ce25ae14a3a98b
Summary:
- Writing a Caffe2 computation graph to json for visualization in Flow
- Example use in the Text models workflow: it replaces the existing draw function which produces PNG file
- Visualization: https://our.intern.facebook.com/intern/fblearner/c2graphvis/13215753/
- The visualization uses FBLearnerDAG. Plan to add many visualization-related features.
Reviewed By: Mortimerp9
Differential Revision: D4415299
fbshipit-source-id: 2d641d60177566ed2837fb3750394420690f28de