Home
last modified time | relevance | path

Searched refs:issubdtype (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_dtypes.py56 issubdtype = np_export.np_export('issubdtype')(np.issubdtype) variable
Dnp_math_ops.py378 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):
Dnp_array_ops.py519 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):
Dnp_arrays_test.py72 if np.issubdtype(out_type, np.inexact):
Dnp_array_ops_test.py1112 if np.issubdtype(dtype, np.complex):
/external/tensorflow/tensorflow/python/debug/cli/
Dtensor_format.py538 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/
Dreduce_ops_test.py122 if np.issubdtype(dtype, np.floating):
139 if np.issubdtype(dtype, np.floating):
Dqr_op_test.py84 if np.issubdtype(dtype, np.complexfloating):
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dpreprocessing_test_utils.py47 hasattr(a, "dtype") and np.issubdtype(a.dtype, np.number)):
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_events_monitors.py175 if not size or not np.issubdtype(tensor_value.dtype, np.floating):
Ddebug_data.py226 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/
Dtopk_op_test.py62 if not np.issubdtype(np_expected_values.dtype, np.floating):
Dreduction_ops_test.py443 if np.issubdtype(x.dtype, np.integer):
556 if np.issubdtype(x.dtype, np.integer):
Dconv_ops_test.py366 if np.issubdtype(value.dtype, np.integer):
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py2986 if not (np.issubdtype(target.dtype, np.floating) or
2987 np.issubdtype(target.dtype, np.integer)):
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dtf_trt_integration_test_base.py991 scale = 10.0 if np.issubdtype(np_dtype, np.integer) else 1.0
/external/tensorflow/third_party/py/numpy/tf_numpy_api/
Dtensorflow.experimental.numpy.pbtxt532 name: "issubdtype"