summaryrefslogtreecommitdiff
path: root/torch
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@fb.com>2017-08-31 07:07:03 -0700
committerSoumith Chintala <soumith@gmail.com>2017-09-05 17:48:55 -0400
commit6ae77b32b993b5407046b44b9ebf0748f98690d3 (patch)
treef0c30065f101f19592c7cfdd33ac2b0eb75a5fe2 /torch
parent61a922e1835bb655385db51f65b4db6fe559f2c3 (diff)
downloadpytorch-6ae77b32b993b5407046b44b9ebf0748f98690d3.tar.gz
pytorch-6ae77b32b993b5407046b44b9ebf0748f98690d3.tar.bz2
pytorch-6ae77b32b993b5407046b44b9ebf0748f98690d3.zip
Delete dead torch.toffee.op
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Diffstat (limited to 'torch')
-rw-r--r--torch/toffee.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/torch/toffee.py b/torch/toffee.py
index b42eef0595..6f5f82186b 100644
--- a/torch/toffee.py
+++ b/torch/toffee.py
@@ -1,17 +1,6 @@
import torch
-def op(op_name, *args, **kwargs):
- """A primitive operator
-
- TODO: better docs here
-
- TODO: This doesn't actually do an operation, eventually we want it to (and
- trace correctly). DO NOT rely on this returning a dictionary!!!
- """
- return {"name": op_name, "inputs": args, "attrs": kwargs}
-
-
def export(model, input, embed_params):
# Enable tracing on the model