Home
last modified time | relevance | path

Searched refs:get_default (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/python/framework/experimental/
Dmath_ops.py26 ctx = context.get_default()
31 ctx = context.get_default()
36 ctx = context.get_default()
41 ctx = context.get_default()
46 ctx = context.get_default()
51 ctx = context.get_default()
56 ctx = context.get_default()
Dnn_ops.py26 ctx = context.get_default()
31 ctx = context.get_default()
Dtape.py32 ctx = context_stack.get_default()
42 ctx = context_stack.get_default()
Dcontext_stack.py28 def get_default(): function
Ddef_function.py43 outer_ctx = context_lib.get_default()
/external/python/apitools/apitools/base/protorpclite/
Dprotojson.py101 protojson_protocol or ProtoJson.get_default())
355 def get_default(): member in ProtoJson
379 encode_message = ProtoJson.get_default().encode_message
381 decode_message = ProtoJson.get_default().decode_message
Dprotojson_test.py480 self.assertTrue(protojson.ProtoJson.get_default(),
481 protojson.ProtoJson.get_default())
485 self.assertTrue(instance is protojson.ProtoJson.get_default())
/external/rust/crates/log/src/kv/
Dsource.rs41 get_default(self, key) in get()
66 pub(crate) fn get_default<'v>(source: &'v (impl Source + ?Sized), key: Key) -> Option<Value<'v>> { in get_default() function
712 get_default(self, key) in count()
/external/autotest/frontend/afe/
Dfrontend_test_utils.py120 and models.DroneSet.get_default())
Dmodels.py320 def get_default(cls): member in DroneSet
347 return drone_set_name or user_drone_set_name or cls.get_default().name
Dmodel_logic.py639 getattr(self, f.attname, f.get_default()))
/external/python/cpython2/Lib/test/
Dtest_argparse.py2780 self.assertEqual(None, parser.get_default("foo"))
2781 self.assertEqual(None, parser.get_default("bar"))
2784 self.assertEqual(None, parser.get_default("foo"))
2785 self.assertEqual(None, parser.get_default("bar"))
2788 self.assertEqual(None, parser.get_default("foo"))
2789 self.assertEqual(42, parser.get_default("bar"))
2792 self.assertEqual("badger", parser.get_default("foo"))
2793 self.assertEqual(42, parser.get_default("bar"))
/external/python/cpython3/Lib/test/
Dtest_argparse.py3080 self.assertIsNone(parser.get_default("foo"))
3081 self.assertIsNone(parser.get_default("bar"))
3084 self.assertIsNone(parser.get_default("foo"))
3085 self.assertIsNone(parser.get_default("bar"))
3088 self.assertIsNone(parser.get_default("foo"))
3089 self.assertEqual(42, parser.get_default("bar"))
3092 self.assertEqual("badger", parser.get_default("foo"))
3093 self.assertEqual(42, parser.get_default("bar"))
/external/selinux/sandbox/
Dsandbox464 dpi = str(Gtk.Settings.get_default().props.gtk_xft_dpi / 1024)
/external/tensorflow/tensorflow/python/framework/
Dops.py5389 def get_default(self): member in _DefaultStack
5491 return _default_session_stack.get_default()
5576 def get_default(self): member in _DefaultGraphStack
6041 return _default_graph_stack.get_default()
/external/llvm-project/llvm/utils/UpdateTestChecks/
Dcommon.py587 if parser.get_default(action.dest) == value:
/external/python/cpython2/Lib/
Dargparse.py1257 def get_default(self, dest): member in _ActionsContainer
/external/llvm-project/polly/utils/
Dargparse.py1261 def get_default(self, dest): member in _ActionsContainer
/external/python/cpython3/Lib/
Dargparse.py1375 def get_default(self, dest): member in _ActionsContainer
/external/python/cpython3/Doc/library/
Dargparse.rst1950 .. method:: ArgumentParser.get_default(dest)
1958 >>> parser.get_default('foo')
/external/python/cpython2/Doc/library/
Dargparse.rst1816 .. method:: ArgumentParser.get_default(dest)
1824 >>> parser.get_default('foo')
/external/libcups/scheduler/
Dipp.c79 static void get_default(cupsd_client_t *con);
511 get_default(con); in cupsdProcessIPPRequest()
6065 get_default(cupsd_client_t *con) /* I - Client connection */ in get_default() function
/external/tensorflow/tensorflow/python/client/
Dsession_test.py1306 self.assertIsNone(ops._default_session_stack.get_default())