Home
last modified time | relevance | path

Searched refs:linspace (Results 1 – 25 of 53) sorted by relevance

123

/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
Dbasic_gpu_test.py53 …x = np.linspace(-5, 20, 15).reshape(1, 3, 5).astype(np.float32) # pylint: disable=too-many-functi…
54 …y = np.linspace(20, -5, 15).reshape(1, 3, 5).astype(np.float32) # pylint: disable=too-many-functi…
63 x = np.linspace(-5, 20, 15).reshape(3, 5).astype(np.float32)
64 …y = np.linspace(20, -5, 30).reshape(2, 3, 5).astype(np.float32) # pylint: disable=too-many-functi…
71 …x = np.linspace(-5, 20, 15).reshape(1, 3, 5).astype(np.float64) # pylint: disable=too-many-functi…
72 …y = np.linspace(20, -5, 15).reshape(1, 3, 5).astype(np.float64) # pylint: disable=too-many-functi…
79 x = np.linspace(-5, 20, 15).reshape(3, 5).astype(np.float64)
80 …y = np.linspace(20, -5, 30).reshape(2, 3, 5).astype(np.float64) # pylint: disable=too-many-functi…
134 x = (1 + np.linspace(0, 5, np.prod([1, 3, 2]))).astype(np.float32).reshape(
136 y = (1 + np.linspace(0, 5, np.prod([1, 3, 2]))).astype(np.float32).reshape(
[all …]
Dtopk_op_test.py104 np.linspace(0, 100, dim, dtype=np.float64))
117 np.linspace(0, 100, b * n, dtype=dtype)).reshape(b, n)
131 np.linspace(0, 100, b * n, dtype=dtype)).reshape(b, n)
145 np.linspace(0, 100, b * n, dtype=dtype)).reshape(b, n)
160 np.linspace(0, 3, b * n, dtype=np.int32)).reshape(b, n)
Dcwise_ops_binary_test.py198 …x = np.linspace(-5, 20, 15).reshape(1, 3, 5).astype(np.float32) # pylint: disable=too-many-functi…
199 …y = np.linspace(20, -5, 15).reshape(1, 3, 5).astype(np.float32) # pylint: disable=too-many-functi…
219 …a_pos_small = np.linspace(0.1, 2, 15).reshape(1, 3, 5).astype(np.float32) # pylint: disable=too-m…
220 …x_pos_small = np.linspace(0.1, 10, 15).reshape(1, 3, 5).astype(np.float32) # pylint: disable=too-…
265 …x = np.linspace(-5, 20, 15).reshape(1, 3, 5).astype(np.float64) # pylint: disable=too-many-functi…
266 …y = np.linspace(20, -5, 15).reshape(1, 3, 5).astype(np.float64) # pylint: disable=too-many-functi…
286 …a_pos_small = np.linspace(0.1, 2, 15).reshape(1, 3, 5).astype(np.float32) # pylint: disable=too-m…
287 …x_pos_small = np.linspace(0.1, 10, 15).reshape(1, 3, 5).astype(np.float32) # pylint: disable=too-…
386 …x = (1 + 1j) * np.linspace(-10, 10, 6).reshape(1, 3, 2).astype( # pylint: disable=too-many-functi…
388 …y = (1 + 1j) * np.linspace(20, -20, 6).reshape(1, 3, 2).astype( # pylint: disable=too-many-functi…
[all …]
/external/rust/crates/plotters/src/coord/ranged1d/combinators/
Dmod.rs7 mod linspace; module
8 pub use linspace::{IntoLinspace, Linspace};
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_LinSpace.pbtxt37 tf.linspace(10.0, 12.0, 3, name="linspace") => [ 10.0 11.0 12.0]
/external/tensorflow/tensorflow/python/debug/cli/
Dtensor_format_test.py180 a = np.linspace(0.0, 1.0 - 1.0 / 16.0, 16).reshape([4, 4])
192 a = np.linspace(0.0, 1.0 - 1.0 / 16.0, 16).reshape([4, 4])
201 a = np.linspace(0.0, 1.0 - 1.0 / 16.0, 16).reshape([4, 4])
217 a = np.linspace(0.0, 1.0 - 1.0 / 40.0, 40).reshape([2, 20])
236 a = np.linspace(0.0, 1.0 - 1.0 / 24.0, 24).reshape([2, 3, 4])
248 a = np.linspace(0.0, 1.0 - 1.0 / 24.0, 24).reshape([2, 3, 4])
279 a = np.linspace(0.0, 1.0 - 1.0 / 24.0, 24).reshape([2, 3, 4])
432 a = np.linspace(0.0, 1.0 - 1.0 / 16.0, 16).reshape([4, 4])
452 a = np.linspace(0.0, 1.0 - 1.0 / 16.0, 16).reshape([4, 4])
/external/tensorflow/tensorflow/python/ops/signal/
Dmel_ops.py183 linear_frequencies = math_ops.linspace(
193 math_ops.linspace(_hertz_to_mel(lower_edge_hertz),
/external/tensorflow/tensorflow/tools/compatibility/testdata/
Dtest_file_v0_11.py204 x, y = np.meshgrid(np.linspace(-10, 10, 256), np.linspace(-10, 10, 256))
211 audio = np.sin(2 * np.pi * np.linspace(0, 1, sampling_frequency) * freq)
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dmel_ops_test.py103 spectrogram_bins_hertz = np.linspace(0.0, nyquist_hertz, num_spectrogram_bins)
109 band_edges_mel = np.linspace(hertz_to_mel(lower_edge_hertz),
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_LinSpace.pbtxt8 name: "linspace"
/external/autotest/client/cros/audio/
Daudio_analysis.py137 return numpy.linspace(0, (result_length - 1) * val, result_length)
305 golden_x = numpy.linspace(
Daudio_analysis_unittest.py99 x = numpy.linspace(0.0, (samples - 1) * 1.0 / rate, samples)
171 x = numpy.linspace(
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dspecial_math_test.py58 grid = np.linspace(grid_spec.min, grid_spec.max, num=num_points).astype(dtype)
94 p = np.linspace(0., 1.0, 50).astype(np.float64)
111 p_ = np.linspace(0., 1.0, 50).astype(np.float32)
363 x = np.linspace(0., 1.0, 50).astype(np.float64)
Dnormal_test.py181 x = np.linspace(-8.0, 8.0, batch_size).astype(np.float64)
202 x = np.linspace(-8.0, 8.0, batch_size).astype(np.float64)
224 x = np.linspace(-100.0, 10.0, batch_size).astype(np.float64)
267 x = np.linspace(-10.0, 100.0, batch_size).astype(np.float64)
344 p = np.linspace(0., 1.0, batch_size - 2).astype(np.float64)
/external/tensorflow/tensorflow/python/ops/
Dmath_ops_linspace_test.py55 np_ans = np.linspace(start, stop, num, axis=axis)
Dsort_ops_test.py92 edges = np.linspace(
103 edges = np.linspace(
/external/tensorflow/tensorflow/compiler/tests/
Dunary_ops_test.py147 x = np.linspace(-np.e, np.e, num=1000, dtype=dtype)
151 x = np.linspace(0., np.e * 1e-30, num=1000, dtype=dtype)
155 x = np.linspace(0., np.pi * 1e30, num=1000, dtype=dtype)
163 x = np.linspace(-4 * np.e, 4 * np.e, num=1000, dtype=dtype)
167 x = np.linspace(0., np.e * 1e-30, num=1000, dtype=dtype)
172 x = np.linspace(0., np.e * 1e8, num=1000, dtype=dtype)
180 x = np.linspace(-4 * np.e, 4 * np.e, num=1000, dtype=dtype)
184 x = np.linspace(0., np.e * 1e-30, num=1000, dtype=dtype)
189 x = np.linspace(0., np.e * 1e8, num=1000, dtype=dtype)
Dternary_ops_test.py50 expected = np.linspace(start, end, num, dtype=np.float32)
52 math_ops.linspace,
Dcholesky_op_test.py142 v = np.exp(-np.log(condition_number) * np.linspace(0, size, size) / size)
/external/trace-cmd/scripts/debug/
Dtsync_hist.py41 bins = np.linspace(min, max, num_bins, endpoint = False, dtype=int)
/external/libaom/test/
Dvisual_metrics.py80 lin = np.linspace(min_int, max_int, num=100, retstep=True)
140 lin = np.linspace(min_int, max_int, num=100, retstep=True)
/external/tensorflow/tensorflow/python/kernel_tests/random/
Dutil.py93 i = np.linspace(1, n, n)
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_math_ops_test.py288 np_math_ops.linspace(arg1, arg2, **kwargs),
289 np.linspace(arg1, arg2, **kwargs),
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_toeplitz_test.py94 row = np.linspace(start=10., stop=1., num=shape[-1])
/external/tensorflow/tensorflow/python/ops/distributions/
Dbijector_test_util.py83 ten_x_pts = np.linspace(lower_x, upper_x, num=10).astype(np.float32)

123