mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-03-16 17:35:59 +08:00
remove print statements
Reviewed By: gkioxari Differential Revision: D19834684 fbshipit-source-id: 553dbf84d1062149b4915d313fc0f96eb047798c
This commit is contained in:
committed by
Facebook Github Bot
parent
09992a388f
commit
23bb27956a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user