Home
last modified time | relevance | path

Searched refs:real_dtype (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/python/ops/signal/
Dfft_ops.py125 real_dtype = input_tensor.dtype
126 if real_dtype == _dtypes.float32:
129 assert real_dtype == _dtypes.float64
161 real_dtype = complex_dtype.real_dtype
171 return ifft_fn(input_tensor, fft_length, Treal=real_dtype, name=name)
217 1. / _math_ops.cast(_fft_size_for_grad(grad, 1), grad.dtype.real_dtype),
231 1. / _math_ops.cast(_fft_size_for_grad(grad, 2), grad.dtype.real_dtype),
245 1. / _math_ops.cast(_fft_size_for_grad(grad, 3), grad.dtype.real_dtype),
259 real_dtype = complex_dtype.real_dtype
325 _fft_size_for_grad(op.inputs[0], rank), real_dtype)
[all …]
Dspectral_ops.py276 window = window_fn(frame_length, dtype=stfts.dtype.real_dtype)
/external/tensorflow/tensorflow/python/ops/
Dgradient_checker_v2.py161 jacobian = np.zeros((y_size, x_size), dtype=x.dtype.real_dtype.as_numpy_dtype)
167 dy_data_flat = dy_data.ravel().view(y_dtype.real_dtype.as_numpy_dtype)
225 x_dtype = x_dtype.real_dtype.as_numpy_dtype
226 y_dtype = y_dtype.real_dtype.as_numpy_dtype
Dgradient_checker.py95 dtype=x.dtype.real_dtype.as_numpy_dtype)
101 dy_data_flat = dy_data.ravel().view(dy.dtype.real_dtype.as_numpy_dtype)
171 x_dtype = x.dtype.real_dtype.as_numpy_dtype
172 y_dtype = y.dtype.real_dtype.as_numpy_dtype
Dmath_ops.py410 return gen_math_ops.complex_abs(x, Tout=x.dtype.real_dtype, name=name)
781 real_dtype = input.dtype.real_dtype
782 return gen_math_ops.real(input, Tout=real_dtype, name=name)
816 return gen_math_ops.imag(input, Tout=input.dtype.real_dtype, name=name)
857 return gen_math_ops.angle(input, Tout=input.dtype.real_dtype, name=name)
2466 real_dtype = diff.dtype.real_dtype
2468 gen_math_ops.mul(gen_math_ops.conj(diff), diff), Tout=real_dtype)
Dcheck_ops.py833 dtype = dtype.real_dtype
Dsparse_ops.py582 threshold, dtype=a.values.dtype.real_dtype.base_dtype, name="threshold")
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-d-type.pbtxt63 name: "real_dtype"
Dtensorflow.dtypes.-d-type.pbtxt63 name: "real_dtype"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.dtypes.-d-type.pbtxt63 name: "real_dtype"
Dtensorflow.-d-type.pbtxt63 name: "real_dtype"
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_test_util.py930 stddev=math_ops.cast(1 / np.sqrt(s), dtype.real_dtype))
966 maxval = ops.convert_to_tensor(np.sqrt(2.), dtype=dtype.real_dtype)
998 shape, mean=mean, stddev=stddev, dtype=dtype.real_dtype, seed=seed)
1003 shape, mean=mean, stddev=stddev, dtype=dtype.real_dtype, seed=seed)
1036 shape, dtype=dtype.real_dtype, minval=minval, maxval=maxval, seed=seed)
1042 dtype=dtype.real_dtype,
Dlinear_operator_util.py195 zero = ops.convert_to_tensor_v2_with_dispatch(0, dtype=dtype.real_dtype)
217 zero = ops.convert_to_tensor_v2_with_dispatch(0, dtype=dtype.real_dtype)
Dlinear_operator_identity.py654 self.dtype.real_dtype)
Dlinear_operator_circulant.py348 eps = np.finfo(self.dtype.real_dtype.as_numpy_dtype).eps
/external/tensorflow/tensorflow/python/framework/
Ddtypes_test.py114 self.assertIs(dtype.real_dtype, dtype)
115 self.assertIs(dtypes.complex64.real_dtype, dtypes.float32)
116 self.assertIs(dtypes.complex128.real_dtype, dtypes.float64)
Ddtypes.py93 def real_dtype(self): member in DType
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_math_ops.py473 rtol_ = ops.convert_to_tensor(rtol, dtype.real_dtype)
474 atol_ = ops.convert_to_tensor(atol, dtype.real_dtype)