HomeSort by relevance Sort by last modified time
    Searched refs:lambda (Results 251 - 275 of 2665) sorted by null

<<11121314151617181920>>

  /external/tensorflow/tensorflow/python/keras/utils/
losses_utils.py 101 squeeze_dims = lambda: confusion_matrix.remove_squeezable_dimensions( # pylint: disable=g-long-lambda
104 maybe_squeeze_dims = lambda: control_flow_ops.cond( # pylint: disable=g-long-lambda
105 is_last_dim_1, squeeze_dims, lambda: (y_true, y_pred))
129 maybe_squeeze_weights = lambda: array_ops.squeeze(sample_weight, [-1])
134 -1), lambda: array_ops.expand_dims(sample_weight, [-1]),
135 lambda: sample_weight)
145 math_ops.equal(weights_rank_tensor, 0), lambda: sample_weight,
  /external/python/apitools/samples/dns_sample/dns_v1/
dns_v1_client.py 65 Create.method_config = lambda: base_api.ApiMethodInfo(
91 Get.method_config = lambda: base_api.ApiMethodInfo(
117 List.method_config = lambda: base_api.ApiMethodInfo(
153 Create.method_config = lambda: base_api.ApiMethodInfo(
179 Delete.method_config = lambda: base_api.ApiMethodInfo(
205 Get.method_config = lambda: base_api.ApiMethodInfo(
231 List.method_config = lambda: base_api.ApiMethodInfo(
267 Get.method_config = lambda: base_api.ApiMethodInfo(
303 List.method_config = lambda: base_api.ApiMethodInfo(
  /external/scapy/scapy/layers/
netflow.py 312 count_from = lambda pkt: pkt.fieldCount) ]
320 FieldLenField("length", None, length_of="templates", adjust=lambda pkt,x:x+4),
322 length_from = lambda pkt: pkt.length-4) ]
334 FieldLenField("length", None, length_of="records", adjust = lambda pkt,x:x+4),
336 length_from = lambda pkt: pkt.length-4),
406 length_from = lambda pkt: pkt.option_scope_length),
408 length_from = lambda pkt: pkt.option_field_length),
414 FieldLenField("length", None, length_of="records", adjust = lambda pkt,x:x+4),
416 length_from = lambda pkt: pkt.length-4),
lltd.py 83 }, depends_on=lambda pkt: pkt.tos, fmt="B"),
87 lambda pkt: pkt.function in [0, 8]),
89 lambda pkt: pkt.function not in [0, 8]),
162 count_from=lambda pkt: pkt.stations_count)
186 count_from=lambda pkt: pkt.descs_count),
210 count_from=lambda pkt: pkt.descs_count),
252 StrLenField("value", "", length_from=lambda pkt: pkt.len)
293 StrLenField("value", "", length_from=lambda pkt: pkt.len),
364 adjust=lambda _, x: x + 2),
367 StrLenField("reserved2", "", length_from=lambda x: x.len - 2
    [all...]
  /external/tensorflow/tensorflow/python/data/kernel_tests/
window_test.py 120 ds = dataset_ops.Dataset.range(10).map(lambda x: x).repeat(count).window(
122 stride=stride).flat_map(lambda x: x.batch(batch_size=size))
133 drop_remainder=True).flat_map(lambda x: x.batch(batch_size=5))
155 drop_remainder=True).flat_map(lambda x: x.batch(batch_size=5))
181 drop_remainder=True).flat_map(lambda x: x.batch(batch_size=4)).window(
183 drop_remainder=True).flat_map(lambda x: x.batch(batch_size=3))
210 size=3, shift=1).flat_map(lambda x: x.batch(batch_size=3))
221 lambda x: array_ops.check_numerics(x, "message")).window(
223 drop_remainder=True).flat_map(lambda x: x.batch(batch_size=2))
map_test.py 148 results.sort(key=lambda x: x[0])
231 results.sort(key=lambda x: x[0])
263 .map(lambda x: array_ops.check_numerics(x, "message"),
274 .map(lambda x: array_ops.check_numerics(x, "message"),
291 .map(lambda x: array_ops.check_numerics(x, "message"))
346 dataset = input_sentences.map(lambda x: string_ops.string_split([x]).values
364 -1).map(lambda _: queue.dequeue())
388 -1).map(lambda _: (queue.dequeue(), queue_2.dequeue()))
401 10).map(lambda _: random_ops.random_uniform((), seed=11)).batch(2)
422 lambda _: random_ops.random_uniform((), seed=11)).repeat(1000).batch(10
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
test_decode.py 36 self.assertEqual(self.loads(s, object_pairs_hook=lambda x: x), p)
38 object_pairs_hook=lambda x: x), p)
44 object_hook=lambda x: None),
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_gdbm.py 32 self.assertRaises(KeyError, lambda: self.g['xxx'])
41 self.assertRaises(gdbm.error, lambda: self.g['a'])
43 self.assertRaises(gdbm.error, lambda: gdbm.open(filename, 'rx').close())
  /external/autotest/client/site_tests/policy_PluginsAllowedForUrls/
policy_PluginsAllowedForUrls.py 79 lambda: tab.EvaluateJavaScript('pageReady'),
107 utils.poll_for_condition(lambda: not kill_flash_process(),
120 lambda: utils.get_process_list('chrome', '--type=ppapi'))
  /external/autotest/server/site_tests/firmware_ECWriteProtect/
firmware_ECWriteProtect.py 62 'custom', lambda:self.set_ec_write_protect_and_reboot(True))
76 'custom', lambda:self.sync_and_ec_reboot('hard'))
85 'custom', lambda:self.set_ec_write_protect_and_reboot(False))
  /external/bcc/tools/lib/
