Home
last modified time | relevance | path

Searched refs:n_samples (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
Dsynthetic_test.py55 n_samples = 100
58 n_samples=n_samples, noise=None, n_classes=n_classes)
60 self.assertTupleEqual(circ.data.shape, (n_samples, 2))
61 self.assertTupleEqual(circ.target.shape, (n_samples,))
74 n_samples=100, noise=noise, n_classes=2, seed=seed)
76 n_samples=100, noise=noise, n_classes=2, seed=seed)
81 n_samples=100, noise=noise, n_classes=2, seed=seed + 1)
88 n_samples=100, noise=noise / 2., n_classes=2, seed=seed)
104 n_samples = 100
107 spir = synthetic.spirals(n_samples=n_samples, noise=None, mode=mode)
[all …]
Dsynthetic.py33 def circles(n_samples=100, argument
72 linspace = np.linspace(0, 2 * np.pi, n_samples // n_classes)
84 y = np.append(y, label * np.ones(n_samples // n_classes, dtype=np.int32))
87 extras = n_samples % n_classes
97 indices = np.random.permutation(range(n_samples))
104 def spirals(n_samples=100, argument
148 linspace = np.linspace(0, 2 * n_loops * np.pi, n_samples // n_classes)
157 y = np.append(y, label * np.ones(n_samples // n_classes, dtype=np.int32))
160 extras = n_samples % n_classes
173 indices = np.random.permutation(range(n_samples))
D__init__.py84 def make_dataset(name, n_samples=100, noise=None, seed=42, *args, **kwargs): argument
118 n_samples=n_samples, noise=noise, seed=seed, *args, **kwargs)
Dbase.py54 n_samples = int(header[0])
56 data = np.zeros((n_samples, n_features), dtype=features_dtype)
57 target = np.zeros((n_samples,), dtype=target_dtype)
/external/tensorflow/tensorflow/contrib/eager/python/examples/l2hmc/
Dl2hmc_test.py32 n_samples=200,
62 n_samples=200, argument
67 shape=[n_samples, dynamics.x_dim], dtype=tf.float32)
110 samples = tf.random_normal(shape=[hparams.n_samples, hparams.x_dim])
116 self.assertEqual(x_accept_prob.shape, (hparams.n_samples,))
128 samples = npr.normal(size=[hparams.n_samples, hparams.x_dim])
138 self.assertEqual(np_x_accept_prob.shape, (hparams.n_samples,))
150 hparams.n_samples = sample_size
154 x = tf.random_normal([hparams.n_samples, hparams.x_dim],
182 examples_per_sec = hparams.n_samples / wall_time
[all …]
Dmain.py51 n_samples = 200
78 samples = tf.random_normal(shape=[n_samples, x_dim])
111 samples = tf.random_normal(shape=[n_samples, x_dim])
/external/strace/
Dptp.c90 PRINT_FIELD_U("{", sysoff, n_samples); in ptp_ioctl()
93 unsigned int n_samples, i; in ptp_ioctl() local
107 n_samples = sysoff.n_samples > PTP_MAX_SAMPLES ? in ptp_ioctl()
108 PTP_MAX_SAMPLES : sysoff.n_samples; in ptp_ioctl()
109 for (i = 0; i < 2 * n_samples + 1; ++i) { in ptp_ioctl()
116 if (sysoff.n_samples > PTP_MAX_SAMPLES) in ptp_ioctl()
/external/linux-kselftest/tools/testing/selftests/ptp/
Dtestptp.c175 int n_samples = 0; in main() local
216 n_samples = atoi(optarg); in main()
479 if (n_samples <= 0 || n_samples > 25) { in main()
490 sysoff->n_samples = n_samples; in main()
498 for (i = 0; i < sysoff->n_samples; i++) { in main()
/external/kernel-headers/original/uapi/linux/
Dptp_clock.h77 unsigned int n_samples; /* Desired number of measurements. */ member
88 unsigned int n_samples; /* Desired number of measurements. */ member
/external/tensorflow/tensorflow/contrib/losses/python/metric_learning/
Dmetric_loss_ops_test.py519 def _genClusters(self, n_samples, n_clusters): argument
521 n_samples=n_samples, centers=n_clusters)
532 embeddings, labels = self._genClusters(n_samples=128, n_clusters=64)
549 embeddings, labels = self._genClusters(n_samples=128, n_clusters=64)
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleTexStorage3DMultisampleTests.cpp1257 for (glw::GLint n_samples = 1; n_samples <= max_supported_samples_value; n_samples++) in iterate() local
1265 GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES, n_samples, /* Iteration-specific sample value. */ in iterate()
Des31cTextureStorageMultisampleTexStorage2DMultisampleTests.cpp1286 for (int n_samples = 1; n_samples <= max_samples; ++n_samples) in iterate() local
1288 gl.texStorage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, n_samples, internalformat, 1, /* width */ in iterate()
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_v1.py426 n_samples = embeddings_data[0].shape[0]
429 while i < n_samples:
430 step = min(self.batch_size, n_samples - i)
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dquantized_distribution_test.py229 n_samples = 10000
230 stddev_err_bound = 1 / (2 * np.sqrt(n_samples))
231 samps = qdist.sample((n_samples,), seed=42).eval()
/external/strace/tests-m32/
Dioctl_ptp.c75 sysoff->n_samples); in test_no_device()
/external/strace/tests-mx32/
Dioctl_ptp.c75 sysoff->n_samples); in test_no_device()
/external/strace/tests/
Dioctl_ptp.c75 sysoff->n_samples); in test_no_device()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureViewTests.hpp522 unsigned int n_samples; member
546 n_samples = in_n_samples; in _reference_color_storage()
583 unsigned int n_samples);
Dgl4cTextureViewTests.cpp4786 DE_ASSERT(n_sample < m_reference_color_storage->n_samples); in getReferenceColor()
4793 m_reference_color_storage->n_samples) + in getReferenceColor()
4794 n_face * (m_reference_color_storage->n_mipmaps * m_reference_color_storage->n_samples) + in getReferenceColor()
4795 n_mipmap * (m_reference_color_storage->n_samples) + n_sample; in getReferenceColor()
5680 const unsigned int n_samples = in initParentTextureContents() local
5683 for (unsigned int n_sample = 0; n_sample < n_samples; ++n_sample) in initParentTextureContents()
5696 gl.uniform4fv(m_per_sample_filler_po_reference_colors_location, n_samples, reference_colors); in initParentTextureContents()
6392 unsigned int n_mipmaps, unsigned int n_samples) in resetReferenceColorStorage() argument
6398 DE_ASSERT(n_samples >= 1); in resetReferenceColorStorage()
6404 m_reference_color_storage = new _reference_color_storage(n_faces, n_layers, n_mipmaps, n_samples); in resetReferenceColorStorage()
[all …]
Dgl4cCopyImageTests.cpp108 …::GLuint prepareMultisampleTex(deqp::Context& context, glw::GLenum target, glw::GLsizei n_samples);
1277 GLuint Utils::prepareMultisampleTex(deqp::Context& context, GLenum target, GLsizei n_samples) in prepareMultisampleTex() argument
1296 …gl.texImage2DMultisample(target, n_samples, internal_format, width, height, GL_FALSE /* fixedsampl… in prepareMultisampleTex()
1305 gl.texImage3DMultisample(target, n_samples, internal_format, width, height, depth, in prepareMultisampleTex()
4839 static const GLsizei n_samples[2] = { 1, 4 }; in SamplesMismatchTest() local
4852 test_case.m_src_n_samples = n_samples[src_sample]; in SamplesMismatchTest()
4854 test_case.m_dst_n_samples = n_samples[dst_sample]; in SamplesMismatchTest()
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/
Dattention_wrapper_test.py630 n_samples = 100000
632 [sample(p_choose_i) for _ in range(n_samples)], axis=0)