diff options
Diffstat (limited to 'tensorflow/python/framework/ops.py')
-rw-r--r-- | tensorflow/python/framework/ops.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tensorflow/python/framework/ops.py b/tensorflow/python/framework/ops.py index dc4ffb1747..2785aed13e 100644 --- a/tensorflow/python/framework/ops.py +++ b/tensorflow/python/framework/ops.py @@ -860,10 +860,6 @@ def convert_to_tensor(value, dtype=None, name=None, preferred_dtype=None): inputs, which allows those ops to accept numpy arrays, Python lists, and scalars in addition to `Tensor` objects. - Note: This function diverges from default Numpy behavior for `float` and - `string` types when `None` is present in a Python list or scalar. Rather - than silently converting `None` values, an error will be thrown. - Args: value: An object whose type has a registered `Tensor` conversion function. dtype: Optional element type for the returned tensor. If missing, the |