uobjnew.py 182 data = sorted(data.items(), key=lambda kv: kv[1].num_allocs)
185 data = sorted(data.items(), key=lambda kv: kv[1].total_size)
188 data = sorted(data.items(), key=lambda kv: kv[1].total_size)
  /external/chromium-trace/catapult/tracing/tracing/trace_data/
trace_data_unittest.py 83 lambda: builder.AddTraceFor('not_a_trace_part', {}))
90 lambda: builder.AddTraceFor(trace_data.TELEMETRY_PART,
99 lambda: builder.AddTraceFor(trace_data.TELEMETRY_PART, {}))
  /external/python/cpython2/Demo/tix/samples/
Control.py 67 c['incrcmd'] = lambda w=c: adjust_maker(w, 1)
68 c['decrcmd'] = lambda w=c: adjust_maker(w, -1)
69 c['validatecmd'] = lambda w=c: validate_maker(w)
  /external/python/cpython2/Lib/ctypes/test/
test_pickling.py 55 self.assertRaises(ValueError, lambda: self.dumps(Y()))
65 prototype(lambda: 42),
67 self.assertRaises(ValueError, lambda: self.dumps(item))
  /external/python/cpython2/Lib/json/tests/
test_decode.py 36 self.assertEqual(self.loads(s, object_pairs_hook=lambda x: x), p)
38 object_pairs_hook=lambda x: x), p)
44 object_hook=lambda x: None),
  /external/python/cpython2/Lib/test/
test_gdbm.py 32 self.assertRaises(KeyError, lambda: self.g['xxx'])
41 self.assertRaises(gdbm.error, lambda: self.g['a'])
43 self.assertRaises(gdbm.error, lambda: gdbm.open(filename, 'rx').close())
  /external/python/cpython3/Lib/ctypes/test/
test_pickling.py 55 self.assertRaises(ValueError, lambda: self.dumps(Y()))
65 prototype(lambda: 42),
67 self.assertRaises(ValueError, lambda: self.dumps(item))
  /external/scapy/scapy/contrib/
igmpv3.py 120 FieldListField("srcaddrs", None, IPField("sa", "0.0.0.0"), count_from=lambda x: x.numsrc)]
140 FieldListField("srcaddrs", [], IPField("sa", "0.0.0.0"), count_from=lambda x: x.numsrc) ]
155 PacketListField("records", [], IGMPv3gr, count_from=lambda x: x.numgrp)]
  /external/tensorflow/tensorflow/contrib/predictor/
core_estimator_predictor_test.py 30 KEYS_AND_OPS = (('sum', lambda x, y: x + y),
31 ('product', lambda x, y: x * y,),
32 ('difference', lambda x, y: x - y))
  /external/tensorflow/tensorflow/examples/get_started/regression/
test.py 70 @test.mock.patch.dict(imports85.__dict__, {"_get_imports85": (lambda: None)})
76 @test.mock.patch.dict(imports85.__dict__, {"_get_imports85": (lambda: None)})
82 @test.mock.patch.dict(imports85.__dict__, {"_get_imports85": (lambda: None)})
  /external/tensorflow/tensorflow/python/ops/ragged/
ragged_tensor_value.py 52 lambda self: self._row_splits,
55 lambda self: self._values,
58 lambda self: self._values.dtype,
  /external/python/cpython3/Lib/unittest/test/
test_discovery.py 59 os.listdir = lambda path: path_lists.pop(0)
73 loader._get_module_from_name = lambda path: path + ' module'
80 loader.suiteClass = lambda thing: thing
110 os.listdir = lambda path: path_lists.pop(0)
113 os.path.isdir = lambda path: False
116 os.path.isfile = lambda path: False
119 loader._get_module_from_name = lambda path: path + ' module'
126 loader.suiteClass = lambda thing: thing
149 os.listdir = lambda path: path_lists.pop(0)
152 os.path.isdir = lambda path: Tru
    [all...]
  /external/tensorflow/tensorflow/python/util/
nest_test.py 403 structure1_plus1 = nest.map_structure(lambda x: x + 1, structure1)
409 lambda x, y: x + y, structure1, structure2)
414 self.assertEqual(3, nest.map_structure(lambda x: x - 1, 4))
416 self.assertEqual(7, nest.map_structure(lambda x, y: x + y, 3, 4))
419 self.assertEqual((), nest.map_structure(lambda x: x + 1, ()))
420 self.assertEqual([], nest.map_structure(lambda x: x + 1, []))
421 self.assertEqual({}, nest.map_structure(lambda x: x + 1, {}))
422 self.assertEqual(NestTest.EmptyNT(), nest.map_structure(lambda x: x + 1,
426 self.assertNotEqual((), nest.map_structure(lambda x: x + 1, []))
432 nest.map_structure(lambda x: x
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
Tnaf.java 75 * Computes the norm of an element <code>&lambda;</code> of
78 * @param lambda The element <code>&lambda;</code> of
80 * @return The norm of <code>&lambda;</code>.
82 public static BigInteger norm(final byte mu, ZTauElement lambda)
87 BigInteger s1 = lambda.u.multiply(lambda.u);
90 BigInteger s2 = lambda.u.multiply(lambda.v);
93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1)
    [all...]
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
Tnaf.java 76 * Computes the norm of an element <code>&lambda;</code> of
79 * @param lambda The element <code>&lambda;</code> of
81 * @return The norm of <code>&lambda;</code>.
83 public static BigInteger norm(final byte mu, ZTauElement lambda)
88 BigInteger s1 = lambda.u.multiply(lambda.u);
91 BigInteger s2 = lambda.u.multiply(lambda.v);
94 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1)
    [all...]

Completed in 2561 milliseconds

<<11121314151617181920>>