remove print statements

Reviewed By: gkioxari

Differential Revision: D19834684

fbshipit-source-id: 553dbf84d1062149b4915d313fc0f96eb047798c
This commit is contained in:
Jeremy Reizenstein
2020-02-11 15:14:42 -08:00
committed by Facebook Github Bot
parent 09992a388f
commit 23bb27956a
2 changed files with 5 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
import numpy as np
import warnings
from typing import Any, Union
import torch
@@ -111,7 +112,7 @@ class TensorProperties(object):
args_to_broadcast[k] = v
else:
msg = "Arg %s with type %r is not broadcastable"
print(msg % (k, type(v)))
warnings.warn(msg % (k, type(v)))
names = args_to_broadcast.keys()
# convert from type dict.values to tuple