/external/tensorflow/tensorflow/python/training/tracking/ |
util.py | 257 def _default_getter(name, shape, dtype, initializer=None, 263 if initializer is None: 264 initializer, initializing_from_value = ( 268 initializing_from_value = not callable(initializer) 273 raise ValueError("If initializer is a constant, do not specify shape.") 274 initial_value = initializer 276 # Instantiate initializer if provided initializer is a type object. 277 if isinstance(initializer, type(init_ops.Initializer)) [all...] |
/bionic/tools/versioner/src/ |
Arch.h | 49 ArchMap(std::initializer_list<std::pair<Arch, T>> initializer) { 50 for (auto& pair : initializer) {
|
/external/jemalloc_new/include/jemalloc/internal/ |
tsd_win.h | 93 tsd_t initializer = TSD_INITIALIZER; local 94 wrapper->val = initializer;
|
/external/libchrome/base/memory/ |
ref_counted_memory.cc | 37 RefCountedBytes::RefCountedBytes(const std::vector<unsigned char>& initializer) 38 : data_(initializer) {
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
warm_starting_util_test.py | 62 var = variable_scope.get_variable(var_name, initializer=original_value) 83 var_name, initializer=[[0., 0.], [0., 0.]])
|
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/ |
head_test.py | 43 gen_var = variable_scope.get_variable('dummy_var', initializer=0.0) 45 dis_var = variable_scope.get_variable('dummy_var', initializer=0.0)
|
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/ |
core_layers.py | 75 kernel_initializer: An initializer for the convolution kernel. 76 bias_initializer: An initializer for the bias vector. If None, the default 77 initializer will be used. 136 initializer=init_ops.ones_initializer(), 143 initializer=self.kernel_initializer, 151 initializer=init_ops.zeros_initializer(), 169 initializer=self.bias_initializer, 282 kernel_initializer: An initializer for the convolution kernel. 283 bias_initializer: An initializer for the bias vector. If None, the default 284 initializer will be used [all...] |
/external/tensorflow/tensorflow/contrib/opt/python/training/ |
elastic_average_optimizer_test.py | 85 var_0 = variable_scope.get_variable(initializer=0.0, name="v0") 86 var_1 = variable_scope.get_variable(initializer=1.0, name="v1") 101 initializer=init_ops.ones_initializer) 205 v0 = variable_scope.get_variable(initializer=0.0, name="v0") 206 v1 = variable_scope.get_variable(initializer=1.0, name="v1") 269 initializer=init_ops.ones_initializer) 287 v = variable_scope.get_variable(initializer=[1, 2], name="v") 288 w = variable_scope.get_variable(initializer=[2, 1], name="w")
|
/external/tensorflow/tensorflow/python/keras/engine/ |
base_layer_utils.py | 66 initializer=None, 92 initializer: Initializer instance (callable). 121 if initializer is not None and not callable(initializer): 126 init_val = initializer 129 # Instantiate initializer if provided initializer is a type object. 131 initializer, 132 (type(init_ops.Initializer), type(init_ops_v2.Initializer))) [all...] |
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
optimizer_v2.py | 527 def add_slot(self, var, slot_name, initializer="zeros"): 535 if isinstance(initializer, six.string_types) or callable(initializer): 536 initializer = initializers.get(initializer) 538 initializer, shape=var.shape, dtype=var.dtype) 540 initial_value = initializer 576 initializer=value, 708 initializer="zeros", 715 if isinstance(initializer, six.string_types) or callable(initializer) [all...] |
/external/tensorflow/tensorflow/python/layers/ |
base.py | 303 initializer=None, 318 initializer: initializer instance (callable). 367 initializer=initializer, 429 if initializer is None: 430 initializer = scope.initializer 435 initializer=initializer, [all...] |
/external/v8/src/parsing/ |
expression-scope-reparenter.cc | 19 Reparenter(uintptr_t stack_limit, Expression* initializer, Scope* scope) 20 : AstTraversalVisitor(stack_limit, initializer), scope_(scope) {}
|
/external/tensorflow/tensorflow/contrib/rnn/python/ops/ |
rnn_cell.py | 92 vs.get_variable("gamma", shape=shape, initializer=gamma_init) 93 vs.get_variable("beta", shape=shape, initializer=beta_init) 138 initializer=None, 155 initializer: (optional) The initializer to use for the weight and 188 self._initializer = initializer 267 initializer=init_ops.zeros_initializer(), 341 initializer=None, 354 initializer: (optional) The initializer to use for the weight an [all...] |
gru_ops.py | 188 initializer=init_ops.constant_initializer(1.0)) 193 initializer=init_ops.constant_initializer(0.0)) 233 initializer=init_ops.constant_initializer(1.0)) 238 initializer=init_ops.constant_initializer(0.0))
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
copy_to_device_test.py | 269 self.evaluate(iterator.initializer) 290 self.evaluate(iterator.initializer) 325 self.evaluate(iterator.initializer) 349 self.evaluate(iterator.initializer) 369 self.evaluate(iterator.initializer) 389 self.evaluate(iterator.initializer) 409 self.evaluate(iterator.initializer) 432 self.evaluate(iterator.initializer) 458 self.evaluate(iterator.initializer) 461 self.evaluate(iterator.initializer) [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
BitmapTests.java | 109 ViewInitializer initializer = new ViewInitializer() { local 148 .addLayout(R.layout.frame_layout, initializer, true) 175 ViewInitializer initializer = new ViewInitializer() { local 220 .addLayout(R.layout.frame_layout, initializer, true)
|
EdgeEffectTests.java | 101 private void assertEdgeEffect(EdgeEffectInitializer initializer) { 109 initializer.initialize(edgeEffect); 206 private void verifyAlpha(EdgeEffectInitializer initializer, AlphaVerifier alphaVerifier) { 212 initializer.initialize(edgeEffect);
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt-viewer/ |
optpmap.py | 47 pool = multiprocessing.Pool(initializer=_init,
|
/external/tensorflow/tensorflow/contrib/lookup/ |
lookup_ops.py | 94 table initializer op, it will throw a `FailedPreconditionError`. 205 table initializer op, it will throw a `FailedPreconditionError`. 302 def __init__(self, initializer, default_value, shared_name=None, name=None): 306 initializer. 311 initializer: The table initializer to use. See `HashTable` kernel for 321 self._initializer = initializer 326 super(HashTable, self).__init__(default_value, initializer) 343 return self.initializer
|
/external/tensorflow/tensorflow/python/client/ |
session_benchmark.py | 86 sess.run(v.initializer) 114 sess.run(v.initializer) 141 sess.run(v.initializer) 167 sess.run(v.initializer)
|
/external/tensorflow/tensorflow/python/debug/lib/ |
dist_session_debug_grpc_test.py | 134 sess.run(self.a.initializer) 135 sess.run(self.b.initializer) 201 sess.run(self.a.initializer) 202 sess.run(self.b.initializer)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
template_test.py | 43 initializer=init_ops.zeros_initializer()) 49 "dummy", shape=[1], initializer=init_ops.zeros_initializer()) 56 "dummy", shape=[1], initializer=init_ops.zeros_initializer()) 63 "dummy", shape=[1], initializer=init_ops.zeros_initializer()) 68 "local", shape=[1], initializer=init_ops.zeros_initializer()) 70 "dummy", shape=[1], initializer=init_ops.zeros_initializer()) 89 "w", shape=[], initializer=init_ops.truncated_normal_initializer()) 91 "b", shape=[], initializer=init_ops.truncated_normal_initializer()) 130 "w", shape=[], initializer=init_ops.truncated_normal_initializer()) 132 "b", shape=[], initializer=init_ops.truncated_normal_initializer() [all...] |
/external/tensorflow/tensorflow/python/saved_model/ |
load_v1_in_v2.py | 142 initializer = _Initializer(init_fn, asset_paths) 143 initializer._initialize() # pylint: disable=protected-access 144 root.initializer = initializer
|
/external/tensorflow/tensorflow/python/training/ |
saver_large_variable_test.py | 53 var.initializer.run()
|
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/ |
slide_dataset_op_test.py | 75 init_op = iterator.initializer 139 init_op = iterator.initializer 184 init_op = iterator.initializer 212 init_op = iterator.initializer 241 init_op = iterator.initializer 274 init_op = iterator.initializer 316 sess.run(iterator.initializer)
|