Searched refs:issubdtype (Results 1 – 17 of 17) sorted by relevance
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_dtypes.py | 56 issubdtype = np_export.np_export('issubdtype')(np.issubdtype) variable
|
D | np_math_ops.py | 378 if not np.issubdtype(y.dtype.as_numpy_dtype, np.inexact): 472 if np.issubdtype(dtype.as_numpy_dtype, np.inexact): 507 if (not np.issubdtype(x1.dtype.as_numpy_dtype, np.integer) or 508 not np.issubdtype(x2.dtype.as_numpy_dtype, np.integer)): 599 if promote_to_float and not np.issubdtype(x.dtype.as_numpy_dtype, np.inexact): 817 return np.issubdtype(x.dtype.as_numpy_dtype, np.complexfloating) 853 if np.issubdtype(a.dtype.as_numpy_dtype, np.bool_) or np.issubdtype( 1238 if not np.issubdtype(a.dtype.as_numpy_dtype, np.inexact): 1249 if np.issubdtype(a.dtype.as_numpy_dtype, np.inexact):
|
D | np_array_ops.py | 519 if np.issubdtype(dtype, np.integer) or dtype == np.bool_: 528 is_signed = np.issubdtype(dtype, np.signedinteger) 730 if np.issubdtype(dtype, np.inexact): 1389 if np.issubdtype(dtype, np.complex): 1486 if not np.issubdtype(np_dtype, np.integer):
|
D | np_arrays_test.py | 72 if np.issubdtype(out_type, np.inexact):
|
D | np_array_ops_test.py | 1112 if np.issubdtype(dtype, np.complex):
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | tensor_format.py | 538 elif (np.issubdtype(tensor.dtype, np.floating) or 539 np.issubdtype(tensor.dtype, np.complex) or 540 np.issubdtype(tensor.dtype, np.integer)):
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | reduce_ops_test.py | 122 if np.issubdtype(dtype, np.floating): 139 if np.issubdtype(dtype, np.floating):
|
D | qr_op_test.py | 84 if np.issubdtype(dtype, np.complexfloating):
|
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/ |
D | preprocessing_test_utils.py | 47 hasattr(a, "dtype") and np.issubdtype(a.dtype, np.number)):
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_events_monitors.py | 175 if not size or not np.issubdtype(tensor_value.dtype, np.floating):
|
D | debug_data.py | 226 elif (np.issubdtype(tensor.dtype, np.floating) or 227 np.issubdtype(tensor.dtype, np.complex) or 228 np.issubdtype(tensor.dtype, np.integer)):
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | topk_op_test.py | 62 if not np.issubdtype(np_expected_values.dtype, np.floating):
|
D | reduction_ops_test.py | 443 if np.issubdtype(x.dtype, np.integer): 556 if np.issubdtype(x.dtype, np.integer):
|
D | conv_ops_test.py | 366 if np.issubdtype(value.dtype, np.integer):
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util.py | 2986 if not (np.issubdtype(target.dtype, np.floating) or 2987 np.issubdtype(target.dtype, np.integer)):
|
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/ |
D | tf_trt_integration_test_base.py | 991 scale = 10.0 if np.issubdtype(np_dtype, np.integer) else 1.0
|
/external/tensorflow/third_party/py/numpy/tf_numpy_api/ |
D | tensorflow.experimental.numpy.pbtxt | 532 name: "issubdtype"
|