Home
last modified time | relevance | path

Searched refs:_numpy (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dops.py230 text = repr(tensor._numpy()) if is_repr else str(tensor._numpy())
994 return complex(self._numpy())
997 return int(self._numpy())
1000 return long(self._numpy())
1003 return float(self._numpy())
1006 return self._numpy().__index__()
1009 return bool(self._numpy())
1018 return self._numpy().__format__(format_spec)
1023 return convert_to_tensor, (self._numpy(),)
1061 return self._numpy()
[all …]
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dautocast_variable.py36 text = repr(tensor._numpy()) if is_repr else str(tensor._numpy())
/external/tensorflow/tensorflow/python/eager/
Dtensor_test.py384 t._numpy()[0] = 42.0
391 v._handle._numpy()
398 variant_t._numpy()
/external/python/pybind11/docs/advanced/pycpp/
Dnumpy.rst1 .. _numpy:
/external/tensorflow/tensorflow/python/ops/
Darray_grad.py119 concat_dim._numpy().item(0) % input_values[0]._rank()) # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_math_ops.py1385 return self._numpy().tolist() # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/data/ops/
Ddataset_ops.py4644 numpy = x._numpy() # pylint: disable=protected-access