HomeSort by relevance Sort by last modified time
    Searched refs:sess (Results 1 - 25 of 653) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/wpa_supplicant_8/src/eap_common/
eap_eke_common.c 326 int eap_eke_derive_key(struct eap_eke_session *sess,
337 os_memset(zeros, 0, sess->prf_len);
338 if (eap_eke_prf(sess->prf, zeros, sess->prf_len,
342 temp, sess->prf_len);
352 if (eap_eke_prfplus(sess->prf, temp, sess->prf_len,
365 int eap_eke_dhcomp(struct eap_eke_session *sess, const u8 *key, const u8 *dhpub,
372 dh_len = eap_eke_dh_len(sess->dhgroup);
382 if (sess->encr != EAP_EKE_ENCR_AES128_CBC
    [all...]
  /external/tensorflow/tensorflow/contrib/data/python/kernel_tests/
sql_dataset_op_test.py 99 with self.test_session() as sess:
101 sess.run(
108 self.assertEqual((b"John", b"Doe", b"Hi!"), sess.run(get_next))
109 self.assertEqual((b"Jane", b"Moe", b"Hi again!"), sess.run(get_next))
111 sess.run(get_next)
117 with self.test_session() as sess:
118 sess.run(
127 self.assertEqual((b"John", b"California", b"Hi!"), sess.run(get_next))
129 sess.run(get_next)
136 with self.test_session() as sess
    [all...]
range_dataset_op_test.py 54 with self.test_session() as sess:
55 sess.run(init_op)
56 self.assertEqual((20, (b"a", 1, 37.0)), sess.run(get_next))
57 self.assertEqual((21, (b"b", 2, 38.0)), sess.run(get_next))
60 sess.run(get_next)
74 with self.test_session() as sess:
75 self.assertEqual(3, sess.run(get_next))
76 self.assertEqual(3 + 4, sess.run(get_next))
77 self.assertEqual(3 + 2 * 4, sess.run(get_next))
79 self.assertEqual(0, sess.run(negative_get_next)
    [all...]
stats_dataset_ops_test.py 62 with self.test_session() as sess:
63 sess.run([iterator.initializer, stats_aggregator_subscriber])
67 np.array([i] * i, dtype=np.int64), sess.run(next_element))
68 summary_str = sess.run(summary_t)
73 sess.run(next_element)
74 summary_str = sess.run(summary_t)
87 with self.test_session() as sess:
88 sess.run([iterator.initializer, stats_aggregator_subscriber])
90 self.assertEqual(i, sess.run(next_element))
92 sess.run(summary_t), "record_latency", float(i + 1)
    [all...]
  /external/tensorflow/tensorflow/examples/speech_commands/
freeze_test.py 28 with self.test_session() as sess:
31 self.assertIsNotNone(sess.graph.get_tensor_by_name('wav_data:0'))
33 sess.graph.get_tensor_by_name('decoded_sample_data:0'))
34 self.assertIsNotNone(sess.graph.get_tensor_by_name('labels_softmax:0'))
models_test.py 35 with self.test_session() as sess:
41 self.assertIsNotNone(sess.graph.get_tensor_by_name(logits.name))
42 self.assertIsNotNone(sess.graph.get_tensor_by_name(dropout_prob.name))
46 with self.test_session() as sess:
51 self.assertIsNotNone(sess.graph.get_tensor_by_name(logits.name))
55 with self.test_session() as sess:
61 self.assertIsNotNone(sess.graph.get_tensor_by_name(logits.name))
62 self.assertIsNotNone(sess.graph.get_tensor_by_name(dropout_prob.name))
66 with self.test_session() as sess:
72 self.assertIsNotNone(sess.graph.get_tensor_by_name(logits.name)
    [all...]
  /external/tensorflow/tensorflow/python/data/kernel_tests/
cache_dataset_op_test.py 71 with self.test_session() as sess:
73 sess.run(init_fifo_op)
76 elements.append(sess.run(get_next))
78 sess.run(get_next)
82 sess.run(
86 cached_elements.append(sess.run(get_next))
88 sess.run(get_next)
93 sess.run(
101 replayed_elements.append(sess.run(get_next))
103 sess.run(get_next
    [all...]
sequence_dataset_op_test.py 47 with self.test_session() as sess:
49 sess.run(init_op, feed_dict={count_placeholder: 3})
51 results = sess.run(get_next)
56 sess.run(get_next)
59 sess.run(init_op, feed_dict={count_placeholder: 7})
61 results = sess.run(get_next)
65 sess.run(get_next)
68 sess.run(init_op, feed_dict={count_placeholder: 0})
70 sess.run(get_next)
75 sess.run(init_op, feed_dict={count_placeholder: -1}
    [all...]
shuffle_dataset_op_test.py 63 with self.test_session() as sess:
65 sess.run(init_fifo_op)
68 unshuffled_elements.append(sess.run(get_next))
70 sess.run(get_next)
74 sess.run(
80 shuffled_elements.append(sess.run(get_next))
82 sess.run(get_next)
87 sess.run(
93 reshuffled_elements_same_seed.append(sess.run(get_next))
95 sess.run(get_next
    [all...]
range_dataset_op_test.py 52 with self.test_session() as sess:
53 sess.run(init_op, feed_dict={stop: 5})
55 self.assertEqual(i, sess.run(get_next))
57 sess.run(get_next)
67 with self.test_session() as sess:
68 sess.run(init_op, feed_dict={start: 2, stop: 5})
70 self.assertEqual(i, sess.run(get_next))
72 sess.run(get_next)
83 with self.test_session() as sess:
84 sess.run(init_op, feed_dict={start: 2, stop: 10, step: 2}
    [all...]
map_dataset_op_test.py 71 with self.test_session() as sess:
73 sess.run(init_op, feed_dict={count: 14})
76 result = sess.run(get_next)
80 sess.run(get_next)
83 sess.run(init_op, feed_dict={count: 18})
88 results.append(sess.run(get_next))
137 with self.test_session() as sess:
140 sess.run(init_op, feed_dict={
146 result = sess.run(get_next)
150 sess.run(get_next
    [all...]
interleave_dataset_op_test.py 116 with self.test_session() as sess:
118 sess.run(init_op, feed_dict={input_values: [4, 5, 6],
123 self.assertEqual(expected_element, sess.run(next_element))
128 sess.run(init_op, feed_dict={input_values: [4, 5, 6],
132 self.assertEqual(expected_element, sess.run(next_element))
134 sess.run(next_element)
139 sess.run(init_op, feed_dict={input_values: [4, 5, 6],
143 self.assertEqual(expected_element, sess.run(next_element))
145 sess.run(next_element)
150 sess.run(init_op, feed_dict={input_values: [4, 5, 6]
    [all...]
shard_dataset_op_test.py 31 with self.test_session() as sess:
32 self.assertEqual(2, sess.run(iterator.get_next()))
33 self.assertEqual(7, sess.run(iterator.get_next()))
35 sess.run(iterator.get_next())
43 with self.test_session() as sess:
44 self.assertEqual((2, 8), sess.run(iterator.get_next()))
45 self.assertEqual((7, 3), sess.run(iterator.get_next()))
47 sess.run(iterator.get_next())
53 with self.test_session() as sess:
54 self.assertEqual(0, sess.run(iterator.get_next())
    [all...]
  /external/tensorflow/tensorflow/python/saved_model/
saved_model_test.py 64 def _init_and_validate_variable(self, sess, variable_name, variable_value):
66 sess.run(variables.global_variables_initializer())
98 with self.test_session(graph=ops.Graph()) as sess:
99 self._init_and_validate_variable(sess, "v", 42)
107 sess, ["foo"],
111 with self.test_session(graph=ops.Graph()) as sess:
112 self._init_and_validate_variable(sess, "v", 42)
119 sess, ["foo"],
133 with self.test_session(graph=ops.Graph()) as sess:
137 loader.load(sess, ["foo"], export_dir
    [all...]
  /external/tensorflow/tensorflow/python/data/util/
convert_test.py 31 with self.test_session() as sess:
32 self.assertEqual(3, sess.run(resp))
36 with self.test_session() as sess:
37 self.assertEqual(0, sess.run(resp))
42 with self.test_session() as sess:
43 self.assertEqual(compat.as_bytes("default"), sess.run(resp))
48 with self.test_session() as sess:
49 self.assertEqual(compat.as_bytes("value"), sess.run(resp))
  /external/tensorflow/tensorflow/python/training/
server_lib_multiple_containers_test.py 42 sess = session.Session(server.target)
43 sess.run(variables.global_variables_initializer())
44 self.assertAllEqual(1.0, sess.run(v0))
45 self.assertAllEqual(2.0, sess.run(v1))
50 sess.run(v1)
55 sess = session.Session(server.target)
57 sess.run(v0)
58 self.assertAllEqual(2.0, sess.run(v1))
session_manager.py 67 sess = sm.prepare_session(master, init_op, saver, checkpoint_dir)
70 sess.run(<my_train_op>)
83 sess = sm.wait_for_session(master)
86 sess.run(<my_train_op>)
172 A pair (sess, is_restored) where 'is_restored' is `True` if
180 sess = session.Session(self._target, graph=self._graph, config=config)
188 return sess, False
191 saver.restore(sess, checkpoint_filename_with_path)
192 return sess, True
204 return sess, Fals
    [all...]
quantize_training_test.py 39 with session.Session() as sess:
45 self.assertEquals(len(sess.graph_def.node), 3)
48 sess.graph_def, 8)
59 with session.Session(graph=g) as sess:
69 sess.graph_def, 8)
71 with ops.Graph().as_default() as g, session.Session(graph=g) as sess:
75 sess.run(g.get_operation_by_name(init_op.name))
79 sess.run(g.get_tensor_by_name(c.name))
81 saver.save(sess, save_path)
83 with ops.Graph().as_default() as g, session.Session(graph=g) as sess
    [all...]
  /external/tensorflow/tensorflow/contrib/layers/python/layers/
target_column_test.py 34 with ops.Graph().as_default(), session.Session() as sess:
38 5. / 3, sess.run(target_column.loss(prediction, labels, {})))
43 with ops.Graph().as_default(), session.Session() as sess:
49 sess.run(target_column.loss(prediction, labels, features)),
53 sess.run(target_column.training_loss(prediction, labels, features)),
61 with ops.Graph().as_default(), session.Session() as sess:
68 sess.run(target_column.loss(logits, labels, {})),
74 with ops.Graph().as_default(), session.Session() as sess:
82 sess.run(target_column.loss(logits, labels, features)),
87 with ops.Graph().as_default(), session.Session() as sess
    [all...]
  /external/wpa_supplicant_8/src/radius/
radius_server.c 369 void srv_log(struct radius_session *sess, const char *fmt, ...)
372 void srv_log(struct radius_session *sess, const char *fmt, ...)
389 RADIUS_DEBUG("[0x%x %s] %s", sess->sess_id, sess->nas_ip, buf);
392 if (sess->server->db) {
399 sess->sess_id, sess->nas_ip,
400 sess->username, buf);
402 if (sqlite3_exec(sess->server->db, sql, NULL, NULL,
405 sqlite3_errmsg(sess->server->db))
458 struct radius_session *sess = client->sessions; local
517 struct radius_session *sess = timeout_ctx; local
526 struct radius_session *sess = timeout_ctx; local
537 struct radius_session *sess; local
634 struct radius_session *sess; local
1007 struct radius_session *sess; local
2042 struct radius_session *sess = ctx; local
2065 struct radius_session *sess = ctx; local
2074 struct radius_session *sess = ctx; local
2083 struct radius_session *sess = ctx; local
2093 struct radius_session *sess = ctx; local
2109 struct radius_session *sess = ctx; local
2144 struct radius_session *s, *sess = NULL; local
    [all...]
  /external/tensorflow/tensorflow/python/debug/lib/
debug_gradients_test.py 47 self.sess = session.Session(config=config)
48 with self.sess.as_default():
67 self.sess.run(variables.global_variables_initializer())
68 self.assertAllClose(5.0, self.sess.run(y))
69 self.assertAllClose(3.0, self.sess.run(u_grad))
70 self.assertAllClose(2.0, self.sess.run(v_grad))
75 self.assertAllClose(1.0, self.sess.run(w_grad))
80 self.assertAllClose(1.0, self.sess.run(w_grad))
85 self.assertAllClose(1.0, self.sess.run(w_grad))
98 self.sess.run(variables.global_variables_initializer()
    [all...]
  /external/tensorflow/tensorflow/contrib/kafka/python/kernel_tests/
kafka_test.py 57 with self.test_session() as sess:
59 sess.run(init_op, feed_dict={topics: ["test:0:0:4"], num_epochs: 1})
61 self.assertEqual("D" + str(i), sess.run(get_next))
63 sess.run(get_next)
66 sess.run(init_op, feed_dict={topics: ["test:0:5:-1"], num_epochs: 1})
68 self.assertEqual("D" + str(i + 5), sess.run(get_next))
70 sess.run(get_next)
73 sess.run(
81 self.assertEqual("D" + str(i + j * 5), sess.run(get_next))
83 sess.run(get_next
    [all...]
  /external/tensorflow/tensorflow/contrib/saved_model/python/saved_model/
reader_test.py 38 def _init_and_validate_variable(self, sess, variable_name, variable_value):
40 sess.run(variables.global_variables_initializer())
46 with self.test_session(graph=ops.Graph()) as sess:
47 self._init_and_validate_variable(sess, "v", 42)
48 builder.add_meta_graph_and_variables(sess, [tag_constants.TRAINING])
71 with self.test_session(graph=ops.Graph()) as sess:
72 self._init_and_validate_variable(sess, "v", 42)
73 builder.add_meta_graph_and_variables(sess, [tag_constants.TRAINING])
78 with self.test_session(graph=ops.Graph()) as sess:
79 self._init_and_validate_variable(sess, "v", 43
    [all...]
  /external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/
absolute_value_test.py 37 with self.test_session() as sess:
47 self.assertAllClose((-y_, y_), sess.run(bijector.inverse(y)))
49 sess.run(bijector.inverse_log_det_jacobian(y)))
54 self.assertAllClose((-y_, y_), sess.run(bijector.inverse(y)))
56 sess.run(bijector.inverse_log_det_jacobian(y)))
64 with self.test_session() as sess:
68 sess.run(abs_bijector.inverse_log_det_jacobian([1.]),
72 with self.test_session() as sess:
75 sess.run(bijector.inverse(-1.))
78 with self.test_session() as sess
    [all...]
  /external/tensorflow/tensorflow/contrib/quantize/python/
quant_ops_test.py 36 with session.Session(graph=g) as sess:
46 sess.run(variables.global_variables_initializer())
47 sess.run(y, feed_dict={x: [-1.0, 1.0]})
49 min_value, max_value = self._GetMinMaxValues(sess)
55 with session.Session(graph=g) as sess:
65 sess.run(variables.global_variables_initializer())
67 sess.run(y, feed_dict={x: [-1.0, 1.0]})
68 sess.run(y, feed_dict={x: [0.0, 0.0]})
70 min_value, max_value = self._GetMinMaxValues(sess)
76 def _GetMinMaxValues(self, sess)
    [all...]

Completed in 424 milliseconds

1 2 3 4 5 6 7 8 91011>>