Home
last modified time | relevance | path

Searched refs:kwargs (Results 1 – 25 of 1994) sorted by relevance

12345678910>>...80

/external/python/cpython2/Lib/bsddb/
Ddbobj.py39 def __init__(self, *args, **kwargs): argument
40 self._cobj = db.DBEnv(*args, **kwargs)
42 def close(self, *args, **kwargs): argument
43 return self._cobj.close(*args, **kwargs)
44 def open(self, *args, **kwargs): argument
45 return self._cobj.open(*args, **kwargs)
46 def remove(self, *args, **kwargs): argument
47 return self._cobj.remove(*args, **kwargs)
48 def set_shm_key(self, *args, **kwargs): argument
49 return self._cobj.set_shm_key(*args, **kwargs)
[all …]
/external/v8/tools/release/
Dgit_recipes.py82 def new_f(*args, **kwargs): argument
83 result = f(*args, **kwargs)
101 def GitIsWorkdirClean(self, **kwargs): argument
102 return self.Git("status -s -uno", **kwargs).strip() == ""
105 def GitBranch(self, **kwargs): argument
106 return self.Git("branch", **kwargs)
108 def GitCreateBranch(self, name, remote="", **kwargs): argument
111 self.Git(MakeArgs(["new-branch", name] + remote_args), **kwargs)
113 def GitDeleteBranch(self, name, **kwargs): argument
115 self.Git(MakeArgs(["branch -D", name]), **kwargs)
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dconvolutional_transpose_test.py33 def _run_test(self, kwargs): argument
42 kwargs=kwargs,
54 def test_conv2d_transpose(self, kwargs): argument
55 kwargs['filters'] = 2
56 kwargs['kernel_size'] = (3, 3)
57 if 'data_format' not in kwargs or test.is_gpu_available(cuda_only=True):
58 self._run_test(kwargs)
61 kwargs = {
71 layer = keras.layers.Conv2DTranspose(**kwargs)
81 kwargs = {
[all …]
Dseparable_convolutional_test.py33 def _run_test(self, kwargs): argument
41 kwargs=kwargs,
53 def test_separable_conv1d(self, kwargs): argument
54 kwargs['filters'] = 2
55 kwargs['kernel_size'] = 3
56 self._run_test(kwargs)
59 kwargs = {
70 layer = keras.layers.SeparableConv1D(**kwargs)
81 kwargs = {
91 layer = keras.layers.SeparableConv1D(**kwargs)
[all …]
Dpooling_test.py37 kwargs={'data_format': 'channels_first'},
42 kwargs={'data_format': 'channels_first'},
61 kwargs={'data_format': 'channels_first'},
65 kwargs={'data_format': 'channels_last'},
69 kwargs={'data_format': 'channels_first'},
73 kwargs={'data_format': 'channels_last'},
80 kwargs={'data_format': 'channels_first'},
84 kwargs={'data_format': 'channels_last'},
88 kwargs={'data_format': 'channels_first'},
92 kwargs={'data_format': 'channels_last'},
[all …]
Dconvolutional_test.py35 def _run_test(self, kwargs): argument
43 kwargs=kwargs,
55 def test_conv1d(self, kwargs): argument
56 kwargs['filters'] = 2
57 kwargs['kernel_size'] = 3
58 self._run_test(kwargs)
61 kwargs = {
71 layer = keras.layers.Conv1D(**kwargs)
81 kwargs = {
90 layer = keras.layers.Conv1D(**kwargs)
[all …]
/external/autotest/scheduler/
Drdb_requests.py42 def add_request(self, **kwargs): argument
44 self.request_queue.append(self.request(**kwargs).get_request())
116 def __init__(self, **kwargs): argument
117 for key,value in kwargs.iteritems():
125 self._request = self.template(**kwargs)
128 (self.__class__, self.template._fields, kwargs.keys()))
171 def __init__(self, **kwargs): argument
173 kwargs['payload'] = HashableDict(kwargs['payload'])
176 (self.__class__, self.template._fields, kwargs.keys()))
177 super(UpdateHostRequest, self).__init__(**kwargs)
[all …]
/external/google-fruit/extras/benchmark/
Drun_benchmarks.py322 def __init__(self, **kwargs): argument
324 **kwargs)
333 def __init__(self, **kwargs): argument
335 **kwargs)
344 def __init__(self, **kwargs): argument
346 **kwargs)
355 def __init__(self, **kwargs): argument
357 **kwargs)
367 def __init__(self, **kwargs): argument
369 **kwargs)
[all …]
/external/libchrome/third_party/jinja2/
Didtracking.py39 def analyze_node(self, node, **kwargs): argument
41 visitor.visit(node, **kwargs)
156 def _simple_visit(self, node, **kwargs): argument
164 def visit_AssignBlock(self, node, **kwargs): argument
168 def visit_CallBlock(self, node, **kwargs): argument
172 def visit_OverlayScope(self, node, **kwargs): argument
176 def visit_For(self, node, for_branch='body', **kwargs): argument
192 def visit_With(self, node, **kwargs): argument
198 def generic_visit(self, node, *args, **kwargs): argument
209 def visit_Name(self, node, store_as_param=False, **kwargs): argument
[all …]
/external/fonttools/Lib/fontTools/pens/
DpointPen.py33 def beginPath(self, identifier=None, **kwargs): argument
42 identifier=None, **kwargs): argument
47 **kwargs): argument
64 def beginPath(self, identifier=None, **kwargs): argument
104 pt, segmentType, smooth, name, kwargs = points[0]
105 segments = [("move", [(pt, smooth, name, kwargs)])]
112 pt, segmentType, smooth, name, kwargs = points[0]
113 segments.append(("move", [(pt, smooth, name, kwargs)]))
134 for pt, segmentType, smooth, name, kwargs in points:
135 currentSegment.append((pt, smooth, name, kwargs))
[all …]
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Darg_scope_test.py27 def func1(*args, **kwargs): argument
28 return (args, kwargs)
32 def func2(*args, **kwargs): argument
33 return (args, kwargs)
145 args, kwargs = func1(0)
147 self.assertDictEqual(kwargs, func1_kwargs)
154 args, kwargs = func1(0)
156 self.assertDictEqual(kwargs, func1_kwargs)
162 args, kwargs = func1(0, b=2)
164 self.assertDictEqual(kwargs, func1_kwargs)
[all …]
/external/tensorflow/tensorflow/python/keras/
Dkeras_parameterized.py146 def decorated(self, model_type, *args, **kwargs): argument
149 _test_functional_model_type(f, self, *args, **kwargs)
151 _test_subclass_model_type(f, self, *args, **kwargs)
153 _test_sequential_model_type(f, self, *args, **kwargs)
161 def _test_functional_model_type(f, test_or_class, *args, **kwargs): argument
163 f(test_or_class, *args, **kwargs)
166 def _test_subclass_model_type(f, test_or_class, *args, **kwargs): argument
168 f(test_or_class, *args, **kwargs)
171 def _test_sequential_model_type(f, test_or_class, *args, **kwargs): argument
173 f(test_or_class, *args, **kwargs)
[all …]
/external/tensorflow/tensorflow/python/keras/wrappers/
Dscikit_learn.py134 def fit(self, x, y, **kwargs): argument
164 fit_args.update(kwargs)
195 def fit(self, x, y, **kwargs): argument
223 return super(KerasClassifier, self).fit(x, y, **kwargs)
225 def predict(self, x, **kwargs): argument
240 kwargs = self.filter_sk_params(Sequential.predict_classes, kwargs)
241 classes = self.model.predict_classes(x, **kwargs)
244 def predict_proba(self, x, **kwargs): argument
263 kwargs = self.filter_sk_params(Sequential.predict_proba, kwargs)
264 probs = self.model.predict_proba(x, **kwargs)
[all …]
/external/llvm/utils/llvm-build/llvmbuild/
Dcomponentinfo.py26 kwargs = {}
27 kwargs['name'] = items.get_string('name')
28 kwargs['parent'] = items.get_optional_string('parent')
30 kwargs['dependencies'] = items.get_list('dependencies')
31 return kwargs
99 kwargs = ComponentInfo.parse_items(items, has_dependencies = False)
100 return GroupComponentInfo(subpath, **kwargs)
117 kwargs = ComponentInfo.parse_items(items)
118 kwargs['library_name'] = items.get_optional_string('library_name')
119 kwargs['required_libraries'] = items.get_list('required_libraries')
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/llvm-build/llvmbuild/
Dcomponentinfo.py26 kwargs = {}
27 kwargs['name'] = items.get_string('name')
28 kwargs['parent'] = items.get_optional_string('parent')
30 kwargs['dependencies'] = items.get_list('dependencies')
31 return kwargs
99 kwargs = ComponentInfo.parse_items(items, has_dependencies = False)
100 return GroupComponentInfo(subpath, **kwargs)
117 kwargs = ComponentInfo.parse_items(items)
118 kwargs['library_name'] = items.get_optional_string('library_name')
119 kwargs['required_libraries'] = items.get_list('required_libraries')
[all …]
/external/u-boot/tools/patman/
Dcommand.py44 raise_on_error=True, cwd=None, **kwargs): argument
70 kwargs['stdout'] = None
71 kwargs['stderr'] = None
75 kwargs['stdin'] = last_pipe.stdout
77 kwargs['stdin'] = open(infile, 'rb')
79 kwargs['stdout'] = cros_subprocess.PIPE
81 kwargs['stdout'] = open(outfile, 'wb')
83 kwargs['stderr'] = cros_subprocess.PIPE
86 last_pipe = cros_subprocess.Popen(cmd, cwd=cwd, **kwargs)
106 def Output(*cmd, **kwargs): argument
[all …]
/external/python/cpython2/Lib/logging/
D__init__.py1152 def debug(self, msg, *args, **kwargs): argument
1162 self._log(DEBUG, msg, args, **kwargs)
1164 def info(self, msg, *args, **kwargs): argument
1174 self._log(INFO, msg, args, **kwargs)
1176 def warning(self, msg, *args, **kwargs): argument
1186 self._log(WARNING, msg, args, **kwargs)
1190 def error(self, msg, *args, **kwargs): argument
1200 self._log(ERROR, msg, args, **kwargs)
1202 def exception(self, msg, *args, **kwargs): argument
1206 kwargs['exc_info'] = 1
[all …]
/external/tensorflow/tensorflow/python/ops/distributions/
Dbijector_impl.py48 def __new__(cls, x=None, y=None, ildj_map=None, kwargs=None): argument
62 return super(_Mapping, cls).__new__(cls, x, y, ildj_map, kwargs)
67 return (self.x,) + self._deep_tuple(tuple(sorted(self.kwargs.items())))
72 return (self.y,) + self._deep_tuple(tuple(sorted(self.kwargs.items())))
74 def merge(self, x=None, y=None, ildj_map=None, kwargs=None, mapping=None): argument
94 mapping = _Mapping(x=x, y=y, ildj_map=ildj_map, kwargs=kwargs)
95 elif any(arg is not None for arg in [x, y, ildj_map, kwargs]):
103 kwargs=self._merge(self.kwargs, mapping.kwargs))
736 def _call_forward(self, x, name, **kwargs): argument
741 return self._forward(x, **kwargs)
[all …]
/external/tensorflow/tensorflow/contrib/mpi_collectives/
D__init__.py194 def compute_gradients(self, *args, **kwargs): argument
203 .compute_gradients(*args, **kwargs))
206 def _apply_dense(self, *args, **kwargs): argument
208 return self._optimizer._apply_dense(*args, **kwargs)
210 def _apply_sparse(self, *args, **kwargs): argument
212 return self._optimizer._apply_sparse(*args, **kwargs)
214 def _apply_sparse_duplicate_indices(self, *args, **kwargs): argument
217 **kwargs)
219 def _prepare(self, *args, **kwargs): argument
221 return self._optimizer._prepare(*args, **kwargs)
[all …]
/external/python/cpython3/PC/layout/support/
Dlogging.py53 def __init__(self, fmt, *args, **kwargs): argument
56 self.kwargs = kwargs
59 return self.fmt.format(*self.args, **self.kwargs)
63 def log_debug(msg, *args, **kwargs): argument
64 return LOG.debug(BraceMessage(msg, *args, **kwargs))
68 def log_info(msg, *args, **kwargs): argument
69 return LOG.info(BraceMessage(msg, *args, **kwargs))
73 def log_warning(msg, *args, **kwargs): argument
74 return LOG.warning(BraceMessage(msg, *args, **kwargs))
78 def log_error(msg, *args, **kwargs): argument
[all …]
/external/brotli/python/tests/
Dbro_test.py57 def _check_decompression(self, test_data, **kwargs): argument
67 def _compress_file(self, test_data, **kwargs): argument
70 if 'quality' in kwargs:
71 args.extend(['-q', str(kwargs['quality'])])
72 if 'lgwin' in kwargs:
73 args.extend(['--lgwin', str(kwargs['lgwin'])])
77 def _compress_pipe(self, test_data, **kwargs): argument
80 if 'quality' in kwargs:
81 args.extend(['-q', str(kwargs['quality'])])
82 if 'lgwin' in kwargs:
[all …]
/external/tensorflow/tensorflow/python/keras/applications/
Ddensenet.py31 def DenseNet121(*args, **kwargs): argument
32 return densenet.DenseNet121(*args, **kwargs)
38 def DenseNet169(*args, **kwargs): argument
39 return densenet.DenseNet169(*args, **kwargs)
45 def DenseNet201(*args, **kwargs): argument
46 return densenet.DenseNet201(*args, **kwargs)
51 def decode_predictions(*args, **kwargs): argument
52 return densenet.decode_predictions(*args, **kwargs)
57 def preprocess_input(*args, **kwargs): argument
58 return densenet.preprocess_input(*args, **kwargs)
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/
Daffine_scalar_test.py43 def static_run(fun, x, **kwargs): argument
44 return fun(x, **kwargs).eval()
46 def dynamic_run(fun, x_value, **kwargs): argument
49 return sess.run(fun(x, **kwargs), feed_dict={x: x_value})
65 def static_run(fun, x, **kwargs): argument
66 return fun(x, **kwargs).eval()
68 def dynamic_run(fun, x_value, **kwargs): argument
71 return sess.run(fun(x, **kwargs), feed_dict={x: x_value})
88 def static_run(fun, x, **kwargs): argument
89 return fun(x, **kwargs).eval()
[all …]
Daffine_test.py45 def static_run(fun, x, **kwargs): argument
46 return fun(x, **kwargs).eval()
48 def dynamic_run(fun, x_value, **kwargs): argument
51 fun(placeholder, **kwargs), feed_dict={placeholder: x_value})
77 def static_run(fun, x, **kwargs): argument
78 return fun(x, **kwargs).eval()
80 def dynamic_run(fun, x_value, **kwargs): argument
83 fun(placeholder, **kwargs), feed_dict={placeholder: x_value})
143 def static_run(fun, x, **kwargs): argument
144 return fun(x, **kwargs).eval()
[all …]
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/
Dast.py34 def __init__(self, item_or_items=None, **kwargs): argument
35 super(NodeListBase, self).__init__(**kwargs)
87 def __init__(self, mojom_name, **kwargs): argument
89 NodeBase.__init__(self, **kwargs)
99 def __init__(self, key, value, **kwargs): argument
101 super(Attribute, self).__init__(**kwargs)
120 def __init__(self, mojom_name, attribute_list, typename, value, **kwargs): argument
127 super(Const, self).__init__(mojom_name, **kwargs)
142 def __init__(self, mojom_name, attribute_list, enum_value_list, **kwargs): argument
145 super(Enum, self).__init__(mojom_name, **kwargs)
[all …]

12345678910>>...80